summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-08 11:47:43 +0200
committerVolker Lendecke <vl@samba.org>2008-05-10 11:17:00 +0200
commite2b9ac714b0f7aeece4ebe8772b7f8380356818d (patch)
tree93a8144d443f9489f19f4bf70eeae24ca49cb3ee /source3/smbd
parentc881c866d656bacb30180b574f3634db26deb37a (diff)
downloadsamba-e2b9ac714b0f7aeece4ebe8772b7f8380356818d.tar.gz
samba-e2b9ac714b0f7aeece4ebe8772b7f8380356818d.tar.bz2
samba-e2b9ac714b0f7aeece4ebe8772b7f8380356818d.zip
Make use of talloc_tos() in change_to_user()
(This used to be commit c4bed3a48b86d44ad641250add2fc189af7e72f5)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/uid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index ce8aaa33ea..288ce50139 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -199,7 +199,7 @@ bool change_to_user(connection_struct *conn, uint16 vuid)
if((group_c = *lp_force_group(snum))) {
- token = dup_nt_token(NULL, token);
+ token = dup_nt_token(talloc_tos(), token);
if (token == NULL) {
DEBUG(0, ("dup_nt_token failed\n"));
return False;