Wengex / PyADLdap

Python frameWork to managing Microsoft Active Directory Objects from LDAP
GNU General Public License v2.0
3 stars 1 forks source link

Is there a way to extend/limit the search base? #2

Open gus4520 opened 6 years ago

gus4520 commented 6 years ago

When I do an ad.users.get, I get the error below. I have changed the domain just so I don't show my companies corporate domain.

ldap.NO_SUCH_OBJECT: {'info': u"0000208D: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0, best match of:\n\t'DC=example,DC=domain,DC=com'\n", 'matched': u'DC=example,DC=domain,DC=com', 'desc': u'No such object'}

Thanks!