Fixed a bug with internal auth (no groups returned on authentication, resulting in access denied)

This commit is contained in:
Adolfo Gómez 2012-09-29 04:50:40 +00:00
parent 996b429f85
commit 377d00f190
2 changed files with 2 additions and 1 deletions

View File

@ -11,10 +11,12 @@ encoding//src/server/urls.py=utf-8
encoding//src/uds/__init__.py=utf-8
encoding//src/uds/auths/ActiveDirectory/Authenticator.py=utf-8
encoding//src/uds/auths/ActiveDirectory/__init__.py=utf-8
encoding//src/uds/auths/ActiveDirectory_enterprise/Authenticator.py=utf-8
encoding//src/uds/auths/Dummy/Authenticator.py=utf-8
encoding//src/uds/auths/Dummy/__init__.py=utf-8
encoding//src/uds/auths/EDirectory/Authenticator.py=utf-8
encoding//src/uds/auths/EDirectory/__init__.py=utf-8
encoding//src/uds/auths/EDirectory_enterprise/Authenticator.py=utf-8
encoding//src/uds/auths/IP/Authenticator.py=utf-8
encoding//src/uds/auths/IP/__init__.py=utf-8
encoding//src/uds/auths/InternalDB/Authenticator.py=utf-8

View File

@ -291,7 +291,6 @@ class RegexLdap(Authenticator):
if user is None:
raise AuthenticatorException(_('Username not found'))
groups = self.__getGroups(user)
res = []
for g in groups:
gg = groupsManager.validate(g)