From: hickert Date: Tue, 30 Oct 2007 11:31:30 +0000 (+0000) Subject: Fixed login X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d82797d05342f820c438b91ed8a8946ce9412276;p=gosa.git Fixed login git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7687 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();