summaryrefslogtreecommitdiff
path: root/source3/smbd/smbXsrv_tcon.c
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-12-13 15:27:07 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 12:10:22 +0100
commit60721a378240cb08e3f2ac0a1de14df5c9130010 (patch)
treebeaf2063e45c2278341475c5747bd82950b1b40b /source3/smbd/smbXsrv_tcon.c
parent93e22bb1c401b423b0242e6923b8e7944f793b3f (diff)
downloadsamba-60721a378240cb08e3f2ac0a1de14df5c9130010.tar.gz
s3:smbXsrv_tcon: pass record in smbXsrv_tcon_global_traverse()
Signed-off-by: Gregor Beck <gbeck@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/smbXsrv_tcon.c')
-rw-r--r--source3/smbd/smbXsrv_tcon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smbXsrv_tcon.c b/source3/smbd/smbXsrv_tcon.c
index 49da84ddfec..b6e205857a7 100644
--- a/source3/smbd/smbXsrv_tcon.c
+++ b/source3/smbd/smbXsrv_tcon.c
@@ -1200,6 +1200,7 @@ static int smbXsrv_tcon_global_traverse_fn(struct db_record *rec, void *data)
goto done;
}
+ global_blob.info.info0->db_rec = rec;
ret = state->fn(global_blob.info.info0, state->private_data);
done:
TALLOC_FREE(frame);