Hi,
I’m afraid that the configs are not shared, here is a example from one
of my RT instances. Hope it helps?
LDAP import settings
Set($LDAPHost,‘ldap-00’);
Set($LDAPUser,‘cn=search_10001,ou=people,dc=local’);
Set($LDAPPassword,‘secret’);
Set($LDAPBase, ‘ou=people,dc=local’);
Set($LDAPTLS, {
‘verify’ => ‘require’,
‘cafile’ => ‘/etc/ssl/certs/CACert.pem’, } ); # Path CA
file
User import
Set($LDAPFilter,
’(&(objectClass=inetOrgPerson)(ukFirmGhITAccLocked=RT-FALSE)(ukFirmGhITAccSubSrvcs=RT*))’);
Set($LDAPMapping, {
‘Name’ => ‘mail’, # required
’Organization’ => ‘ukFirmGhITAccOrg’,
‘Name’ => ‘mail’,
‘EmailAddress’ => ‘mail’,
‘RealName’ => ‘cn’,
‘WorkPhone’ => ‘telephoneNumber’,
‘MobilePhone’ => ‘mobile’,
‘Address1’ => ‘street’,
‘City’ => ‘l’,
‘State’ => ‘st’,
‘Zip’ => ‘postalCode’,
‘UserCF.external_auth’ => sub { return “RT_LDAP”; },
}
);
Group import
Set($LDAPGroupBase, ‘ou=groups,ou=people,dc=local’);
Set($LDAPGroupFilter, ‘(cn=*)’ );
Set($LDAPGroupMapping, {
‘Name’ => ‘cn’,
‘Member_Attr’ => ‘member’,
‘Member_Attr_Value’ => ‘dn’, } );
Don’t create “Imported from LDAP” group
Set($LDAPSkipAutogeneratedGroup, 1);
Set($LDAPCreatePrivileged, 1);
Set($LDAPUpdateUsers, 1);
Set($LDAPSizeLimit, 200);
1;
Best Regards
Martin