We are doing LDAP authentication against two AD domains. One works fine because the samaccountname and the CN are the same. The other AD domain has Lastname/, Firstname for the CN. But the samaccountname has the actual login userid. But since the CN is what is part of the DN, that is what shows up in the logs. How can I get the samaccountname to show up in the logs for that one domain?
For future reference, here is what we came up with:
This ruleset allowed us to authenticate against two LDAP directories (LDAP1 and LDAP2), and rewrite the usernames from the full DN syntax (cn=administrator,cn=users,dc=vegas,dc=local) to the simple string (administrator).
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.
Community Help Hub
New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.