Issue 10336

Title
Create user with LDAP is not working
Priority
bug
Status
closed
Nosy list
ced, mrichez, tbruyere
Assigned to
Keywords

Created on 2021-04-23.14:47:29 by mrichez, last changed 2 weeks ago by mrichez.

Messages

Author: [hidden] (mrichez)
Date: 2021-07-05.11:34:24

I did some tests on tryton 5.8 and tryton 6.1, user creation is working with ldap. I think it's linked to one of our customisation. Sorry for the noise.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2021-07-02.23:15:48

Is there an error on the server side?

Author: [hidden] (mrichez)
Date: 2021-04-23.14:47:29

When trying to authenticate with a new user with ldap (create_user = True in trytond.conf) got this error:
Traceback (most recent call last):
File "/home/mrichez/Workspace/tryton/5.9/tryton-env/tryton/tryton/gui/main.py", line 249, in do_activate
common.Login()
File "/home/mrichez/Workspace/tryton/5.9/tryton-env/tryton/tryton/common/common.py", line 953, in __init__
func(parameters)
File "/home/mrichez/Workspace/tryton/5.9/tryton-env/tryton/tryton/rpc.py", line 87, in login
result = connection.common.db.login(username, parameters, language)
File "/usr/lib/python3.9/xmlrpc/client.py", line 1116, in __call__
return self.__send(self.__name, args)
File "/home/mrichez/Workspace/tryton/5.9/tryton-env/tryton/tryton/jsonrpc.py", line 295, in __request
raise Fault(*response['error'])
tryton.jsonrpc.Fault: 'NoneType' object is not iterable

Fault: 'NoneType' object is not iterable

If user is created manually, then login with ldap is working.

History
Date User Action Args
2021-07-05 11:34:24mrichezsetmessages: + msg68709
status: need-eg -> closed
2021-07-02 23:15:48cedsetmessages: + msg68525
nosy: + ced
status: unread -> need-eg
2021-04-23 14:47:29mrichezcreate

Showing 10 items. Show all history (warning: this could be VERY long)