
Hi Team, I am just getting started with OTRS, and I'm trying to get the LDAP features to work... probably the firwst thing to ask is - how can I get a decent level of debugging (I've set apache to run as debug but this doesn't really tell me anything useful) - is there anything in OTRS itself? Following smoothly on - I've got it all running OK with Postgresql, but am having problems integrating LDAP for agents and customers (config attached)... I'm pretty sure its connecting alright, because if I say I've forgotten my password, it sends me a new one (that doesn't work either), and knows that the customers are stored in something called 'BEC Users' (and can't add new ones). If I activate the first bit (authmodule) then I can't log in as an agent; if I activate the second, I can't log in as a customer. Does anyone have any tips, opr could you send me a working Config.pm to compare please? thanks in advance Jim Potter Brislington Enterprise College $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'ldap-master'; $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=icttechnicians,ou=supportstaff,ou=staffusers,ou=users,dc=brislington,dc=bristol,dc=sch,dc=uk'; $Self->{'AuthModule::LDAP::UID'} = 'uid'; $Self->{'AuthModule::LDAP::GroupDN'} = ''; $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid'; $Self->{'AuthModule::LDAP::UserAttr'} = 'UID'; $Self->{'AuthModule::LDAP::SearchUserDN'} = 'cn=otrs,ou=system,dc=brislington,dc=bristol,dc=sch.dc=uk'; $Self->{'AuthModule::LDAP::SearchUserPw'} = 'xxx'; $Self->{'AuthModule::LDAP::AlwaysFilter'} = ''; $Self->{'AuthModule::LDAP::Params'} = { port => 389, timeout => 120, async => 0, version => 3, }; $Self->{CustomerUser} = { Name => 'BEC Users', Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'ldap-master', BaseDN => 'ou=users,dc=brislington,dc=bristol,dc=sch,dc=uk', SSCOPE => 'sub', UserDN => 'cn=otrs,ou=system,dc=brislington,dc=bristol,dc=sch,dc=uk', UserPw => 'xxx', AlwaysFilter => '', Params => { port => 389, timeout => 120, async => 0, version => 3, }, }, CustomerKey => 'uid', CustomerID => 'mail', CustomerUserListFields => ['cn', 'mail'], CustomerUserSearchFields => ['uid', 'cn', 'mail'], CustomerUserSearchPrefix => '', CustomerUserSearchSuffix => '*', CustomerUserSearchListLimit => 250, CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], CustomerUserExcludePrimaryCustomerID => 0, AdminSetPreferences => 0, Map => [ [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var', '', 0 ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var', '', 0 ], [ 'UserLogin', 'Username', 'uid', 1, 1, 'var', '', 0 ], [ 'UserEmail', 'Email', 'mail', 1, 1, 'var', '', 0 ], [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var', '', 0 ] ], }; -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.