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!
So long as your system supports IPv6, slapd(8) can be told to listen on an IPv6 address using its -h option. By default, it listens on all addresses.
(I am not certain where Ubuntu keeps its daemon configuration options, so you may want to check their online documentation, or query OpenLDAP's package files.)
Thank you for the -h option.
I found another way to see it:
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:
|All times are GMT -5. The time now is 03:00 AM.|