ldap auth.php - code to grab CN and not whole distinguishedName

ldap auth.php - code to grab CN and not whole distinguishedName

by Martin Burrow -
Number of replies: 0

Hello All, can anyone provide me, in simplest terms possible,

e.g.  "new code goes in at roughly line ###  ends at roughly line ###, also need to edit.... " kind of thing,

with their alterations to LDAP auth.php so that it sets user idnumber to just the CN and not the users whole distinguishedName from the LDAP directory.

Something tailored for Microsoft AD would be most suitable.

Many, many thanks

Martin

Average of ratings: -