[rt-users] RT Question on adding users
Ken Crocker
kfcrocker at lbl.gov
Wed May 13 17:18:21 EDT 2009
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?
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);*
*
*Set($LdapAttrMap, {'Name' => 'uid',*
* 'EmailAddress' => 'mail',*
* 'Organization' => 'o',*
* 'RealName' => 'cn',*
* 'ExternalContactInfoId' => 'dn',*
* 'ExternalAuthId' => 'lblempnum',*
* 'Gecos' => 'uid',*
* 'WorkPhone' => 'telephonenumber',*
* 'Address1' => 'lblmailstop',*
* 'Address2' => 'postaladdress'}*
* );*
* *Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name',
'EmailAddress', 'RealName', 'ExternalAuthId', 'WorkPhone',
'Address2']);*
* *Set($LdapEmailAttrMatchList, ['uid']);*
* *Set($LdapEmailAttrMatchPrefix, [''] );*
* *Set($LdapTLS, 1);*
* *Set($LdapSSLVersion, 3)*;
Do I have all the LDAP settings I need? Do I need to add one? Change
one?
THANK you!
Kenn
LBNL
On 5/13/2009 1:12 PM, Kevin Falcone wrote:
> On May 13, 2009, at 12:48 PM, Ken Crocker wrote:
>
>
>> To any and all,
>>
>>
>> I've asked this question before, but perhaps I didn't word it so
>> it made any sense. When we add a 'CC' on any correspondance thru a
>> ticket, we find that if the user is not an RT User, as long as they
>> pass the LDAP test, they get added, with their email address as
>> their Id (NAME field). First question is:
>>
>> How do we get RT to drop the '@xxx.xxx' from the Id is uses for
>> "NAME" on the USER Table.
>>
>
> You can use RT::User::CanonicalizeUserInfo to munge the Name, assuming
> you're
> not using RT::Authen::ExternalAuth which already overrides this.
>
>
>> Secondly, how do we get RT to add a 'CC' to the USER table as an
>> "unprivileged" user if they do NOT pass the LDAP test?
>>
>
> You don't say how you're doing LDAP auth so answering this is hard.
>
> If you're using RT::Authen::ExternalAuth you want to check your
> setting of
> AutoCreateNonExternalUsers
>
> -kevin
>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090513/b60e69e8/attachment.htm>
More information about the rt-users
mailing list