Hi Folks
I have 389 installed on F19 on a server with the hostname ldap-srv but I am unable to
successfully query it using ldapsearch from another F19 server with the hostname
ldap-client. I am an LDAP noob so its possible that this scenario isn't even meant to
work. Essentially, I've set up a 389 server and I'm trying to use ldapsearch as a
quick sniff test to make sure its working properly before I embark on figuring out how to
configure some other F19 servers to use the 389 LDAP service for Authentication.
I think ldap-srv is running correctly using the default configuration as I'm able to
bring up the 389-console and create a few users and groups. I am also able to successfully
run the following local ldapsearch query on ldap-srv:
ldapsearch -x -s base -b "" "objectclass=*" which prints out a long
list of results but ends in:
vendorName: 389 Project
vendorVersion: 389-Directory/1.3.1.7 B2013.240.2228
dataversion: 020130920220244
netscapemdsuffix: cn=ldap://dc=localhost,dc=localdomain:389
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
However, when I try and run a similar query from my ldap-client server, I get the
following:
[root@ldap-client ~]# ldapsearch -x -h ldap-srv -s base -b ""
"objectclass=*"
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
iptables are off on both machines.
Regards
Steve Watt