Hello and happy new year!
User is defined in LDAP and new to NAVdb.
error.log:[...] [INFO] [pid=36224 nav.web.ldapauth] USER-drift is verified to be a member of cn=nav,cn=filegroups,cn=system, (removed)
error.log:put_filter: "(member=uid=USER,cn=users,cn=system, (removed) )"
Seems like the -drift is removed from the USER (it does appear with other users) ?
There is no 'successfully logged in' in the log as with other users (with -drift).
USER is not created in Account list.
NAV version is 4.8.1
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py",
line 111, in get_response response = wrapped_callback(request,
*callback_args, **callback_kwargs)
File
"/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py",
line 76, in sensitive_post_parameters_wrapper return view(request,
*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/nav/web/webfront/views.py", line
181, in login return do_login(request)
File
"/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py",
line 36, in sensitive_variables_wrapper return func(*func_args,
**func_kwargs)
File "/usr/lib/python2.7/dist-packages/nav/web/webfront/views.py", line
216, in do_login account = auth.authenticate(username, password)
File "/usr/lib/python2.7/dist-packages/nav/web/auth.py", line 47, in
authenticate name=user.get_real_name(),
File "/usr/lib/python2.7/dist-packages/nav/web/ldapauth.py", line 272,
in get_real_name '(objectClass=*)', [name_attr])
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 552, in
search_s return
self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 545, in
search_ext_s msgid =
self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 541, in
search_ext timeout,sizelimit,
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 99, in
_ldap_call result = func(*args,**kwargs)
TypeError: ('expected string in list', u'cn')
Any ideas?