Code

bugfix: function escape_dn_value from Net::LDAP::Utils was not invoked correctly
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Aug 2008 14:25:32 +0000 (14:25 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Aug 2008 14:25:32 +0000 (14:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12105 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/ClientPackages.pm

index 9c2ac1e579b484f8d5eb029e7d2e23e8ec41a9e1..e940d041b294bdbf2bfc30aa4f9b176bb5f478f7 100644 (file)
@@ -645,7 +645,7 @@ sub new_ldap_config {
 
        # Do we need to look at an object class?
        if (not @servers){
-            my $escaped_dn = &escape_dn_value($dn);
+            my $escaped_dn = &Net::LDAP::Utils::escape_dn_value($dn);
                $mesg = $ldap_handle->search( base   => $ldap_base,
                        scope  => 'sub',
                        attrs => ['dn', 'gotoLdapServer', 'FAIclass'],