Re: [rt-users] Could Not Set User Info RT-Authen-ExternalAuth (ExternalInfoPriority)

2010-09-23 Thread Robert Gabriel
On 09/21/2010 03:54 PM, Kevin Falcone wrote:

 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'= {

Thank you very much it's working!

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
firstrandbankdisclai...@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!


[rt-users] Could Not Set User Info RT-Authen-ExternalAuth (ExternalInfoPriority)

2010-09-21 Thread Robert Gabriel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello all,

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.

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.

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
firstrandbankdisclai...@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!


Re: [rt-users] Could Not Set User Info RT-Authen-ExternalAuth (ExternalInfoPriority)

2010-09-21 Thread Kevin Falcone
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
 firstrandbankdisclai...@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!


pgpIPnQKJvly0.pgp
Description: PGP signature

RT Training in Washington DC, USA on Oct 25  26 2010
Last one this year -- Learn how to get the most out of RT!