I wrote on 16.07.2013 at 09:02:
[...]
- What is the correct syntax for the second argument (URI): Do you need a
final slash, do you need the port? Currently I'm using a syntax like "olcServerID: 1 ldap://ldap.domain.org"
[...]
As nobody did answer, I guess nobody knows how the server matches the ServerID. So let me ask a diffenent question: (How) can I query the ServerID a server uses?
Regards, Ulrich
Ulrich Windl wrote:
I wrote on 16.07.2013 at 09:02:
[...]
- What is the correct syntax for the second argument (URI): Do you need a
final slash, do you need the port? Currently I'm using a syntax like "olcServerID: 1 ldap://ldap.domain.org"
There is no specific requirement. The only actual requirement is that a URL in the list of serverIDs must match one of the URLs in slapd's "-h" option. If you put trailing slashes or not that's your choice, just be consistent and use the exact same format in both places.
Howard Chu hyc@symas.com schrieb am 19.07.2013 um 16:23 in Nachricht
Ulrich Windl wrote:
I wrote on 16.07.2013 at 09:02:
[...]
- What is the correct syntax for the second argument (URI): Do you need a
final slash, do you need the port? Currently I'm using a syntax like "olcServerID: 1 ldap://ldap.domain.org"
There is no specific requirement. The only actual requirement is that a URL in the list of serverIDs must match one of the URLs in slapd's "-h" option. If you put trailing slashes or not that's your choice, just be consistent and use the exact same format in both places.
And the success message seems to look like this: slapd[15801]: olcServerID: value #0: SID=0x001 (listener=ldap://server.domain.org:389)
So "SID" is the ServerID, and "listener" is the matched domain, right?
Regards, Ulrich
openldap-technical@openldap.org