You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The attribute for user must be changed from "DisplayName" to "cn"
ldap_group['members'].append({
'username': username,
'name': user_data['cn'][0].decode(),
'identities': str(member).lower(),
'email': user_data['mail'][0].decode()
That’s why I believe it would be beneficial to define these in the config.json.
I’m implementing this and will share "my" version of the script later.
Cheers,
Nicolas
The text was updated successfully, but these errors were encountered:
Hi again / (Re)Bonjour @MrBE4R,
As mentioned in issue #12, I’m using JumpCloud LDAP and need to modify the Python code statically to make it work.
I believe some "objectClass" values and "attribute names" should be set dynamically in the config.json file.
For examples, with JumpCloud:
filterstr = '(&(objectClass=**groupOfNames**)(cn=%s*))
attrlist=['**cn**', 'member']
[...]
ldap_group['members'].append({
'username': username,
'name': user_data['cn'][0].decode(),
'identities': str(member).lower(),
'email': user_data['mail'][0].decode()
That’s why I believe it would be beneficial to define these in the config.json.
I’m implementing this and will share "my" version of the script later.
Cheers,
Nicolas
The text was updated successfully, but these errors were encountered: