Hi Russell,

Just addressing AD/LDAP authentication - authentication is trivially and
best (IMHO) left to an external (eg apache) proxy - save yourself a lot of
effort - it's known to work well.
Lock down the paste process so it only talks to your apache and provide
pass through authentication.
Doing that deals with your first and second questions since galaxy will
create new users as they appear if appropriately configured - although you
are stuck with user@yourconfigured.domain as the user ids inside Galaxy
even though the user authenticates with the sAMAccountName in the example
below so it's the same login for all our AD logins.

The recipe has been posted a few times and should be easy to find using a
search.

Something like:

<Location /galaxy>
  Options FollowSymLinks
  AuthType Basic
  AuthBasicProvider ldap
  AuthzLDAPAuthoritative Off
  AuthName "BHRI LDAP"
  Order Allow,Deny
  Allow From All
  Require valid-user
  AuthLDAPBindDN "user@domain"
  AuthLDAPBindPassword "passwordforuser@domain"
  AuthLDAPURL "ldap://
172.16.1.245:389/OU=Baker,DC=bhri,DC=internal?sAMAccountName?sub?(objectClass=*)
"
  RequestHeader set REMOTE_USER %{AUTHENTICATE_sAMAccountName}e
</Location>

works for us on a local AD server


On Mon, Dec 5, 2011 at 9:21 AM, Smithies, Russell <
russell.smith...@agresearch.co.nz> wrote:

> This may be a list of weird requests but our Galaxy server runs internally
> and is only accessible to our users so I’d like to make it a bit easier to
> manage.****
>
> I could customize a copy but hopefully some of the “features” I’m after
> are already available. If not, I’m happy to work on them and integrate if
> others think they’ll be useful.****
>
> ** **
>
> **·         **Rather than email address as usernames, we’d rather just
> use our corporate logins (lastname, first initial, eg.mine is smithiesr) Or
> can I have an alias list (like samba)?****
>
> **·         **Is there a bulk user creation script? Rather than have
> everyone create their own account, I’d rather do them all at once. It’s not
> that I don’t trust users but…****
>
> **·         **Can I have every user’s home dir automagiclly added as a
> data dir? eg. I’d like to have /home/smithiesr available. Would be nice if
> this was part of a bulk useradd script  ****
>
> **·         **Any chance of AD integration? I have no idea if Python
> plays well with Active Directory and/or LDAP.****
>
> **·         **Is it possible to add new tools without restarting Galaxy?
> I know tool configs can be reloaded from the admin console but I’d like our
> users to be able to incorporate their existing scripts as tools. Would a
> local tool-shed make this easier? ****
>
> **·         **We use NTLM for authentication on most of our internal
> sites – am I going to have problems getting Galaxy/Python to authenticate?
> A few years ago we ran into the same requirement with a Java app so ended
> up hacking together a script that passed SSO creds to Internet Exploiter
> for authentication. ****
>
> ** **
>
> Sorry if some of these sound dumb or are already implemented, I’m still
> reading thru the docs.****
>
> ** **
>
> Thanx,****
>
> *Russell Smithies*
> Infrastructure Team****
>
> *T* 03 489 9085
> *M* 0274 734 600
> *E* russell.smith...@agresearch.co.nz****
>
> Invermay Agricultural Centre
> Puddle Alley, Private Bag 50034, Mosgiel 9053, New Zealand****
>
> *T * +64 3 489 3809  *F*  +64 3 489 3739  *www.agresearch.co.nz*****
>
> ** **
>
>
>
> ------------------------------
>
> *Attention: *The information contained in this message and/or attachments
> from AgResearch Limited is intended only for the persons or entities to
> which it is addressed and may contain confidential and/or privileged
> material. Any review, retransmission, dissemination or other use of, or
> taking of any action in reliance upon, this information by persons or
> entities other than the intended recipients is prohibited by AgResearch
> Limited. If you have received this message in error, please notify the
> sender immediately.
>
> ------------------------------
>
>
>
> ___________________________________________________________
> 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:
>
>  http://lists.bx.psu.edu/
>



-- 
Ross Lazarus MBBS MPH;
Associate Professor, Harvard Medical School;
Head, Medical Bioinformatics, BakerIDI; Tel: +61 385321444;
___________________________________________________________
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:

  http://lists.bx.psu.edu/

Reply via email to