Forum Discussion
Brian_Buddemeye
Nimbostratus
Jul 19, 2007default LDAP rule modification - how to parse Domain Name
I'm working in an environment right now where we are implementing the ACA module on an LTM running 9.4.1 to offload Active Directory authentication.
The trouble I'm running into is that the back-end servers expect credentials in the form of "domain_name\username". Using the default LDAP rule, the LTM can not successfully query the directory if the user enters his credentials in that form. If the user just enters his username, the LTM is able to query the directory and get his authorization info, but when it passes that on to the back-end server, the back end server returns a 401 error because it is expecting
"domain_name\username" and just receiving "username".
Is there a modification to the default LDAP authentication rule that I can make to either strip the domain name from the text the user enters and re-insert it when passing the credentials to the back end server or just to add the domain name and slash before passing the credentials to the back end (though this way would require user re-training...)
Thanks in advance!
- Carl_Gottlieb_1
Nimbostratus
Hi Guys, - Brian_Buddemeye
Nimbostratus
I was able to get this working in my instance, with a little help. Here is the change that needed to be made to the default LDAP auth rule: - Carl_Gottlieb_1
Nimbostratus
Superb, Many thanks for this. - matt_wheeler_11Historic F5 AccountI have a similar problem but my customer would like to have the users just enter username and password. I was wondering if you have seen any examples where we can insert the domain name on the post? Thanks for the help.
- hoolio
Cirrostratus
Could you just hardcode the domain? - matt_wheeler_11Historic F5 AccountDo anyone know if I need to have the Authentication Module in order to make this solution work?
- hoolio
Cirrostratus
I'm pretty sure use of the AUTH:: commands requires the advanced auth module.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects