[Date Prev][Date Next]
"Dynamic" authentication passthrough?
- To: firstname.lastname@example.org
- Subject: "Dynamic" authentication passthrough?
- From: Curtiss Howard <email@example.com>
- Date: Thu, 30 Mar 2017 09:27:19 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=eSCq4RoR7d4mbLjGSfRR1yCsLuxwYqEUWTJKD5FJoZE=; b=SjXaK8AUG73Q09xRWGxsJXGIcezQj5haCw13+q6fVl8MKYUvkUDQX6qivQniKrxc1+ UXjgNUYeS0Ud8YtSJRDBTcldKdsDIJy+h3kqvXHwZRDX4YEqEdlsCnkUs/VrSxnQmg61 EQ13SKQenwO246MX9DT2HH7ffWbB01Cyq2bUllhX6s3ePkD1i+bijVnl6QpV/0U4KXpt Ru8iUScbSPoanid54t61RCw+V19GB+8HcjrvjIStO4LyiQiuucj/9wl6/jIVBKdtP66A VxkDdmI87juz8pRPzS+xqX2Q73frpPlsBQkdCoOtVAJcIuDlMH09x06Xb8D2cAZMkJrc LFAw==
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?
Thanks in advance.