Code

Removed error message
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Apr 2008 08:13:49 +0000 (08:13 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 24 Apr 2008 08:13:49 +0000 (08:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10664 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 612e01436e23a97e714b42aeff87bc46e63dad8d..18c9dbc1eea70d31e82b54a0cbe173c8903dadb6 100755 (executable)
@@ -2034,7 +2034,11 @@ sub create_sources_list {
                        }
                }
        } else {
-               &main::daemon_log("$session_id ERROR: something wrong with ldap_server_dn '$main::ldap_server_dn', abort create_sources_list", 1); 
+               if (defined $main::ldap_server_dn){
+                       &main::daemon_log("$session_id ERROR: something wrong with ldap_server_dn '$main::ldap_server_dn', abort create_sources_list", 1); 
+               } else {
+                       &main::daemon_log("$session_id ERROR: no ldap_server_dn found, abort create_sources_list", 1);
+               }
        }
        close($fh);