
Hello Snehal Desai "Bad hostname" sounds like your system ist not able to resolve the hostname. Try to ping it from this host (from a command window) or try "nslookup xxxxx.blank.com". Also try to connect to the ldap port (e.g. telnet your.ldap.host 389) regards, Bruce -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Snehal Desai Sent: Thursday, April 03, 2008 6:43 PM To: otrs@otrs.org Subject: [otrs] LDAP connection issue! Hello, I have already looked through the forum and have tried everything, but still can't connect. I have exhausted all other opportunities as well like google. I already posted before but go no replies! Any ideas what I'm doing wrong? Software error: Can't connect to xxxxx.blank.com: IO::Socket::INET: Bad hostname 'xxxxx.blank.com' at C:/OTRS/otrs//Kernel/System/CustomerAuth/LDAP.pm line 149. #Enable LDAP authentication for Customers / Users $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP'; $Self->{'Customer::AuthModule::LDAP::Host'} = 'xxxxx.blank.com'; $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=blank,dc=com'; $Self->{'Customer::AuthModule::LDAP::UID'} = 'sAMAccountName'; #The following is valid but would only be necessary if the #anonymous user do NOT have permission to read from the LDAP tree $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=LDAP,cn=Users,dc=blank,dc=com'; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'Help_Password'; #CustomerUser #(customer user database backend and settings) $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { Host => 'xxxxx.blank.com', BaseDN => 'dc=blank,dc=com', SSCOPE => 'sub', UserDN =>'cn=LDAP,cn=Users,dc=blank,dc=com', UserPw => 'Help_Password', }, # customer unique id CustomerKey => 'sAMAccountName', # customer # CustomerID => 'mail', CustomerUserListFields => ['sAMAccountName', 'cn', 'mail'], CustomerUserSearchFields => ['sAMAccountName', 'cn', 'mail'], CustomerUserSearchPrefix => '', CustomerUserSearchSuffix => '*', CustomerUserSearchListLimit => 250, CustomerUserPostMasterSearchFields => ['mail'], CustomerUserNameFields => ['givenname', 'sn'], Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown, required, storage-type #[ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], [ 'UserFirstname', 'Firstname', 'givenname', 1, 1, 'var' ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ], [ 'UserLogin', 'Login', 'sAMAccountName', 1, 1, 'var' ], [ 'UserEmail', 'Email', 'mail', 1, 1, 'var' ], [ 'UserCustomerID', 'CustomerID', 'mail', 0, 1, 'var' ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ], #[ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], #[ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], ], };
participants (1)
-
Klaus Bruno