Here's some more LDAP troubleshooting: http://forums.otterhub.org/viewtopic.php?f=60&t=16543


On Wed, Jan 2, 2013 at 3:52 AM, Steven Carr <sjcarr@gmail.com> wrote:
See... http://doc.otrs.org/3.0/en/html/auth-backends.html

You've configured the wrong thing, you have configured Customer users
to use LDAP not the Agent users.

And the reason it failed to compile the perl code is that what you
have specific is not valid syntax for perl.

Steve




On 2 January 2013 04:06, Pascal Guilloux <p.guilloux@uq.edu.au> wrote:
> Hi
>
>
>
> I am using the version OTRS 3.1.9
>
>
>
> I - WEB ADMIN INTERFACE
>
>
>
> I am trying to setup the LDAP authentication on the OTRS admin interface, it
> doesn’t seem working, and nothing happens, whatever the configuration I
> changed to (even after I restart the OTRS service).
>
> Do I need to change directly the Kernel/Config.pm to make it works?
>
>
>
> Modules used on the Admin interface:
>
> These are the only modules modified, am I missing anything?
>
>
>
> Customer::AuthModule => LDAP
>
> Customer::AuthModule::LDAP::Host => servername.uq.edu.au
>
> Customer::AuthModule::LDAP::BaseDN => dc=uq,dc=edu,dc=au
>
> Customer::AuthModule::LDAP::UID => sAMAccountName
>
> Customer::AuthModule::LDAP::GroupDN => CN=xxxx, OU=IT,DC=uq,DC=edu,DC=au
>
> Customer::AuthModule::LDAP::UserAttr => UID
>
> Customer::AuthModule::LDAP::SearchUserDN => CN=xxxx,
> OU=IT,DC=uq,DC=edu,DC=au
>
> Customer::AuthModule::LDAP::SearchUserPw => xxxx
>
>
>
> Message from the log:
>
> System::User::UserLookup][797] No UserID found for 'testotrs'!
>
> System::Auth::DB::Auth] User: testotrs doesn't exist or is invalid!!!
> (REMOTE_ADDR: xxx.xxx.xxx.xxx)
>
>
>
> The user exist on the LDAP server
>
>
>
> II – config.pm modification
>
>
>
> When I tried to change directly in the config.pm, I have an error message
> after followed the step below and restarted the OTRS service:
>
> http://lists.otrs.org/pipermail/otrs/2010-February/030812.html
>
>
>
> Error message:
>
> "use" not allowed in expression at C:/PROGRA~2/OTRS/OTRS/Kernel/Config.pm
> line 198, at end of line
>
> syntax error at C:/PROGRA~2/OTRS/OTRS/Kernel/Config.pm line 198, near "use
> strict"
>
> BEGIN not safe after errors--compilation aborted at
> C:/PROGRA~2/OTRS/OTRS/Kernel/Config.pm line 199.
>
> Compilation failed in require at
> C:\PROGRA~2\OTRS\OTRS\bin\otrs.Scheduler4win.pl line 36.
>
> BEGIN failed--compilation aborted at
> C:\PROGRA~2\OTRS\OTRS\bin\otrs.Scheduler4win.pl line 36.
>
>
>
> The expression not allowed, is the one it been told not be edit:
>
>
>
> # ---------------------------------------------------- #
>
> # needed system stuff (don't edit this)                #
>
> # ---------------------------------------------------- #
>
> use strict;
>
> use warnings;
>
>
>
> use vars qw(@ISA $VERSION);
>
> use Kernel::Config::Defaults;
>
> push (@ISA, 'Kernel::Config::Defaults');
>
>
>
> use vars qw(@ISA $VERSION);
>
> $VERSION = qw($Revision: 1.21 $)[1];
>
>
>
> # -----------------------------------------------------#
>
>
>
> Maybe it doesn’t work on my OTRS version or again, I am missing something.
>
>
>
> Thank you in advance for your help and time.
>
>
>
> Don’t hesitate to contact me p.guilloux@uq.edu.au
>
>
>
> Happy new year :)
>
>
>
> Regards
>
>
>
> Pascal
>
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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