[rt-users] RT-Authen-ExternalAuth-0.08 which packages i need for
john s.
fireskyer at gmx.de
Thu Apr 14 06:05:55 EDT 2011
Hello Luis
First of all many thanks for you help
I have set my ldap configuration in this way which you have described,
but there are still coming some error messages in relation to the apache2
log file:
cutout apache.log:
Couldn't load RT config file RT_SiteConfig.pm:\n\nsyntax error at
/opt/rt3/etc/RT_SiteConfig.pm line 146, near "'EmailAddress'"\nCompilation
failed in require at /opt/rt3/bin/../lib/RT/Config.pm line 562.\nCompilation
failed in require at (eval 2) line 1.\n
Similar errors comes if try to activate the following command lines:
'tls' => 0,
ssl_version' => 3,
'net_ldap_args' => [ version => 3 ],
'group' => 'User',
'group' => 'GROUP_NAME',
'attr_match_list' => [ 'Name',
# 'EmailAddress', ],
# 'attr_map'
=> { 'Name' => 'sAMAccountName',
#'EmailAddress' => 'mail',
# 'Organization' => #
'Organization' => 'physicalDeliveryOfficeName',
# 'RealName' => 'cn',
# 'ExternalAuthId' => 'sAMAccountName',
# 'Gecos' => 'sAMAccountName',
# 'WorkPhone' => 'telephoneNumber',
# 'Address1' => 'streetAddress',
# 'City' => 'l',
# 'State' => 'st',
# 'Zip' => 'postalCode',
# 'Country' => 'co'
}
}
);
So i had to comment out some command lines in order to determine whats
going wrong and the the apache server will runing fine :
Her is my new config:
#########RT Authenth#############
Set($ExternalAuthPriority, [ ' My_LDAP' ]);
Set($ExternalInfoPriority, ['My_LDAP']);
Set($ExternalServiceUsesSSLorTLS, 0 );
Set($AutoCreateNonExternalUsers, 0);
Set($ExternalSettings, {'My_LDAP' => { ## GENERIC SECTION
# The type of service (db/ldap/cookie)
'type' => 'ldap',
# The server hosting
the service
'server' =>
'192.168.23.40',
## SERVICE-SPECIFIC
SECTION
# If you can bind to
your LDAP server anonymously you should
# remove the user
and pass config lines, otherwise specify them here:
#
# The username RT
should use to connect to the LDAP server
'user' => 'USER',
# The password RT
should use to connect to the LDAP server
'pass' =>
'password',
#
# The LDAP search
base
'base' => 'ou=****
Unit,dc=s***,dc=local',
#
# ALL FILTERS MUST
BE VALID LDAP FILTERS ENCASED IN PARENTHESES!
# YOU **MUST**
SPECIFY A filter AND A d_filter!!
#
# The filter to use
to match RT-Users
'filter' =>
'(ObjectClass=*)',
# A catch-all
example filter: '(objectClass=*)'
#
# The filter that
will only match disabled users
'd_filter' =>
'(userAccountControl=514)'
# A catch-none
example d_filter: '(objectClass=FooBarBaz)'
#
# Should we try to
use TLS to encrypt connections?
# 'tls' => 0,
# SSL Version to
provide to Net::SSLeay *if* using SSL
# 'ssl_version' =>
3,
# What other args
should I pass to Net::LDAP->new($host, at args)?
# 'net_ldap_args' =>
[ version => 3 ],
# Does
authentication depend on group membership? What group name?
# 'group' =>
'GROUP_NAME',
# What is the
attribute for the group object that determines membership?
# 'group_attr' =>
'GROUP_NAME',
## RT ATTRIBUTE
MATCHING SECTION
# The list of RT
attributes that uniquely identify a user
# This example shows what you *can* specify.. I recommend reducing
this
# to just the Name
and EmailAddress to save encountering problems later.
# 'attr_match_list'
=> [ 'Name',
# 'EmailAddress',
#
],
# The mapping of RT
attributes on to LDAP attributes
# 'attr_map'
=> { 'Name' => 'sAMAccountName',
#'EmailAddress' => 'mail',
# 'Organization' => 'physicalDeliveryOfficeName',
# 'RealName' => 'cn',
# 'ExternalAuthId' => 'sAMAccountName',
# 'Gecos' => 'sAMAccountName',
# 'WorkPhone' => 'telephoneNumber',
# 'Address1' => 'streetAddress',
# 'City' => 'l',
# 'State' => 'st',
# 'Zip' => 'postalCode',
# 'Country' => 'co'
}
}
);
best regards john s.
--
View this message in context: http://old.nabble.com/Re%3A-RT-Authen-ExternalAuth-0.08-which-packages-i-need-for-tp31388437p31395522.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
More information about the rt-users
mailing list