summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-12-13 15:26:49 +0100
committerMichael Adam <obnox@samba.org>2013-02-19 12:10:21 +0100
commit93e22bb1c401b423b0242e6923b8e7944f793b3f (patch)
treeac850e377897b6a902af7d821c833f06e0535c3a /source3/smbd
parentbdb80aeb11d5458e281483a5cdc57f5481979cc9 (diff)
downloadsamba-93e22bb1c401b423b0242e6923b8e7944f793b3f.tar.gz
samba-93e22bb1c401b423b0242e6923b8e7944f793b3f.tar.bz2
samba-93e22bb1c401b423b0242e6923b8e7944f793b3f.zip
s3:smbXsrv_session: pass record in smbXsrv_session_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')
-rw-r--r--source3/smbd/smbXsrv_session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/smbXsrv_session.c b/source3/smbd/smbXsrv_session.c
index f3072ee91b..017880ca28 100644
--- a/source3/smbd/smbXsrv_session.c
+++ b/source3/smbd/smbXsrv_session.c
@@ -1560,6 +1560,7 @@ static int smbXsrv_session_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);