-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

António,

Look in the web code at .ht-inc/conf-default.php.  Scroll down until you find 
"EXAMPLE1 LDAP" in the $authMechs array.  It has all of the fields that are 
needed from LDAP with comments explaining each one.  It also provides a 
mapping from what you have in LDAP to what VCL requires.  So, the default 
values from which it pulls firstname and lastname are givenname and sn, but if 
your LDAP system used different attributes, you can easily change it to what 
your system was using.

There is one field that is not listed there that can be added - 'numericid'.  
If you add that as an array key, you can set the value to whatever attribute 
is used in LDAP for the user's numeric id.  Then, the user.uid field is 
populated with the value.  For example, under the 

"email" => "mail",

line, you could add something like 

"numericid" => "uidNumber"

Josh

On Thursday, May 22, 2014 9:31:53 AM António Aragão wrote:
> Hi,
> 
> anyone knows what information is relevant from LDAP ? What fields are
> used from LDAP ?
> 
> uidNumber ?
> gidNumber ?
> 
> Thanks.
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu

All electronic mail messages in connection with State business which
are sent to or received by this account are subject to the NC Public
Records Law and may be disclosed to third parties.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlN9+MEACgkQV/LQcNdtPQMHrACdGUveT2vc4OymgifTJE+NEI90
jv0An07fbXNi81cXc+3bldKoG8yRQDt4
=SGqb
-----END PGP SIGNATURE-----

  • LDAP António Aragão
    • Re: LDAP Josh Thompson

Reply via email to