summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 323ea50)
raw | patch | inline | side by side (parent: 323ea50)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 May 2009 08:17:07 +0000 (08:17 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 15 May 2009 08:17:07 +0000 (08:17 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13651 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/ClientPackages.pm | patch | blob | history |
index 4a83e1664c7320020b0ad91eb0333f52ac52f8be..2882323941abff34e6aeb53267fdefab5ad30270 100644 (file)
$incomingou->dn('ou=incoming,'.$ldap_base);
$incomingou->add('objectClass' => 'organizationalUnit');
my $result = $incomingou->update($ldap_handle);
- if($result != 0) {
- &main::daemon_log("0 ERROR: Problem adding ou=incoming: '".$result->errorMessage."'!", 1);
+ if($result->code != 0) {
+ &main::daemon_log("0 ERROR: Problem adding ou=incoming: '".$result->error()."'!", 1);
}
}
}