summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-04-19 11:10:45 +0200
committerVolker Lendecke <vl@samba.org>2013-04-19 15:06:33 +0200
commitd51b498017d612d9787b17b38ac0931ee0a90de0 (patch)
treed6c264aa4c202098877cb7d9591ef84088cb6254
parent63f78c36b4edfb8e4a06d13f7cd5e1b719c85cef (diff)
downloadsamba-d51b498017d612d9787b17b38ac0931ee0a90de0.tar.gz
s3:locking add NDR debug in share_mode_forall
Reviewed-by: Volker Lendecke <vl@samba.org> Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Apr 19 15:06:33 CEST 2013 on sn-devel-104
-rw-r--r--source3/locking/share_mode_lock.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c
index 04ff247c6d3..d45b450d948 100644
--- a/source3/locking/share_mode_lock.c
+++ b/source3/locking/share_mode_lock.c
@@ -463,6 +463,10 @@ static int traverse_fn(struct db_record *rec, void *_state)
DEBUG(1, ("ndr_pull_share_mode_lock failed\n"));
return 0;
}
+ if (DEBUGLEVEL > 10) {
+ DEBUG(11, ("parse_share_modes:\n"));
+ NDR_PRINT_DEBUG(share_mode_data, d);
+ }
for (i=0; i<d->num_share_modes; i++) {
state->fn(&d->share_modes[i],
d->servicepath, d->base_name,