summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0744e77)
raw | patch | inline | side by side (parent: 0744e77)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Sep 2008 07:31:24 +0000 (07:31 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Sep 2008 07:31:24 +0000 (07:31 +0000) |
-Fixed ou mapping for groups and users
Updated plugin.inc
-Fixed copy method for referals.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12520 594d385d-05f5-0310-b6e9-bd551577e9d8
Updated plugin.inc
-Fixed copy method for referals.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12520 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_plugin.inc | patch | blob | history | |
gosa-core/include/functions.inc | patch | blob | history |
index e208621def4c9345889b3dedc2b7a09d76bfb2e9..c5a43af17bfcb1706ef3ec2414fef9b74ac78443 100644 (file)
ldap_set_rebind_proc($ds, array(&$this, "rebind"));
}
- $r=ldap_bind($ds,$this->config->current['ADMIN'], $this->config->current['PASSWORD']);
+ $r=ldap_bind($ds,$this->config->current['ADMINDN'], $this->config->current['ADMINPASSWORD']);
$sr=ldap_read($ds, @LDAP::fix($src_dn), "objectClass=*");
/* Fill data from LDAP */
index 9c2bbe8407db45560f3ba6ce416cf74cbb4d2717..75a066601228c9e04c607c66e87ccab6d2fa5440 100644 (file)
function get_people_ou()
{
- return (get_ou("USERRDN"));
+ return (get_ou("userRDN"));
}
function get_groups_ou()
{
- return (get_ou("GROUPRDN"));
+ return (get_ou("groupRDN"));
}
function get_winstations_ou()
{
- return (get_ou("SAMBAMACHINEACCOUNTRDN"));
+ return (get_ou("sambaMachineAccountRDN"));
}