Opened 5 years ago

Closed 4 years ago

#1485203 closed Feature Patches (fixed)

fetch user identity(name,email) from LDAP (Patch Attached)

Reported by: hayalci Owned by:
Priority: 5 Milestone: 0.3-stable
Component: Core functionality Version: git-master
Severity: normal Keywords:
Cc:

Description

The following patch adds a configuration option 'user_identity_from_ldap'. If that option is true and at least one ldap server is configured, it gets email and real name from LDAP, then sets it for the newly auto created user.

Attachments (1)

populate_newuser_identity_from_ldap.patch (2.4 KB) - added by hayalci 5 years ago.
fill name, email from LDAP directory when auto creating user

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by hayalci

fill name, email from LDAP directory when auto creating user

comment:1 Changed 5 years ago by philjones2000

I can't get this to add the real name- only the email address seems to work?

I have a working active directory ldap setup for address book and it picks up the email field fine and adds it as an alias in the users table and as email in the identities table but fails to add the correct name to the name field in the identities table.

comment:2 Changed 5 years ago by hobstah

Works for me on OpenLDAP. It's very very usefull, so thank you.

comment:3 Changed 4 years ago by duelli

This has been realized in the "new_user_identity" plugin which works fine for me with current svn trunk.

Hint: Have a look at the configuration options noted in the plugin's main file!

comment:4 Changed 4 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.