Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Any configuration directives you include here will override
- # RT's default configuration file, RT_Config.pm
- #
- # To include a directive here, just copy the equivalent statement
- # from RT_Config.pm and change the value. We've included a single
- # sample value below.
- #
- # This file is actually a perl module, so you can include valid
- # perl code, as well.
- #
- # The converse is also true, if this file isn't valid perl, you're
- # going to run into trouble. To check your SiteConfig file, use
- # this comamnd:
- #
- # perl -c /path/to/your/etc/RT_SiteConfig.pm
- #
- #Set( $rtname, 'rt.city.local');
- #Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
- #1;
- # $WebPath = "/rt";
- Set( $rtname, 'city.local');
- #Set(@Plugins, qw(RT::Authen::ExternalAuth));
- Set($WebBaseURL , 'http://rt.city.local');
- Set( $WebPath , '');
- Set($DataBaseType , 'mysql');
- Set($DatabaseHost , 'localhost');
- Set($DatabaseRTHost , 'localhost');
- Set($DatabaseName , 'rt3');
- Set($DatabaseUser, 'rt_user');
- Set($DatabasePassword , 'rt_pass');
- Set($Timezone, 'Europe/Moscow');
- Set($CorrespondAddress, 'rt@domain.ru');
- Set($CommentAddress, 'rt-comment@domain.ru');
- Set($RTAddressRegexp, '^rt(-comment)?\@(domain\.ru|city\.local)$');
- Set($OwnerEmail, 'admin@domain.ru');
- #Set($AutoCreate, {Privileged => 1});
- #Set($LdapExternalAuth, 1);
- #Set($LdapExternalInfo, 1);
- #Set($LdapAutoCreateNonLdapUsers, 1);
- #Set($LdapRTAttrMatchList, ['Name']);
- #Set($LdapEmailAttrMatchList, ['mail']);
- #Set($LdapServer, 's1dc.city.local:3268');
- #Set($LdapUser, 'cn=ldapsearch,ou=Service Accounts,dc=city,dc=local');
- #Set($LdapPass, 'LdapPassw0rd');
- #Set($LdapBase, 'dc=city,dc=local');
- #Set($LdapUidAttr, 'sAMAccountName');
- #Set($LdapFilter, '(&(objectclass=user)(objectclass=person))');
- #Set($LdapSSLVersion, 3);
- #
- #Set($ExternalAuthPriority, ['My_LDAP']);
- #Set($ExternalInfoPriority, ['My_LDAP']);
- #
- #Set($ExternalSettings, {
- #
- # 'My_LDAP' => {
- # 'type' => 'ldap',
- # 'auth' => 1,
- # 'info' => 1,
- # 'server' => 's1dc.city.local',
- # 'user' => 'cn=ldapsearch,ou=Service Accounts,dc=city,dc=local',
- # 'pass' => 'LdapPassw0rd',
- # 'base' => 'dc=city,dc=local',
- # 'filter' => '(&(objectclass=user)(objectclass=person))',
- # 'd_filter' => '(userAccountControl=66050)',
- # 'tls' => 0,
- # 'net_ldap_args' => [ version => 3 ],
- ## 'group' => 'CN=RT Users,OU=Service Accounts,DC=city,DC=local',
- ## 'group_attr' => 'member',
- # 'attr_match_list' => ['Name', 'EmailAddress'],
- # 'attr_map' => { 'Name' => 'sAMAccountName',
- # 'EmailAddress' => 'mail',
- # 'Organization' => 'company',
- # 'RealName' => 'cn',
- # 'ExternalAuthId' => 'sAMAccountName',
- # 'Gecos' => 'sAMAccountName',
- # 'HomePhone' => 'homePhone',
- # 'WorkPhone' => 'telephoneNumber',
- # 'MobilePhone' => 'mobile',
- # 'PagerPhone' => 'pager',
- # 'Address1' => 'streetAddress',
- # 'City' => 'l',
- # 'State' => 'st',
- # 'Zip' => 'postalCode',
- # 'Country' => 'co'
- # }
- # }
- #}
- #);
- 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement