[python-ldap] LDAP Authentication

Durdevic, Marija marija.durdevic at medunigraz.at
Thu Jun 2 03:00:58 EDT 2016


Dear Michael,

Thank you for the answer.

Regards,
Marija

-----Original Message-----
From: Michael Ströder [mailto:michael at stroeder.com] 
Sent: Wednesday, June 01, 2016 11:02 PM
To: Durdevic, Marija; python-ldap at python.org
Subject: Re: [python-ldap] LDAP Authentication

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.



More information about the python-ldap mailing list