[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: "Dynamic" authentication passthrough?
- To: Curtiss Howard <curtiss.howard@gmail.com>, openldap-technical@openldap.org
- Subject: Re: "Dynamic" authentication passthrough?
- From: Clément OUDOT <clement.oudot@savoirfairelinux.com>
- Date: Fri, 31 Mar 2017 18:07:39 +0200
- In-reply-to: <CAM6RYrJU+=g=Dw=V7fzODU7YKUSPmrpNzjZwHXVNRozAwa3aAQ@mail.gmail.com>
- Organization: Savoir-Faire Linux
- References: <CAM6RYrJU+=g=Dw=V7fzODU7YKUSPmrpNzjZwHXVNRozAwa3aAQ@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
Le 30/03/2017 à 15:27, Curtiss Howard a écrit :
Hi,
I've got two Active Directory servers that are being proxied through
OpenLDAP and their respective trees are being merged into one. So
far, so good.
Now I want to allow users to bind to the OpenLDAP server and pass the
authentication through to the appropriate AD and let it do the
password checking.
I see a lot of documentation on using SASL for passthrough, but where
I'm stuck is that this requires every user to have an account in the
OpenLDAP server in order to see if the userPassword attribute is
specially formatted. In my case, this isn't really a palatable
solution because I'm using the OpenLDAP server with the meta backend
and using it as a "live view" into the data contained in the ADs.
Other applications can talk directly to the ADs and in order to do the
SASL approach there'd have to be some syncing from the ADs to the
OpenLDAP server every time a user is created/deleted.
I would think that surely there must be some way to pass through the
authentication in a more obvious manner -- i.e., if the user doesn't
exist locally, try to bind against each proxied server in succession.
But I can't seem to find a way to do this, all references point to the
SASL approach.
Is there a way to do this?
Hi,
as far as I know, you need to have a local entry with a SASL password to
do authentifcation passtrough. I wrote a documentation on that subject:
https://ltb-project.org/documentation/general/sasl_delegation
To synchronize AD entries to OpenLDAP, you can use LSC, see
https://lsc-project.org/
--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
137 boulevard de Magenta - 75010 PARIS
Blog: http://sflx.ca/coudot