]> git.sur5r.net Git - openldap/commitdiff
Default to no sid in initial cookie
authorHoward Chu <hyc@openldap.org>
Tue, 6 Feb 2007 01:19:06 +0000 (01:19 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 6 Feb 2007 01:19:06 +0000 (01:19 +0000)
servers/slapd/ldapsync.c

index 143b10233fc68725ad1c6f78fd6c538c57b1864d..1d7bf3b2bf2e34d1347118e1e5ba1309f95b4669 100644 (file)
@@ -281,7 +281,7 @@ slap_init_sync_cookie_ctxcsn(
        cookie->ctxcsn = NULL;
        value_add_one( &cookie->ctxcsn, &ctxcsn );
        cookie->numcsns = 1;
-       cookie->sid = slap_serverID;
+       cookie->sid = -1;
 
        return 0;
 }