Advertisement
Guest User

Untitled

a guest
Dec 9th, 2010
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1.  
  2. # Any configuration directives you include here will override
  3. # RT's default configuration file, RT_Config.pm
  4. #
  5. # To include a directive here, just copy the equivalent statement
  6. # from RT_Config.pm and change the value. We've included a single
  7. # sample value below.
  8. #
  9. # This file is actually a perl module, so you can include valid
  10. # perl code, as well.
  11. #
  12. # The converse is also true, if this file isn't valid perl, you're
  13. # going to run into trouble. To check your SiteConfig file, use
  14. # this comamnd:
  15. #
  16. # perl -c /path/to/your/etc/RT_SiteConfig.pm
  17. #
  18. #Set( $rtname, 'rt.city.local');
  19. #Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
  20. #1;
  21.  
  22. # $WebPath = "/rt";
  23.  
  24. Set( $rtname, 'city.local');
  25.  
  26. #Set(@Plugins, qw(RT::Authen::ExternalAuth));
  27.  
  28. Set($WebBaseURL , 'http://rt.city.local');
  29. Set( $WebPath , '');
  30.  
  31. Set($DataBaseType , 'mysql');
  32. Set($DatabaseHost , 'localhost');
  33. Set($DatabaseRTHost , 'localhost');
  34. Set($DatabaseName , 'rt3');
  35. Set($DatabaseUser, 'rt_user');
  36. Set($DatabasePassword , 'rt_pass');
  37. Set($Timezone, 'Europe/Moscow');
  38.  
  39. Set($CorrespondAddress, 'rt@domain.ru');
  40. Set($CommentAddress, 'rt-comment@domain.ru');
  41. Set($RTAddressRegexp, '^rt(-comment)?\@(domain\.ru|city\.local)$');
  42. Set($OwnerEmail, 'admin@domain.ru');
  43.  
  44. #Set($AutoCreate, {Privileged => 1});
  45. #Set($LdapExternalAuth, 1);
  46. #Set($LdapExternalInfo, 1);
  47. #Set($LdapAutoCreateNonLdapUsers, 1);
  48.  
  49. #Set($LdapRTAttrMatchList, ['Name']);
  50. #Set($LdapEmailAttrMatchList, ['mail']);
  51. #Set($LdapServer, 's1dc.city.local:3268');
  52. #Set($LdapUser, 'cn=ldapsearch,ou=Service Accounts,dc=city,dc=local');
  53. #Set($LdapPass, 'LdapPassw0rd');
  54. #Set($LdapBase, 'dc=city,dc=local');
  55. #Set($LdapUidAttr, 'sAMAccountName');
  56. #Set($LdapFilter, '(&(objectclass=user)(objectclass=person))');
  57. #Set($LdapSSLVersion, 3);
  58. #
  59. #Set($ExternalAuthPriority, ['My_LDAP']);
  60. #Set($ExternalInfoPriority, ['My_LDAP']);
  61. #
  62. #Set($ExternalSettings, {
  63. #
  64. # 'My_LDAP' => {
  65. # 'type' => 'ldap',
  66. # 'auth' => 1,
  67. # 'info' => 1,
  68. # 'server' => 's1dc.city.local',
  69. # 'user' => 'cn=ldapsearch,ou=Service Accounts,dc=city,dc=local',
  70. # 'pass' => 'LdapPassw0rd',
  71. # 'base' => 'dc=city,dc=local',
  72. # 'filter' => '(&(objectclass=user)(objectclass=person))',
  73. # 'd_filter' => '(userAccountControl=66050)',
  74. # 'tls' => 0,
  75. # 'net_ldap_args' => [ version => 3 ],
  76. ## 'group' => 'CN=RT Users,OU=Service Accounts,DC=city,DC=local',
  77. ## 'group_attr' => 'member',
  78. # 'attr_match_list' => ['Name', 'EmailAddress'],
  79. # 'attr_map' => { 'Name' => 'sAMAccountName',
  80. # 'EmailAddress' => 'mail',
  81. # 'Organization' => 'company',
  82. # 'RealName' => 'cn',
  83. # 'ExternalAuthId' => 'sAMAccountName',
  84. # 'Gecos' => 'sAMAccountName',
  85. # 'HomePhone' => 'homePhone',
  86. # 'WorkPhone' => 'telephoneNumber',
  87. # 'MobilePhone' => 'mobile',
  88. # 'PagerPhone' => 'pager',
  89. # 'Address1' => 'streetAddress',
  90. # 'City' => 'l',
  91. # 'State' => 'st',
  92. # 'Zip' => 'postalCode',
  93. # 'Country' => 'co'
  94. # }
  95. # }
  96. #}
  97. #);
  98.  
  99. 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement