You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by prabhjyotsingh <gi...@git.apache.org> on 2016/06/14 08:35:36 UTC

[GitHub] shiro pull request #20: activeDirectoryRealm.principalSuffix isn't honoured

GitHub user prabhjyotsingh opened a pull request:

    https://github.com/apache/shiro/pull/20

    activeDirectoryRealm.principalSuffix isn't honoured

    While using shiro for auth in my project I noticed that, activeDirectoryRealm.principalSuffix is not honoured for authentication, however, for getRoleNamesForUser it does append the same.
    
    Looking at the tcpdump, it appears activeDirectoryRealm.principalSuffix isn't honoured. As a result, the bind request searches for user_name, rather than user_name@company.com. Also note that if I try to login as username "user_name@company.com", I do authenticate as I'm found in the directory server

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/prabhjyotsingh/shiro activeDirectoryRealm.principalSuffix

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/shiro/pull/20.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20
    
----
commit 43b087048b3ea41d99ca6282485f3c0ecb683008
Author: Prabhjyot Singh <pr...@gmail.com>
Date:   2016-06-14T08:31:12Z

    activeDirectoryRealm.principalSuffix isn't honoured

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---