[Twisted-Python] ldaptor and bind
tv at eagain.net
Mon Jan 7 17:23:16 EST 2008
On Mon, Jan 07, 2008 at 11:05:10PM +0100, Ottavio Campana wrote:
> 1) does it support bind? I think so, even though I'm not able to make it
> work by now.
The unit test in ldaptor.test.test_server.LDAPServerTest.test_bind_success
says it does.
> 2) it doesn't support access control, but for what I've seen class
> LDAPServer has a handle_LDAPSearchRequest method. I think I have to modify
> its behavior, especially when it calls root.lookup(dn). Do think that
> subclassing LDAPServer might be a good way of doing it?
Yup, but don't think that's the only thing you'd need to change.
Really, if you don't know LDAP already you probably will not be
able to make it secure.
More information about the Twisted-Python