Hi Marija,
try to change to this:

<search-filter>(uid={username})</search-filter>

and/or:

<bind-user>{dn}</bind-user>

and let us know if you still have errors (please attach the sanitized logs).

Cheers,
Nicola

On 01/06/16 12:51, Durdevic, Marija wrote:
Dear Nicola,

Thank you for response.
I am having all those information, and I am following sample file, but still 
unsuccessfully.
Here is my auth_conf file:


<?xml version="1.0"?>
<auth>
     <authenticator>
         <type>ldap</type>
         <filter>'{email}'.endswith('@mycompany.com')</filter>
         <options>
             <allow-register>False</allow-register>
             <auto-register>True</auto-register>
             <allow-password-change>False</allow-password-change>
             <server>ldap://ldap.mycompany.com</server>
             <ldap-options>OPT_X_TLS_REQUIRE_CERT=OPT_X_TLS_ALLOW</ldap-options>
             <login-use-username>True</login-use-username>
             <continue-on-failure>False</continue-on-failure>
             <search-fields>uid, mail</search-fields>
             
<search-filter>(&#124;(mail={email})(uid={username}))</search-filter>
             <search-base>ou=pers,ou=usr,o=com</search-base>

             <bind-user>{email}</bind-user>
             <bind-password>{password}</bind-password>
             <auto-register-username>{uid}</auto-register-username>
             <auto-register-email>{email}</auto-register-email>
         </options>
     </authenticator>

     <authenticator>
         <type>localdb</type>
         <options>
             <allow-password-change>true</allow-password-change>
         </options>
     </authenticator>
</auth>


And

Thank you for your help.

Regards,
Marija

From: Nicola Soranzo [mailto:nicola.sora...@gmail.com] On Behalf Of Nicola 
Soranzo
Sent: Wednesday, June 01, 2016 12:47 PM
To: Durdevic, Marija; galaxy-dev@lists.galaxyproject.org
Subject: Re: [galaxy-dev] LDAP authentification

Hi Marija,
LDAP authentication is usually quite site-specific, config/auth_conf.xml.sample 
contains example and documentation that should help you, but you still need to 
know the necessary details about how LDAP authentication works on your network, 
e.g. LDAP type (OpenLDAP or MS Active Directory), server address, search and 
bind parameters...

Cheers,
Nicola
On 31/05/16 14:20, Durdevic, Marija wrote:
Can someone please be so kind to post auth_conf.xml file with all changes. I am 
trying to setup it, but unsuccessfully.

Thanks in advance.
Regards,
Marija

Mag. Marija Đurđević
Core Facility Computational Bioanalytics

Medical University of Graz
Center for Medical Research
Stiftingtalstraße 24, A-8010 Graz
Austria

Phone: +43 316/385-73024
Fax:+43 316/385-73009

Email: marija.djurdje...@medunigraz.at<mailto:marija.djurdje...@medunigraz.at>
Email: 
marija.djurdje...@klinikum-graz.at<mailto:marija.djurdje...@klinikum-graz.at>

Web: https://zmf.medunigraz.at/





___________________________________________________________

Please keep all replies on the list by using "reply all"

in your mail client.  To manage your subscriptions to this

and other Galaxy lists, please use the interface at:

   https://lists.galaxyproject.org/



To search Galaxy mailing lists use the unified search at:

   http://galaxyproject.org/search/mailinglists/


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
 https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
 http://galaxyproject.org/search/mailinglists/

Reply via email to