From: Pierangelo Masarati Date: Wed, 29 Aug 2007 18:12:05 +0000 (+0000) Subject: note what SID the server is assuming X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eff90dc5120bba8a060ad495fcd5a416b676366f;p=openldap note what SID the server is assuming --- 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; } }