From: janw Date: Tue, 15 Apr 2008 11:49:13 +0000 (+0000) Subject: fix for non-numeric session id. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dcbbdcf2ab8493a96a26a84631d682387d069763;p=gosa.git fix for non-numeric session id. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10461 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 08c14652e..965b1aa94 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1426,6 +1426,7 @@ sub get_ldap_handle { my $ldap_handle; if (not defined $session_id ) { $session_id = 0 }; + if ($session_id =~ /[^0-9]*/) { $session_id = 0 }; if ($session_id == 0) { daemon_log("$session_id DEBUG: get_ldap_handle invoked without a session_id, create a new ldap_handle", 7);