Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

LDAP Documentation/Implementation Suggestions #78

Open
Kyrluckechuck opened this issue May 31, 2017 · 0 comments
Open

LDAP Documentation/Implementation Suggestions #78

Kyrluckechuck opened this issue May 31, 2017 · 0 comments

Comments

@Kyrluckechuck
Copy link

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!.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant