git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c881c86
)
Make use of talloc_tos() in change_to_user()
author
Volker Lendecke
<vl@samba.org>
Thu, 8 May 2008 09:47:43 +0000
(11:47 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 10 May 2008 09:17:00 +0000
(11:17 +0200)
(This used to be commit
c4bed3a48b86d44ad641250add2fc189af7e72f5
)
source3/smbd/uid.c
patch
|
blob
|
history
diff --git
a/source3/smbd/uid.c
b/source3/smbd/uid.c
index ce8aaa33ea35058d08e49982668f545d57fc0fd8..288ce501394b33cde908f02c92de9d58cab39d17 100644
(file)
--- 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;