Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45854
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <avazquezr@grm.uci.cu> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.141 |
| X-Spam-Level | * |
| X-Spam-Evidence | '*H*': 0.72; '*S*': 0.00; 'subject:skip:a 10': 0.09; 'received:cu': 0.16; 'subject:python': 0.16; 'import': 0.22; 'header:User-Agent:1': 0.23; 'skip:l 30': 0.24; 'skip:" 20': 0.27; 'header:In-Reply-To:1': 0.27; '"",': 0.31; 'received:(horde framework)': 0.31; 'file': 0.32; '(most': 0.33; 'header:Received:9': 0.33; 'subject:with': 0.35; 'skip:s 30': 0.35; 'skip:" 50': 0.36; 'received:10': 0.37; 'to:addr:python- list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:unknown': 0.61; 'from:no real name:2**0': 0.61; 'content-disposition:inline': 0.62; 'received:200': 0.72; 'mistake': 0.91 |
| X-Virus-Scanned | by amavisd-new-2.6.4 (20090625) (Debian) at grm.uci.cu |
| Date | Thu, 23 May 2013 16:36:21 -0700 |
| From | avazquezr@grm.uci.cu |
| To | python-list@python.org |
| Subject | authentication with python-ldap |
| References | <mailman.11673.1369347759.3113.python-list@python.org> |
| In-Reply-To | <mailman.11673.1369347759.3113.python-list@python.org> |
| User-Agent | Internet Messaging Program (IMP) H4 (5.0.21) |
| Content-Type | text/plain; charset=utf-8; format=flowed; DelSp=Yes |
| MIME-Version | 1.0 |
| Content-Disposition | inline |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2045.1369352205.3114.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1369352205 news.xs4all.nl 15907 [2001:888:2000:d::a6]:42303 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45854 |
Show key headers only | View raw
import ldap
conn = ldap.initialize("ldap://ldap.uci.cu")
conn.protocol_version = ldap.VERSION3
conn.simple_bind_s( "uid=xxx,dc=uci,dc=cu", "xxx" )
Result:
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line
207, in simple_bind_s
return self.result(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line
422, in result
res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line
426, in result2
res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line
432, in result3
ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line
96, in _ldap_call
result = func(*args,**kwargs)
INVALID_CREDENTIALS: {'desc': 'Invalid credentials'}
what is my mistake ????
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
authentication with python-ldap avazquezr@grm.uci.cu - 2013-05-23 16:36 -0700
csiph-web