logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: LDAP Authentication
Author
weyerma



Joined: 21 Mar 2015
Posts: 3
Location: Switzerland

PostPosted: Sun 22 Mar '15 3:33    Post subject: LDAP Authentication Reply with quote

Hi all

I have some questions about the LDAP authentication module.

I have a LDAP authentication with this config:

<AuthnProviderAlias ldap ldap-account>
AuthLDAPBindDN "CN=directory search,OU=Service-User,DC=company,DC=ch"
AuthLDAPBindPassword "xxxxx"
AuthLDAPURL "ldap://ldap.company.ch/ou=Users,dc=company,dc=ch?sAMAccountName?sub?(objectClass=*)"
</AuthnProviderAlias>

If a User logs in with username only, all works correct. If a user use the Domain\Username format, the login is rejected with "user not found".
Should it not work with both login styles ? Or is there a option to reformat or rewrite the username before authentication without the "Domain\” part ?

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 24 Mar '15 17:30    Post subject: Reply with quote

You need to change your ldap url for that.
There is a post for that http://askubuntu.com/questions/310139/apache-ldap-authentication

if you still have a question please ask again.
Back to top


Reply to topic   Topic: LDAP Authentication View previous topic :: View next topic
Post new topic   Forum Index -> Apache