LDAP + IPv6
I have 2 OpenLDAP servers. One with ubuntu-10.04 (package openldap-2.4.21) and the other with ubuntu-12.04 (package openldap-2.4.28 ).
I have the project to configure a IPv6 network.
My question is:
How can i say if i have the IPv6 support enable or disable on OpenLDAP?
Thank you very much!
There is the -h option in man 8 slapd.
Or I found an another way to see it:
Just for information for people who pass by this post:
# netstat -pantu
tcp6 :::389 :::* LISTEN 687/slapd
There is nothing to do with ipv6 in openldap.
Like you say it anomie, "By default, it listens on all addresses.".
What means that the type of connection (ipv4 or ipv6) to search the information in the database depends of the consumer.
If the consumer speaks ipv4, the server will answer it ipv4.
If the consumer speaks ipv6, the server will answer it ipv6.
Don't look farther.
If you want to slapd listen specifically on a type of network (man 8 slapd):
-4 Listen on ipv4 addresses only
-6 Listen on ipv6 addresses only
It's important to read the "schemas" to understand the format and how to implement/integrate informations into the database of openldap.
And, if there is no way to implement ipv6 informations, contact the author of the schema.
Have a nice day :cool: