From d82797d05342f820c438b91ed8a8946ce9412276 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 Oct 2007 11:31:30 +0000 Subject: [PATCH] Fixed login git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7687 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc b/include/functions.inc index 1bbd8436b..9732f341e 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -358,7 +358,7 @@ function ldap_login_user ($username, $password) /* got user dn, fill acl's */ $ui= new userinfo($config, $ldap->getDN()); - $ui->username= $attrs['uid']; + $ui->username= $attrs['uid'][0]; /* password check, bind as user with supplied password */ $ldap->disconnect(); -- 2.30.2