pyshop icon indicating copy to clipboard operation
pyshop copied to clipboard

LDAP Documentation/Implementation Suggestions

Open Kyrluckechuck opened this issue 7 years ago • 0 comments

Hey there, so a couple suggestions for fixing your LDAP documentation and development of Pyshop based on our companies woes with the documentation/implementation:

# name of the atrribute where login is # ex : uid pyshop.ldap.login_attr = uid ##This didn't work pyshop.ldap.login_attr = uid={0} ##This worked

  • Should mention that uid might need to be set equal to {0} (not positive if that's an issue specific to us)

pyshop.ldap.login_attr = pyshop.ldap.email_attr =

  • These should be mandatory, I agree

pyshop.ldap.first_name_attr = pyshop.ldap.last_name_attr =

  • These should be either optional, or allow you to set a full_name_attr if the LDAP server's implementation does not store first and last names apart.
    • You can't assume that you can get a fullname and there won't be any spaces in the first or last name, so we are going to have to edit our local source so we're able to use it for now (probably just have the fullname value in the first name and a space in the last name)

Will update this more as we progress through getting the rest of the LDAP plugin to work!.

Kyrluckechuck avatar May 31 '17 13:05 Kyrluckechuck