Page 1 of 1

cannot import users from ldap server

Posted: Wed Apr 27, 2016 3:30 am
by pccwglobalit
we have configured ldap server and can get result using ldapsearch. however, when i input the same username and password in web console and it said
"Unable to authenticate: Could not connect to the LDAP server selected."
there is a green tick on the left of ldap servers.

ass=*)" -vsxi1-tmh2 ~> ldapsearch -D "uid=nagiosxi,ou=System,dc=XXXXX,dc=com" -w YYYYYYY -p 389 -h 192.168.222.111 -b "cn=systemadmin,ou=Group,dc=pccwglobal,dc=com" -s sub -x -ZZ "(objectcla
ldap_initialize( ldap://192.168.222.111:389 )
filter: (objectclass=*)
requesting: All userApplication attributes
# extended LDIF
#
# LDAPv3
# base <cn=systemadmin,ou=Group,dc=XXXXX,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 3
result: 32 No such object
matchedDN: ou=Group,dc=XXXXXXXX,dc=com

# numResponses: 1

Re: cannot import users from ldap server

Posted: Wed Apr 27, 2016 10:00 am
by rkennedy
From the Nagios server, can you run nmap 192.168.222.111 and post the result?

What LDAP server are you running?

Does your username / password contain any special characters?

Re: cannot import users from ldap server

Posted: Wed Apr 27, 2016 9:36 pm
by pccwglobalit
we can see the port is opened (port 389)
and also there is no special character.
we can login from console.

Re: cannot import users from ldap server

Posted: Thu Apr 28, 2016 11:40 am
by ssax
What LDAP server software are you running?

If it's using uid instead of cn, modify the username like this for the import:

Code: Select all

uid=nagiosxi,ou=System,dc=XXXXX,dc=com