Jump to content

Recommended Posts

Posted

Hi guys,

 

I'm using MRBS with LDAP here, and I have a parameters what I would like to change.

How I use the parameter "$ldap_dn_search_attrib = "sAMAccountName";", then after login in,the session PHP is set to "Array ( [userName] => 9999999 )".

The "9999999" is the "sAMAccountName" that "MRBS" defines in the session "Array ( [userName] => 9999999 )", and MRBS set the "sAMAccountName" in mysql in field "create_by";

Is there a way to change the "sAMAccountName" to "givenname" after login, and mysql make the insertion of "givenname" instead of "sAMAccountName"?

 

Thanks!!!

Posted

Can you not just get "givenName" from LDAP at the same time as "sAMAccountName" ?

You can then use "givenName" wherever you want

  • 2 years later...
Posted
How would you set this up, Sorry i know it's an old post. But I want to do the same thing. To display givenName instead of username once logged in. But for users to login with the normal usernames.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...