diff options
author | Andreas Schneider <asn@samba.org> | 2013-12-13 19:11:01 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-05 11:41:25 +1300 |
commit | 1b59c9743cf3fbd66b0b8b52162b2cc8d922e5cf (patch) | |
tree | 8df838ed28eb6b50c0246c1fcd4e507c78b5085f /source3/auth/proto.h | |
parent | 1bb11c7744df6928cb8a096373ab920366b38770 (diff) | |
download | samba-1b59c9743cf3fbd66b0b8b52162b2cc8d922e5cf.tar.gz samba-1b59c9743cf3fbd66b0b8b52162b2cc8d922e5cf.tar.xz samba-1b59c9743cf3fbd66b0b8b52162b2cc8d922e5cf.zip |
s3-auth: Pass talloc context to make_server_info_pw().
Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/auth/proto.h')
-rw-r--r-- | source3/auth/proto.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/auth/proto.h b/source3/auth/proto.h index 8385e66582..7abca07951 100644 --- a/source3/auth/proto.h +++ b/source3/auth/proto.h @@ -206,9 +206,10 @@ bool user_in_group_sid(const char *username, const struct dom_sid *group_sid); bool user_sid_in_group_sid(const struct dom_sid *sid, const struct dom_sid *group_sid); bool user_in_group(const char *username, const char *groupname); struct passwd; -NTSTATUS make_server_info_pw(struct auth_serversupplied_info **server_info, - char *unix_username, - struct passwd *pwd); +NTSTATUS make_server_info_pw(TALLOC_CTX *mem_ctx, + const char *unix_username, + const struct passwd *pwd, + struct auth_serversupplied_info **server_info); NTSTATUS make_session_info_from_username(TALLOC_CTX *mem_ctx, const char *username, bool is_guest, |