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
cannot import users from ldap server
Re: cannot import users from ldap server
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?
What LDAP server are you running?
Does your username / password contain any special characters?
Former Nagios Employee
-
pccwglobalit
- Posts: 105
- Joined: Wed Mar 11, 2015 9:00 pm
Re: cannot import users from ldap server
we can see the port is opened (port 389)
and also there is no special character.
we can login from console.
and also there is no special character.
we can login from console.
Re: cannot import users from ldap server
What LDAP server software are you running?
If it's using uid instead of cn, modify the username like this for the import:
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