Could not login by LDAP user on netbox

363 views
Skip to first unread message

Tường Phạm Xuân

unread,
Apr 17, 2019, 5:26:17 AM4/17/19
to NetBox
Hi all,

I've just integrated Netbox with LDAP but I could not log in to Netbox by LDAP user.
The attachment file is my LDAP config file.
My Netbox IP is 192.168.100.100 and my LDAP IP is 192.168.100.99.
Could you please help verify my configuration?

Thanks.
ldap_config.py

Wes Hegge

unread,
Apr 17, 2019, 10:34:42 AM4/17/19
to Tường Phạm Xuân, NetBox
Here is my ldap_config.py script.  We use FreeIPA for our LDAP system, so the AUTH_LDAP_BASE, AUTH_LDAP_USER_BASE and AUTH_LDAP_GROUP_BASE will be different.  Also I don't use and authorized user for accessing LDAP.  I use the users name to authorize access.  I created a LDAP group called netbox-user.  Any user who wants access to Netbox must be part of this group.  Then I add the user to other LDAP group to control what rights they have in Netbox

Thanks,

Wes


--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/889e3dcd-a1c7-4307-be22-8b326ca1ae28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Wes Hegge

- If the phone rings.  Its not me.
-- Jimmy  Buffet
ldap_config.py
Reply all
Reply to author
Forward
0 new messages