[rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for
Luis Avendaño
lavendano at acmgrp.com
Wed Apr 13 10:09:11 EDT 2011
Hi Jhon,
Based on the Rt_SiteConfig piece you sent, there is a missing variable
setting in your configuration.
You put this:
Set($AutoCreateNonExternalUsers, 0);
'My_LDAP' => { ## GENERIC
.
It should be like this:
Set($ExternalSettings, { # AN EXAMPLE DB SERVICE
'My_LDAP' =>
In addition, based on the log you sent, you are also configuring My_SSO and
My_MySQL. If you are not using these services to authenticate, please delete
them from the RT_SiteConfig file. If you are using them I would recommend
you going step by step. First configure the LDAP, then go for the next
source
This is an example of a working conf, using RT 3.8.9 and LDAP = Active
Directory:
#Set($WebExternalAuth, 1);
#Set($WebExternalAuthContinuous, 1);
#Set($WebExternalGecos , undef);
#Set($WebExternalAuto , true);
#Set($WebFallbackToInternalAuth , undef);
Set($ExternalAuthPriority, [ 'My_LDAP' ]);
Set($ExternalInfoPriority, ['My_LDAP']);
Set($ExternalServiceUsesSSLorTLS, 0);
Set($AutoCreateNonExternalUsers, 0);
Set($ExternalSettings, {
'My_LDAP' => { ## GENERIC SECTION
'type'
=> 'ldap',
'server'
=> '***.***.***.***',
'user'
=> '*****\*****',
'pass'
=> '********',
'base'
=> 'DC=*****,DC=com,DC=ve',
'filter'
=> '(objectClass=*)',
'd_filter'
=> '(userAccountControl=514)',
'tls'
=> 0,
'net_ldap_args'
=> [ version => 3 ],
#'group'
=> 'GROUP_NAME',
#'group_attr'
=> 'GROUP_ATTR',
'attr_match_list'
=> [ 'Name',
'EmailAddress'
# 'RealName',
# 'WorkPhone'
],
'attr_map'
=> { 'Name' => 'sAMAccountName',
'EmailAddress' => 'mail',
'RealName' => 'cn',
'WorkPhone' => 'telephoneNumber'
}
}
}
);
o Set( @Plugins, qw( RT::Authen::ExternalAuth ) );
Give a shot with this, and then get back with the resulted log file and
final configuration.
Hope this helps,
Best,
____________________________________________________________________________
________
Luis Avendaño
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110413/4687ecd4/attachment.htm>
More information about the rt-users
mailing list