Re: [galaxy-dev] MS Active Directory Authentication
Hi Dwayne, you need to install the Python LDAP module: http://www.python-ldap.org/ https://pypi.python.org/pypi/python-ldap/ If you are using a virtualenv (which is recommended for a production server), activate it and then execute: pip install ldap Cheers, Nicola Il giorno mar, 13/10/2015 alle 18.23 +, McCully, Dwayne (NIH/NIAMS) [C] ha scritto: > Thanks Nicola, > > Updated the auth_config.xml file but got the following message in > the paster.log. Any idea how to fix? > > DEBUG 2015-10-13 14:18:11,644 LDAP authenticate: could not load ldap > module > > Dwayne > > From: Nicola Soranzo [mailto:nicola.sora...@gmail.com] On Behalf Of > Nicola Soranzo > Sent: Tuesday, October 13, 2015 1:44 PM > To: McCully, Dwayne (NIH/NIAMS) [C] ; > galaxy-dev@lists.galaxyproject.org > Subject: Re: [galaxy-dev] MS Active Directory Authentication > > Hi Dwayne, > > see https://github.com/galaxyproject/galaxy/blob/dev/config/auth_conf > .xml.sample > > ldap is equivalent to activedirectory > > Something like this may work for you: > > > > activedirectory > > False > True > ldap://dc1.example.com > True > sAMAccountName,mail > dc=dc1,dc=example,dc=com > -filter>(&(objectClass=user)(sAMAccountName={username})) -filter> > jsmith > mysecret > {sAMAccountName} > {password} > {sAMAccountName} -username> > {mail} > > > > > Cheers, > Nicola > On 13/10/15 17:44, McCully, Dwayne (NIH/NIAMS) [C] wrote: > Hello Everyone, > > Is there an example of the auth_config.xml for a MS Active directory > connection? > I would like to all my users to register and login to Galaxy with > their AD username and password. > > Note: We don’t use a “@example.com” extension for our usernames just > “username”. > > Thanks in advance > > Dwayne > > > > > ___ > > 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/
Re: [galaxy-dev] MS Active Directory Authentication
Thanks Nicola, Updated the auth_config.xml file but got the following message in the paster.log. Any idea how to fix? DEBUG 2015-10-13 14:18:11,644 LDAP authenticate: could not load ldap module Dwayne From: Nicola Soranzo [mailto:nicola.sora...@gmail.com] On Behalf Of Nicola Soranzo Sent: Tuesday, October 13, 2015 1:44 PM To: McCully, Dwayne (NIH/NIAMS) [C] ; galaxy-dev@lists.galaxyproject.org Subject: Re: [galaxy-dev] MS Active Directory Authentication Hi Dwayne, see https://github.com/galaxyproject/galaxy/blob/dev/config/auth_conf.xml.sample ldap is equivalent to activedirectory Something like this may work for you: activedirectory False True ldap://dc1.example.com True sAMAccountName,mail dc=dc1,dc=example,dc=com (&(objectClass=user)(sAMAccountName={username})) jsmith mysecret {sAMAccountName} {password} {sAMAccountName} {mail} Cheers, Nicola On 13/10/15 17:44, McCully, Dwayne (NIH/NIAMS) [C] wrote: Hello Everyone, Is there an example of the auth_config.xml for a MS Active directory connection? I would like to all my users to register and login to Galaxy with their AD username and password. Note: We don’t use a “@example.com” extension for our usernames just “username”. Thanks in advance Dwayne ___ 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/
Re: [galaxy-dev] MS Active Directory Authentication
Hi Dwayne, see https://github.com/galaxyproject/galaxy/blob/dev/config/auth_conf.xml.sample ldap is equivalent to activedirectory Something like this may work for you: activedirectory False True ldap://dc1.example.com True sAMAccountName,mail dc=dc1,dc=example,dc=com (&(objectClass=user)(sAMAccountName={username})) jsmith mysecret {sAMAccountName} {password} {sAMAccountName} {mail} Cheers, Nicola On 13/10/15 17:44, McCully, Dwayne (NIH/NIAMS) [C] wrote: Hello Everyone, Is there an example of the auth_config.xml for a MS Active directory connection? I would like to all my users to register and login to Galaxy with their AD username and password. Note: We don’t use a “@example.com” extension for our usernames just “username”. Thanks in advance Dwayne ___ 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/
[galaxy-dev] MS Active Directory Authentication
Hello Everyone, Is there an example of the auth_config.xml for a MS Active directory connection? I would like to all my users to register and login to Galaxy with their AD username and password. Note: We don't use a "@example.com" extension for our usernames just "username". Thanks in advance Dwayne ___ 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/