Skip to content

Add login with domain name instead of dn#8

Open
benklett wants to merge 1 commit into
blindsidenetworks:masterfrom
benklett:master
Open

Add login with domain name instead of dn#8
benklett wants to merge 1 commit into
blindsidenetworks:masterfrom
benklett:master

Conversation

@benklett

Copy link
Copy Markdown

Modified the behaviour of send_ldap_request to allow login with domain
and username. If provider_info[:domain] is set and auth_method is user,
this behaviour will trigger.

Modified the behaviour of send_ldap_request to allow login with domain
and username. If provider_info[:domain] is set and auth_method is user,
this behaviour will trigger.
benklett added a commit to benklett/greenlight that referenced this pull request Jul 23, 2020
With the new environment variable LDAP_DOMAIN. It is only used, if the
auth_method user is selected. Then the domain session controller sets
the domain field of the ldap_config which is then used in
blindsidenetworks/bn-ldap-authentication#8 to build the bindRequest
username like so: DOMAIN\USERNAME.
benklett added a commit to benklett/greenlight that referenced this pull request Jul 23, 2020
With the new environment variable LDAP_DOMAIN. It is only used, if the
auth_method user is selected. Then the domain session controller sets
the domain field of the ldap_config which is then used in
blindsidenetworks/bn-ldap-authentication#8 to build the bindRequest
username like so: DOMAIN\USERNAME.
benklett added a commit to benklett/greenlight that referenced this pull request Jul 23, 2020
With the new environment variable LDAP_DOMAIN. It is only used, if the
auth_method user is selected. Then the domain session controller sets
the domain field of the ldap_config which is then used in
blindsidenetworks/bn-ldap-authentication#8 to build the bindRequest
username like so: DOMAIN\USERNAME.
else
username = provider_info[:uid] + '=' + user_params[:username] + ',' + provider_info[:base]
end
auth = {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In GitHub the line is too much indented. It should use the same level as end.

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.

2 participants