Okay so more or less I did as you suggested but it doesn't seem to work!
I added the following to my Kerner/Config.pm file

    $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
    $Self->{'Customer::AuthModule::LDAP::Host'} = 'servername01';
    $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'cn=servername01,
ou=ou_l1, ou=sub_ou, dc=somethingdomain, dc=somethingelse, dc=com';
    $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; #what is
this for anyway!!!
    $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} =
'somethingdomain\name'; #notice that somethingdomain is the same as the
first dc in thebasedn
    $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} =
'nontrivialpassword';

But it doesn't seem to work at all
I added new agents to the users list (not the the customers) in the form of
somethingdomain\username
i also tried just username without the precedeeing domain part
I dont enter a password

but at the loggin screen i fail to login with them, I only get the message
Login failed! Your username or password was entered incorrectly.

I also tried to comment random lines from the above, but I still get the
same error
Login failed! Your username or password was entered incorrectly.

Where does otrs log more descriptive errors of the problem!
My best guess is that something is wrong with the
   $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'cn=servername01,
ou=ou_l1, ou=sub_ou, dc=somethingdomain, dc=somethingelse, dc=com';
line, mainly because this is the line i dont understand the most!
but why doesn't otrs tell me that, if thats is what it is

which parameter I am getting wrong! Or what am I doing wrong in general!

On 2/1/08, Lars Jørgensen <[EMAIL PROTECTED]> wrote:
>
> > > Is it possible to define multiple Customer::AuthModules in Config.pm?
> > > I tried to postfix them with numbers, like
> > > $Self{'Customer::AuthModule1'} but that didn't work at all.
>
> > Try this:
> >
> > http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&ItemID=219
>
> Thank you, that information was helpful. If anybody else has the same
> needs, this is what you have to do in Config.pm.
>
>    # LDAP authentication
>    $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
>    $Self->{'Customer::AuthModule::LDAP::Host'} = '192.168.1.1';
>    $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'ou=company,
> dc=company, dc=com';
>    $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName';
>    $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'user';
>    $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'pass';
>
>    # This is the auth. module againt the otrs db
>    $Self->{'Customer::AuthModule2'} = 'Kernel::System::CustomerAuth::DB';
>    $Self->{'Customer::AuthModule::DB::Table2'} = 'customer_user';
>    $Self->{'Customer::AuthModule::DB::CustomerKey2'} = 'login';
>    $Self->{'Customer::AuthModule::DB::CustomerPassword2'} = 'pw';
>
>
> --
> Lars
> _______________________________________________
> 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/
>
_______________________________________________
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/

Reply via email to