From dcbbdcf2ab8493a96a26a84631d682387d069763 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 15 Apr 2008 11:49:13 +0000 Subject: [PATCH] fix for non-numeric session id. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10461 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2