From 00b985def82acfbc4e36121d5879c1ffae2c68a3 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 6 May 2010 16:47:15 +1000 Subject: 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 --- source4/auth/auth_sam_reply.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/auth/auth_sam_reply.c') 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) -- cgit