]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add cookie to LDAP sync start debug
authorNick Porter <nick@portercomputing.co.uk>
Thu, 11 Jan 2024 17:42:11 +0000 (17:42 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 11 Jan 2024 18:23:05 +0000 (18:23 +0000)
src/listen/ldap_sync/rfc4533.c

index bac987ddf56d2a2257992965f70922ce4f56fcf7..032bde3334a67a132cf4f4cebb05130c3f06841b 100644 (file)
@@ -106,6 +106,7 @@ int rfc4533_sync_init(fr_ldap_connection_t *conn, size_t sync_no, proto_ldap_syn
                char *bv_val;
                struct berval bvc;
 
+               HEXDUMP2(cookie, talloc_array_length(cookie), "Sync starting with cookie: ");
                memcpy(&bv_val, &cookie, sizeof(bv_val));
 
                bvc.bv_val = bv_val;