summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b3e335f)
raw | patch | inline | side by side (parent: b3e335f)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Jun 2008 13:20:48 +0000 (13:20 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 30 Jun 2008 13:20:48 +0000 (13:20 +0000) |
* has to be tested at customer system
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11480 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11480 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/ClientPackages.pm | patch | blob | history |
index 77cc61880eb61881eb0c32824115e969e20ddbfd..1a0c71e4527be4461b9a651a641d031aa2cf2a8a 100644 (file)
filter => "(&(objectClass=gosaGroupOfNames)(member=$dn))");
#$mesg->code && die $mesg->error;
if($mesg->code) {
- &main::daemon_log("$session_id ".$mesg->error, 1);
+ &main::daemon_log("$session_id ERROR: unable to search for '(&(objectClass=gosaGroupOfNames)(member=$dn))': ".$mesg->error, 1);
return;
}
# Sanity check
if ($mesg->count != 1) {
- &main::daemon_log("$session_id WARNING: no LDAP information found for client mac $macaddress", 1);
+ &main::daemon_log("$session_id WARNING: no or more via an object class inherited LDAP information found for client mac $macaddress", 1);
return;
}
@servers= sort (@servers);
+ # complain if no ldap information found
+ if (@servers == 0) {
+ &main::daemon_log("$session_id ERROR: no gotoLdapServer information for LDAP entry with filter '(&(objectClass=gosaGroupOfNames)(member=$dn))'");
+ }
+
foreach $server (@servers){
# Conversation for backward compatibility
if (not $server =~ /^\d+:[^:]+:ldap[^:]*:\/\// ) {