-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP Documentation Enhancement #518
Comments
@marvnrawley Thank you for this. I couldn't figure out why my LDAP auth was failing, and changing the AUTH_LDAP_USER_DN_TEMPLATE setting to None fixed the problem (after trying a myriad of other things). |
I want to add my thanks to these additional notes to help with LDAP setup! I also wanted to mention that for some reason, it seems that if you are a member of the "is_active" and "is_superuser" groups but not the "is_staff" group, the Django Admin link at top right is not visible. This was not extensively tested, but Chrome only seemed to show the Admin link if you were a member of "is_staff". Furthermore, if you were in "is_active" and "is_staff" but not in "is_superuser", you were able to see the link, but not actually perform any actions. It would make sense to me to hide the Admin link, unless the user is a member of the "is_superuser" group. (if I need to make this into a separate issue, let me know - or mod feel free to move) |
Is anyone interested in submitting a PR for this? |
PR made - if you don't like the usage of info blocks for the buffing please feel free to alter @jeremystretch Thanks for the contribution @marvnrawley =) |
Merged #1080 |
Incorporating @marvnrawley's enhancements from netbox-community#518
Referring to http://netbox.readthedocs.io/en/latest/installation/ldap/ the following section needs a little more explanation for people who come in cold and have no basis for what the group mappings mean.
Some more notes, specific to Windows Server Active Directory.
The following option should be set to None when using Windows Server 2012.
When using Windows Server 2012 you may also need to specify a different port on the AUTH_LDAP_SERVER_URI - 3269 for secure, 3268 for non-secure
For this section, it would be good perhaps to link to the appropriate Django article to find a list of attributes. Sure, that's a bit let-me-google-that-for-you but it makes for a better read.
The text was updated successfully, but these errors were encountered: