From ee462afcaca95b26c7cf7f5d6c6fdda854632076 Mon Sep 17 00:00:00 2001 From: janw Date: Wed, 24 Jun 2009 16:05:08 +0000 Subject: [PATCH] Only try to set gotoLastSystem for users that have a gosaAccount. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13790 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/clMessages.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/server/events/clMessages.pm b/gosa-si/server/events/clMessages.pm index d4b0d2a4c..6c1e05460 100644 --- a/gosa-si/server/events/clMessages.pm +++ b/gosa-si/server/events/clMessages.pm @@ -329,7 +329,7 @@ sub set_last_system { my $ldap_mesg= $ldap_handle->search( base => $main::ldap_base, scope => 'sub', - filter => "uid=$user", + filter => "(&(objectClass=gosaAccount)(uid=$user))", ); # Sanity check of user search if ($ldap_mesg->count == 0) { -- 2.30.2