]> git.sur5r.net Git - openldap/commitdiff
note what SID the server is assuming
authorPierangelo Masarati <ando@openldap.org>
Wed, 29 Aug 2007 18:12:05 +0000 (18:12 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 29 Aug 2007 18:12:05 +0000 (18:12 +0000)
servers/slapd/bconfig.c

index 8891a32e5831cb182950c573ec4a9e0ffdcb7540..19e7b569b339e1a980b4b830498d012680a347c8 100644 (file)
@@ -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;
                                                        }
                                                }