Martin Winkler wrote:
$ ldapsearch -x -LLL "(ou=People)" -b "dc=mydomain,dc=com"

l = ldap.initialize("ldap://127.0.0.1";)
l.simple_bind_s("","")
l.search_s('o=mydomain, c=com', ldap.SCOPE_SUBTREE, '(ou=People)')


because "o=mydomain,c=com" != "dc=mydomain,dc=com" ?

--
David Leonard                           [EMAIL PROTECTED]
                                       Ph:+61 404 844 850

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Python-LDAP-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to