mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 22:50:51 -05:00
note what SID the server is assuming
This commit is contained in:
parent
cd103f9010
commit
eff90dc512
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue