Hello, I'm testing listenhost using IPv6 address now. I put this configuration attribute in cn=config. nsslapd-listenhost: fe80::208:74ff:fe18:fcd5%eth0And accessed the server using the IPv6 address as well as its IPv4 address. Here's the result:
$ ./ldapsearch -h [fe80::208:74ff:fe38:fcd5] -p 12345 -b "dc=example,dc=com" "(objectclass=*)" dn dn: dc=example,dc=com $ ./ldapsearch -h 172.16.15.156 -p 12345 -b "dc=example,dc=com" "(objectclass=*)" dn ldap_simple_bind: Can't connect to the LDAP server - Connection refusedI think this is the expected behavior, but I'd like to have your thoughts. Please note that if there is no nsslapd-listenhost specified, the both command lines return the same result "dn: dc=example,dc=com". Also, to someone who is curious, to run the same test, you need a new version of LDAP C SDK, which hasn't been released yet...
Thanks, --noriko
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature