In my setup LDAP can be used to authorize access but
LdapUserMapping::getWikiName($login) is never called to map the login to the cn-field of LDAP. When I call this function manually I get the correct result.
$TWiki::cfg{UserMappingManager} = 'TWiki::Users::LdapUserMapping';
$TWiki::cfg{PasswordManager} = 'TWiki::Users::LdapPassword';
$TWiki::cfg{Ldap}{LoginAttribute} = 'uid';
$TWiki::cfg{Ldap}{WikiNameAttribute} = 'cn';
$TWiki::cfg{Ldap}{NormalizeWikiNames} = 1;
Do I need LDAP groups to allow this mapping? - I don't have any.
Thank you
--
TWiki:Main/UlfMarkwardt
- 12 Nov 2009