summaryrefslogtreecommitdiff
path: root/source4/auth/auth_sam_reply.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-06 16:47:15 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-05-18 13:20:07 +1000
commit00b985def82acfbc4e36121d5879c1ffae2c68a3 (patch)
tree1c126df550d018479b7d281290e5ee36e09db0fb /source4/auth/auth_sam_reply.c
parent285b62832779f53b135adae4f2c76c424d193cab (diff)
downloadsamba-00b985def82acfbc4e36121d5879c1ffae2c68a3.tar.gz
samba-00b985def82acfbc4e36121d5879c1ffae2c68a3.tar.bz2
samba-00b985def82acfbc4e36121d5879c1ffae2c68a3.zip
s4:auth Make it clear to the callers the talloc lifetime.
In other times, we might have used talloc_reference here, but this isn't used as much these days. Andrew Bartlett
Diffstat (limited to 'source4/auth/auth_sam_reply.c')
-rw-r--r--source4/auth/auth_sam_reply.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c
index 6cca5e640b..0aa41aeebb 100644
--- a/source4/auth/auth_sam_reply.c
+++ b/source4/auth/auth_sam_reply.c
@@ -105,6 +105,8 @@ NTSTATUS auth_convert_server_info_sambaseinfo(TALLOC_CTX *mem_ctx,
return NT_STATUS_OK;
}
+/* Note that the validity of the _sam3 structure is only as long as
+ * the server_info it was generated from */
NTSTATUS auth_convert_server_info_saminfo3(TALLOC_CTX *mem_ctx,
struct auth_serversupplied_info *server_info,
struct netr_SamInfo3 **_sam3)