From eff90dc5120bba8a060ad495fcd5a416b676366f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 29 Aug 2007 18:12:05 +0000 Subject: [PATCH] note what SID the server is assuming --- servers/slapd/bconfig.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 8891a32e58..19e7b569b3 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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; } } -- 2.39.5