LDAP Auth / Config.pm without effects

Hi Everybody,
I've some problems with OTRS and Agent LDAP logins.
I configured the following lines in $OTRS/Kernel/Config.pm
---cut---
# This is the auth. module againt the otrs db
# $Self->{'AuthModule'} = 'Kernel::System::Auth::DB';
# This is an example configuration for an LDAP auth. backend.
# (take care that Net::LDAP is installed!)
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
$Self->{'AuthModule::LDAP::Host'} = 'ldap.ame.loc';
$Self->{'AuthModule::LDAP::BaseDN'} = 'dc=ame,dc=de';
$Self->{'AuthModule::LDAP::UID'} = 'uid';
# Check if the user is allowed to auth in a posixGroup
# (e. g. user needs to be in a group xyz to use otrs)
$Self->{'AuthModule::LDAP::GroupDN'} =
'cn=support,ou=Groups,ou=NSS,dc=ame,dc=de';
$Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
# for ldap posixGroups objectclass (just uid)
$Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
# for non ldap posixGroups objectclass (with full user dn)
$Self->{'AuthModule::LDAP::UserAttr'} = 'DN';
# The following is valid but would only be necessary if the
# anonymous user do NOT have permission to read from the LDAP tree
$Self->{'AuthModule::LDAP::SearchUserDN'} = 'binddn';
$Self->{'AuthModule::LDAP::SearchUserPw'} = 'bindpw';
---cut---
The system is running under Debian 3.0r1 with MySQL, the CPAN LDAP
Module is installed and I do not see any incoming LDAP requests on the
LDAP logfile.
I also tried to change LDAP::Host against the direct IP adress, without
any changes.
It seems to me that the Config.pm is somehow "overwritten" by some other
Module as some other configurations also have no effects.
For example I have configured the system as ASP variant and configured
the following, as said in the documentation, but I can still move
through the AllQueues etc.
---cut---
$Self->{MoveInToAllQueues} = 0;
$Self->{ChangeOwnerToEveryone} = 0;
$Self->{ShowCustomerSelection} = 0;
$Self->{PhoneViewASP} = 1;
---cut---
Anybody any idea?!?
Thanx,
Matthias
--
Matthias Eichler

Hi Matthias, On Mon, Jun 23, 2003 at 04:46:22PM +0200, Matthias Eichler wrote:
I've some problems with OTRS and Agent LDAP logins. I configured the following lines in $OTRS/Kernel/Config.pm [...] ---cut--- # This is an example configuration for an LDAP auth. backend. # (take care that Net::LDAP is installed!) $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'ldap.ame.loc'; [...] I also tried to change LDAP::Host against the direct IP adress, without any changes.
It seems to me that the Config.pm is somehow "overwritten" by some other Module as some other configurations also have no effects. For example I have configured the system as ASP variant and configured the following, as said in the documentation, but I can still move through the AllQueues etc. ---cut--- $Self->{MoveInToAllQueues} = 0; $Self->{ChangeOwnerToEveryone} = 0; $Self->{ShowCustomerSelection} = 0; $Self->{PhoneViewASP} = 1; ---cut---
Anybody any idea?!?
It sounds like you need to restart your webserver (if you use mod_perl) because the perl modules are loaded on apache startup (improve performance!!). ,-)
Matthias
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Perfection is our goal, excellence will be tolerated. -- J. Yahl

Hi Martin, Am Mit, 2003-06-25 um 11.12 schrieb Martin Edenhofer: [...]
It sounds like you need to restart your webserver (if you use mod_perl) because the perl modules are loaded on apache startup (improve performance!!). ,-)
I thought I have done that, but I will check again. Something strange btw with mod_perl together with mod_php4: after some time the apache is running PHP code can not be executed but therefore the index.pl from OTRS is executed by PHP, which can not be interpreted...;-) Matthias
participants (2)
-
Martin Edenhofer
-
Matthias Eichler