While running my LDAP server in debug mode, I can see the
ldap.initialize & then search_s, but nothing when it hits bind_s.
Again, if I take these lines out & run them, they work just fine.  Has
anyone else had any similar issues w/ authenticating via LDAP?
Thanks!

On Jul 21, 2:55 pm, Michelle <mbrads...@ix.netcom.com> wrote:
> I'm getting this error & can't seem to figure out why.  This works:
>
> import ldap, sys
>
> try:
>   server = 'ldap://ldap.example.com'
>   l = ldap.initialize(server)
>   l.start_tls_s()
>   l.bind_s('uid=michelle,ou=People,dc=example,dc=com', 'abc123')
>   sys.stdout.write(l.whoami_s())
> except ldap.LDAPError, e:
>     print("LDAP error: %s" % e)
>
> Has anyone else gotten this error?  Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to