Ok, I understand, I will not touch the extension. But is there a way to
overlay creation of privileged users and allow ‘Name’ with numeric
field? We have many services that use LDAP and users just use the
uid(numeric) and password.
Would be more friendly keep the same method.
The last option would use Name = > ‘mail’ in ‘attr_map’, but I don’t
think this a good solution.
-----Mensagem original-----De: email@example.com
[mailto:firstname.lastname@example.org] Em nome de Kevin
Enviada em: quarta-feira, 24 de agosto de 2011 11:13
Assunto: Re: [rt-users] RT External Auth and uid problem
‘attr_match_list’ => [
‘Name’, ‘EmailAddress’, ‘RealName’],
mapping of RT attributes on to
‘Name’ => ‘uid’, ‘EmailAddress’ => ‘mail’, ‘RealName’ => ‘cn’,
‘ExternalAuthId’ => ‘uid’ }
In the extension ExternalAuth I changed all the strings “Name” for
"NickName" and seems work,
but I still cant’t create users.
Do you meant you literally replaced all occurrences of Name with
NickName in the extension? That will never work.
If you have a non-numeric field, just fix attr_map so that Name =>
Also, you almost certainly don’t want attr_match_list to consider
RealName to be unique. That would mean that you can’t have two users in
RT with the name Kevin Falcone since the extension will try to resolve
them to the same AD user.
I thought a solution creating a local/lib overlay for create a user
with NickName to use as
uid number, and keep RealName for cn, and EmailAdddress for mail.
What function in lib is used to create the users? Can you give me
Thanks for your help,
RT Training Sessions (http://bestpractical.com/services/training.html)
- Chicago, IL, USA ? September 26 & 27, 2011
- San Francisco, CA, USA ? October 18 & 19, 2011
- Washington DC, USA ? October 31 & November 1, 2011
- Melbourne VIC, Australia ? November 28 & 29, 2011
- Barcelona, Spain ? November 28 & 29, 2011