[python-ldap] LDAP Authentication

Michael Ströder michael at stroeder.com
Wed Jun 1 17:02:29 EDT 2016


Durdevic, Marija wrote:
> I am trying to setup LDAP for my Galaxy web-app.

No idea what that is.

>   File "lib/galaxy/auth/providers/ldap_ad.py", line 168, in authenticate
> 
>     whoami = l.whoami_s()
> 
>   File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 641, in whoami_s
> 
>     return self._ldap_call(self._l.whoami_s,serverctrls,clientctrls)
> 
>   File "/home/galaxy/galaxy/.venv/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 106, in _ldap_call
> 
>     result = func(*args,**kwargs)
> 
> PROTOCOL_ERROR: {'info': 'Unrecognized extended operation', 'desc': 'Protocol error'}

The application invokes LDAPObject.whoami_s() but this particular LDAP server
(which one?) does not know the Who Am I? extended operation (defined in RFC 4532).

Ciao, Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160601/c555ea75/attachment.bin>


More information about the python-ldap mailing list