[rt-users] RT Question on adding users

Bill Cole rtusers-20090205 at billmail.scconsult.com
Thu May 14 12:42:45 EDT 2009


Ken Crocker wrote, On 5/13/09 5:18 PM:
>   Kevin,
>
>
> Thank you so much for answering. I looked through our RT_Config.pm file
> and did not see any reference to either "RT::User::CanonicalizeUserInfo"
> or "RT::Authen::ExternalAuth". Where do I find them and how do I set them?

CanonicalizeUserInfo is a method in the RT::User, which is a part of the 
base package. I think Kevin was saying that you could write an "overlay" 
replacement for it. You probably already have an overlay in place, as it 
appears that you are using something related to the old LDAP overlay 
described at http://wiki.bestpractical.com/view/LdapUserLocalOverlay and 
http://wiki.bestpractical.com/view/LdapSiteConfigSettings.

RT::Authen::ExternalAuth is an extension that can be used instead of that 
overlay approach, and it is nicely documented at 
http://wiki.bestpractical.com/view/ExternalAuth.



> Our current applicable LDAP settings (in RT_SiteConfig.pm) are as follows:
>
>     * *Set($AuthMethods, ['LDAP', 'Internal']);*
>     * *Set($LdapExternalAuth, 1);*
>     * *Set($LdapExternalInfo, 1);*
>     * *Set($LdapAutoCreateNonLdapUsers, 0);*

That looks promising. I'd bet that if you set that to '1' instead, you'll 
get new internal users if they are not found in LDAP.





More information about the rt-users mailing list