IO::Socket::INET: Bad hostname Kernel/System/Auth/LDAP.pm, otrs-2.0.0-beta4.

I can't seem to get ldap working with otrs-2.0.0-beta4. Before I head off to bugzilla did I miss something? $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = '[ldap.domain.com]'; $Self->{'AuthModule::LDAP::BaseDN'} = '[ou=Users,ou=OxObjects,dc=domain,dc=com]'; $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName'; This is what I added to Config.pm. The FQDN does resolve. Any insight would be appreciated. Regards, Ted

Hi Ted, On Wed, Jul 06, 2005 at 08:55:49AM -0400, Ted Kaczmarek wrote:
I can't seem to get ldap working with otrs-2.0.0-beta4. Before I head off to bugzilla did I miss something?
$Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
OK.
$Self->{'AuthModule::LDAP::Host'} = '[ldap.domain.com]';
I'd remove the brackets ([]), allthough I don't know if they are causing errors: $Self->{'AuthModule::LDAP::Host'} = 'ldap.domain.com'; Or have you inserted them to show the example entrys?
$Self->{'AuthModule::LDAP::BaseDN'} = '[ou=Users,ou=OxObjects,dc=domain,dc=com]';
Also remove the brackets here.
$Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
OK.
This is what I added to Config.pm. The FQDN does resolve. Any insight would be appreciated.
You need also to map your LDAP stuff to OTRS. Please see URL dieses Links: http://faq.otrs.org/otrs/public.pl?Action=PublicFAQ&ID=5 and http://doc.otrs.org/1.3/en/html/user-auth-backend.html#USER-AUTH-BACKEND-LDA... Hth, Christian -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (2)
-
Christian Schoepplein
-
Ted Kaczmarek