Re: LDAPSearch Troubleshooting

2017-10-10 Thread James Schneider
On Oct 10, 2017 12:38 PM, "Ken Jenney" wrote: Good catch! I just fixed it and re-tried and it works now. I had to get past the group search but ultimately my mispellings caught me up. Thanks for all the help James! Nice. Glad to have helped. Interestingly enough, your original post has the cor

Re: LDAPSearch Troubleshooting

2017-10-10 Thread Ken Jenney
Good catch! I just fixed it and re-tried and it works now. I had to get past the group search but ultimately my mispellings caught me up. Thanks for all the help James! On Tuesday, October 10, 2017 at 3:10:39 PM UTC-4, James Schneider wrote: > > > > On Oct 10, 2017 11:55 AM, "Ken Jenney" > > wr

Re: LDAPSearch Troubleshooting

2017-10-10 Thread James Schneider
On Oct 10, 2017 11:55 AM, "Ken Jenney" wrote: I fixed the DN for the service account: AUTH_LDAP_BIND_DN = "UID=netbox,CN=users,DC=kenset,DC=priv" I've tried at least a 100 different things so far and nothing is getting me there. from django_auth_ldap.config import LDAPSearch, PosixGroupType AU

Re: LDAPSearch Troubleshooting

2017-10-10 Thread Ken Jenney
I fixed the DN for the service account: AUTH_LDAP_BIND_DN = "UID=netbox,CN=users,DC=kenset,DC=priv" I've tried at least a 100 different things so far and nothing is getting me there. from django_auth_ldap.config import LDAPSearch, PosixGroupType AUTH_LDAP_GROUP_SEARCH = LDAPSearch("dc=kensnet,d

Re: LDAPSearch Troubleshooting

2017-10-09 Thread James Schneider
On Oct 8, 2017 9:44 PM, "Ken Jenney" wrote: 1) I'm using a service account. I verified the DN's by connecting using Apache Directory Studio. I'm assuming this means that you only verified that your intended DN strings are valid and that the passwords for both the service account and your user a

Re: LDAPSearch Troubleshooting

2017-10-08 Thread Ken Jenney
1) I'm using a service account. I verified the DN's by connecting using Apache Directory Studio. 2) I just promoted the service account user but I'm still facing the same error. 3) Logging is not helping: it's only reiterating what the original error is telling me: Caught LDAPError while authen

Re: LDAPSearch Troubleshooting

2017-10-08 Thread James Schneider
On Oct 8, 2017 7:33 PM, "Ken Jenney" wrote: I've got LDAPSearch configured to work with my Synology Directory Server. Users can authenticate fine but when I try to map a user to a group I get INVALID_CREDENTIALS: Are you binding to LDAP using the users' credentials, or do you have a service acc

LDAPSearch Troubleshooting

2017-10-08 Thread Ken Jenney
I've got LDAPSearch configured to work with my Synology Directory Server. Users can authenticate fine but when I try to map a user to a group I get INVALID_CREDENTIALS: import ldap # Server URI AUTH_LDAP_SERVER_URI = "ldaps://synology.kensnet.priv" # Set the DN and password for the NetBox se