diff options
author | Simo Sorce <idra@samba.org> | 2010-08-26 18:48:46 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-08-30 14:24:30 +0200 |
commit | 08a8e25d6bfc559b56250efcce8e73845de23194 (patch) | |
tree | 2803c4392b2ddb7c2345e840ef1c1c7a8b405513 /source3/include/proto.h | |
parent | ce60d6d9cf3ebc6b071ebd944047f7cbc2b9e2ec (diff) | |
download | samba-08a8e25d6bfc559b56250efcce8e73845de23194.tar.gz samba-08a8e25d6bfc559b56250efcce8e73845de23194.tar.bz2 samba-08a8e25d6bfc559b56250efcce8e73845de23194.zip |
s3-auth: add helper to get server_info out of kerberos info
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index db31127065..7af0d08011 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4867,6 +4867,14 @@ NTSTATUS get_user_from_kerberos_info(TALLOC_CTX *mem_ctx, char **ntdomain, char **username, struct passwd **_pw); +NTSTATUS make_server_info_krb5(TALLOC_CTX *mem_ctx, + char *ntuser, + char *ntdomain, + char *username, + struct passwd *pw, + struct PAC_LOGON_INFO *logon_info, + bool mapped_to_guest, + struct auth_serversupplied_info **server_info); /* The following definitions come from smbd/message.c */ |