Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'correct.': 0.07; 'password)': 0.09; 'subject:skip:a 10': 0.09; 'python': 0.11; 'all).': 0.16; 'java.': 0.16; 'received:172.18.0': 0.16; 'subject:python': 0.16; 'code.': 0.18; 'fit': 0.20; '(the': 0.22; 'to:name:python-list@python.org': 0.22; 'java': 0.24; 'possibly': 0.26; 'pass': 0.26; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'tried': 0.27; 'testing': 0.29; 'specified': 0.30; '(which': 0.31; 'code': 0.31; '(maybe': 0.31; 'credentials': 0.31; '(e.g.': 0.33; 'subject:with': 0.35; 'problem.': 0.35; 'operations': 0.35; 'really': 0.36; 'accessing': 0.36; 'doing': 0.36; 'example,': 0.37; 'requirements': 0.37; 'server': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'due': 0.66; 'invalid': 0.68; 'forgotten': 0.91; 'whereas': 0.91 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=YS95TUGYX+MRkNY/meip+CxRTyy2F4x7QGJ4HWfgHsg= c=1 sm=1 a=CRTDazI5n6YA:10 a=k68E4Dg2cD4A:10 a=7PYXob_7ZXMA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:10 a=xqWC_Br6kY4A:10 a=oNw28mxuUhXRB3mVwYQ4Ag==:17 a=34s2kiDLPAGYbI8Ssw4A:9 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 From: "Joseph L. Casale" To: "python-list@python.org" Subject: RE: authentication with python-ldap Thread-Topic: authentication with python-ldap Thread-Index: AQHOWXIhvNeReVLBDk+oTdO7V6kDEZkWNrYu Date: Sat, 25 May 2013 18:25:18 +0000 References: <87vc67ppia.fsf@handshake.de>, <36e9845b-4b22-406d-b38c-056341454fd2@ucimail4.uci.cu> In-Reply-To: <36e9845b-4b22-406d-b38c-056341454fd2@ucimail4.uci.cu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.18.0.200] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369506325 news.xs4all.nl 15897 [2001:888:2000:d::a6]:44858 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46018 > 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.=0A= > I really don=B4t know what we=B4re doing wrong.=0A= >=0A= >=0A= > You are accessing a protected operation of the LDAP server=0A= > and it (the server) rejects it due to invalid credentials.=0A= > You may have forgotten to pass on credentials (e.g. a password)=0A= > or the credentials do not fit to the specified user=0A= > (maybe the user does not exist at all).=0A= =0A= Depending on the directory (which we don't know) and the code as well, the = way you auth=0A= might be the problem. Possibly Java met the directory requirements with the= methods you=0A= used whereas they did not with Python given your code.=0A= =0A= For example, certain operations in AD require specific transports to be use= d...=0A= =0A= jlc=