Hey Jim,
> 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
you can increase the log output by inserting
$Self->{Debug} = 1;
in Kernel/Config.pm.
You can really make OTRS spill its guts by setting "my $Debug = 0; " to "my
$Debug = 1;" instead.
This setting is located in bin/cgi-bin/index.pl around line no 38 (OTRS 2.1.6).
> Does anyone have any tips, opr could you send me a working Config.pm to
> compare please?
You can check the mailing list archives for that as this problem is not
uncommon :-(
Anyways, in your config is something missing. LDAP authentication has to be done
in two parts for both agents and customers. Therefore you have to have, say, 4
content blocks:
1. Agent LDAP auth
2. Agent LDAP sync (missing in your config)
3. Customer LDAP auth (missing in your config)
4. Customer LDAP sync
For 2. insert something like this (change to fit your needs):
# UserSyncLDAPMap
# (map if agent should create/synced from LDAP to DB after login)
$Self->{UserSyncLDAPMap} = {
# DB -> LDAP
Firstname => 'givenName',
Lastname => 'sn',
Email => 'mail',
};
For 3. insert (again, needs to be customized):
# customer user authentication
$Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
$Self->{'Customer::AuthModule::LDAP::Host'} = '<host>';
$Self->{'Customer::AuthModule::LDAP::BaseDN'} = '<dn>';
$Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';
$Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = '<dn>';
$Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = '<pw>';
# Net::LDAP new params (if needed - for more info see perldoc Net::LDAP)
$Self->{'Customer::AuthModule::LDAP::Params'} = {
port => 389,
timeout => 120,
async => 0,
version => 3,
};
OTRS needs to sync user information to its local database and needs the config
blocks 2 and 4 for it. Blocks 1 and 3 are for authentication, which has to be
set up for agents and customers separately.
Hope this helps
Tobias
--
50% of the high school graduates in this country graduated in the bottom half
of their class.
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support or consulting for your OTRS system?
=> http://www.otrs.com/