From: janw Date: Tue, 26 May 2009 12:58:59 +0000 (+0000) Subject: Add ou attribute to incoming. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5475d280a7f224d86427b746fb5a74ff604122ca;p=gosa.git Add ou attribute to incoming. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13669 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/modules/ClientPackages.pm b/gosa-si/modules/ClientPackages.pm index 288232394..9f4dea70b 100644 --- a/gosa-si/modules/ClientPackages.pm +++ b/gosa-si/modules/ClientPackages.pm @@ -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);