Skip to content
Snippets Groups Projects
Commit eff90dc5 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

note what SID the server is assuming

parent cd103f90
No related branches found
No related tags found
No related merge requests found
......@@ -1508,6 +1508,9 @@ config_generic(ConfigArgs *c) {
si = ch_malloc( sizeof(ServerID) );
BER_BVZERO( &si->si_url );
slap_serverID = num;
Debug( LDAP_DEBUG_CONFIG,
"%s: SID=%d\n",
c->log, slap_serverID, 0 );
}
si->si_next = NULL;
si->si_num = num;
......@@ -1558,6 +1561,10 @@ config_generic(ConfigArgs *c) {
ldap_free_urldesc( lu2 );
if ( isMe ) {
slap_serverID = si->si_num;
Debug( LDAP_DEBUG_CONFIG,
"%s: SID=%d (listener=%s)\n",
c->log, slap_serverID,
l[i]->sl_url.bv_val );
break;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment