Since several releases of ldap_provisioning 6.x-1.x-dev, the LDIF template you can write in "Basic LDAP attributes" section of the admin page has changed its syntax. You could specify uids, first names, etc... using the following variables : %uid, %first_name, etc... but the special token has changed from "@" to "!".

The help text below the text area has not been changed, unfortunately and you can still read the following (wrong) statement :

"Customize the rest LDAP attributes in LDIF style. Available variables are: %uid, %base_dn, %mail, %first_name, %last_name, %pass.

Comments

miglius’s picture

Assigned: Unassigned » miglius
Status: Active » Fixed

Thanks for spotting it. Committed the fixed help text.

miglius’s picture

Ldap provisioning constructs DN using ldapauth settings (Bas DNs and UserName attribute)

Nr. 18’s picture

I used a base DN entries to place the new registered people and another one to read out other locations than the ou=people.

Dynamic support would be great to have, for instance if you want to separate your personal accounts with the business accounts in the LDAP tree automatically.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 42125dc on master, 6.x-2.x, 6.x-1.x by miglius:
    ldap_provisioning: fixed Basic LDAP Attributes help text, #442762 by...

  • Commit 42125dc on master, 6.x-2.x, 6.x-1.x by miglius:
    ldap_provisioning: fixed Basic LDAP Attributes help text, #442762 by...