Under normal operation, users shouldn't see giant cookies in their logs.
We still log the initial cookie retrieved from the cache database, which
should still be helpful for identifying corrupt cookies.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13686
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
assert res_controls[0].oid == "1.2.840.113556.1.4.841"
res_controls[0].critical = True
self.dirsync_controls = [str(res_controls[0]), "extended_dn:1:0"]
- log_msg("dirsyncControls: %r\n" % self.dirsync_controls)
+ # This cookie can be extremely long
+ # log_msg("dirsyncControls: %r\n" % self.dirsync_controls)
modify_ldif = "dn: %s\n" % (self.cache_dn)
modify_ldif += "changetype: modify\n"