[rt-users] Could Not Set User Info RT-Authen-ExternalAuth (ExternalInfoPriority)
Kevin Falcone
falcone at bestpractical.com
Tue Sep 21 09:54:39 EDT 2010
On Tue, Sep 21, 2010 at 12:40:49PM +0200, Robert Gabriel wrote:
> I have seen many questions and posts based on this but I have yet to
> find a working solution.
>
> "User could not be created: Could not set user info" when creating a new
> internal user.
I suspect that most of the time this question comes up on the list,
you'll see someone telling you to check $AutoCreateNonExternalUsers
> What is the supposed setting please for ExternalInfoPriority?
> I have tried undef, 0, internal etc.
> If I disable the plugin I can create an internal user.
The documentation says
# The order in which the services defined in ExternalSettings
# should be used to get information about users.
So, you use the service name you defined in ExternalSettings.
-kevin
> Set($ExternalAuthPriority, ['LDAP']);
> Set($ExternalInfoPriority, ['WhatTheHellIsSupposedToGoInHere']);
> Set($ExternalServiceUsesSSLorTLS, 0);
> Set($AutoCreateNonExternalUsers, 0);
> Set($ExternalSettings, {
> 'LDAP' => {
> 'type' => 'ldap',
> 'auth' => 1,
> 'info' => 0,
> 'server' => '*************8',
> 'user' => '',
> 'pass' => '',
> 'base' => 'dc=********,dc=***,dc=**,dc=**',
> 'filter' => '(objectClass=*)',
> 'd_filter' => '(objectClass=ThisWillNeverMatch)',
> 'tls' => 0,
> 'ssl_version' => 3,
> 'net_ldap_args' => [version => 3],
> 'group' => 'cn=rt,ou=groups,dc=******,dc=***,dc=**,dc=**',
> 'group_attr' => 'member',
> 'attr_match_list' => ['Name', 'EmailAddress'],
> 'attr_map' => {'Name' => 'uid', 'RealName' => 'cn',
> 'ExternalAuthId' => 'uid', 'Gecos' => 'cn', 'EmailAddress' => 'mail'}
> }
> }
> );
>
> 1;
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJMmIuxAAoJEBMzHChmstlqAj8H/ikxqGvI1cN8ACdXzeHKCoUT
> w1p5lT6eVsStsOTAP8u54m9clC6XhtNHRh8ub+a2Uin1Da8U0ST77pQ3DzF/4z2G
> ZowljV+1RlsZdnODhj4nPkiuh8Ip3fTYI2Q30FLa9et49haMBneRSTrqP6qLtqQI
> DIUi6tgSFMR+ywf57WfiEmJSPqAC+8PPOUGfOUAchcH5UPJQgmg+5PPpgg5QsgXQ
> OJ+reysLOcdkWYOZD6+xRb9c5Cp/tZ2cDLQGAL0FcnsFNSaLL6+cim9DC3bA2oaS
> rEdv0It0oQH8qeX6e7m/VsAowkhXyHlPUtaZq4DVfYijBHynJcaBcSAP7PJN+kc=
> =wuU6
> -----END PGP SIGNATURE-----
>
> To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser:
> https://www.fnb.co.za/disclaimer.html
>
> If you are unable to access the Disclaimer, send a blank e-mail to
> firstrandbankdisclaimer at fnb.co.za and we will send you a copy of the Disclaimer.
>
> RT Training in Washington DC, USA on Oct 25 & 26 2010
> Last one this year -- Learn how to get the most out of RT!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100921/1f0bd3c4/attachment.sig>
More information about the rt-users
mailing list