Skip to content

Username postfix for ldap_authenticators#166

Merged
tpickett66 merged 2 commits intorubycas:masterfrom
swobspace:ldap_username_postfix
May 3, 2013
Merged

Username postfix for ldap_authenticators#166
tpickett66 merged 2 commits intorubycas:masterfrom
swobspace:ldap_username_postfix

Conversation

@swobspace
Copy link
Copy Markdown
Contributor

ldap.rb has a username_prefix, but no username_postfix.

Scenario:
We use authentication based on the userprincipalname (an active directory attribute). Our userprincipalnames follows the syntax user@sub.domain.com. But we use only a partial for login: user@sub. In our large organisation there may be identical samaccountnames in different subdomains like smith@sub1 and smith@sub2.

If we can use a username_postfix = '.domain.com', all works fine: the user can use the short form and the authentication uses the full userprincipalname.

@mitfik
Copy link
Copy Markdown

mitfik commented Apr 20, 2013

Hi, thanks a lot but could you rebase it and squash to one commit?

tpickett66 added a commit that referenced this pull request May 3, 2013
Username postfix for ldap_authenticators
@tpickett66 tpickett66 merged commit f6de93d into rubycas:master May 3, 2013
@swobspace swobspace deleted the ldap_username_postfix branch May 10, 2013 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants