+ Post New Thread
Results 1 to 2 of 2
Web Development Thread, MRBS - LDAP use givenname in Coding and Web Development; Hi guys, I'm using MRBS with LDAP here, and I have a parameters what I would like to change. How ...
  1. #1

    Join Date
    Oct 2013
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    MRBS - LDAP use givenname

    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!!!

  2. #2
    detjo's Avatar
    Join Date
    Feb 2008
    Posts
    356
    Thank Post
    13
    Thanked 48 Times in 39 Posts
    Rep Power
    31
    Can you not just get "givenName" from LDAP at the same time as "sAMAccountName" ?
    You can then use "
    givenName" wherever you want

SHARE:
+ Post New Thread

Similar Threads

  1. Setting MRBs to use periods
    By BKGarry in forum Web Development
    Replies: 4
    Last Post: 14th May 2013, 07:27 AM
  2. Yet another MRBS LDAP issue
    By Liam in forum How do you do....it?
    Replies: 6
    Last Post: 14th August 2012, 05:28 PM
  3. MRBS & LDAP (AUTH_LDAP) - Assign Administrators
    By kruegerm in forum Network and Classroom Management
    Replies: 1
    Last Post: 8th March 2012, 05:49 PM
  4. Replies: 2
    Last Post: 8th March 2012, 05:26 AM
  5. MRBS ldap
    By russdev in forum Web Development
    Replies: 6
    Last Post: 26th May 2009, 10:11 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •