Code

Add ou attribute to incoming.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 May 2009 12:58:59 +0000 (12:58 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 26 May 2009 12:58:59 +0000 (12:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13669 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/ClientPackages.pm

index 2882323941abff34e6aeb53267fdefab5ad30270..9f4dea70b6b8ea226eeae66e506c02947747cc57 100644 (file)
@@ -168,6 +168,7 @@ $main::server_address = $server_address;
             my $incomingou = Net::LDAP::Entry->new();
             $incomingou->dn('ou=incoming,'.$ldap_base);
             $incomingou->add('objectClass' => 'organizationalUnit');
+            $incomingou->add('ou' => 'incoming');
             my $result = $incomingou->update($ldap_handle);
             if($result->code != 0) {
                 &main::daemon_log("0 ERROR: Problem adding ou=incoming: '".$result->error()."'!", 1);