Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #46018

RE: authentication with python-ldap

From "Joseph L. Casale" <jcasale@activenetwerx.com>
Subject RE: authentication with python-ldap
Date 2013-05-25 18:25 +0000
References <36e9845b-4b22-406d-b38c-056341454fd2@ucimail4.uci.cu>
Newsgroups comp.lang.python
Message-ID <mailman.2149.1369506325.3114.python-list@python.org> (permalink)

Show all headers | View raw


> I have been doing the same thing and I tried to use java for testing the credentials and they are correct. It works perfectly with java.
> I really don´t know what we´re doing wrong.
>
>
> You are accessing a protected operation of the LDAP server
> and it (the server) rejects it due to invalid credentials.
> You may have forgotten to pass on credentials (e.g. a password)
> or the credentials do not fit to the specified user
> (maybe the user does not exist at all).

Depending on the directory (which we don't know) and the code as well, the way you auth
might be the problem. Possibly Java met the directory requirements with the methods you
used whereas they did not with Python given your code.

For example, certain operations in AD require specific transports to be used...

jlc

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: authentication with python-ldap "Joseph L. Casale" <jcasale@activenetwerx.com> - 2013-05-25 18:25 +0000

csiph-web