diff options
author | Günther Deschner <gd@samba.org> | 2012-12-19 13:53:23 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-08-05 10:30:00 +0200 |
commit | a9d5b2fdf03a25e7669258de6c83288be3335cef (patch) | |
tree | f9ae1fdea8bf980f26e4b8caa096568a1e36400e /libcli | |
parent | b19e7e6638a5dd53e3c6e6701f78bf31184ed493 (diff) | |
download | samba-a9d5b2fdf03a25e7669258de6c83288be3335cef.tar.gz samba-a9d5b2fdf03a25e7669258de6c83288be3335cef.tar.bz2 samba-a9d5b2fdf03a25e7669258de6c83288be3335cef.zip |
libcli/auth: also set secure channel type in netlogon_creds_client_init().
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/auth/credentials.c | 2 | ||||
-rw-r--r-- | libcli/auth/proto.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/libcli/auth/credentials.c b/libcli/auth/credentials.c index 7c8d53cf8d..fb77ede197 100644 --- a/libcli/auth/credentials.c +++ b/libcli/auth/credentials.c @@ -263,6 +263,7 @@ next comes the client specific functions struct netlogon_creds_CredentialState *netlogon_creds_client_init(TALLOC_CTX *mem_ctx, const char *client_account, const char *client_computer_name, + uint16_t secure_channel_type, const struct netr_Credential *client_challenge, const struct netr_Credential *server_challenge, const struct samr_Password *machine_password, @@ -277,6 +278,7 @@ struct netlogon_creds_CredentialState *netlogon_creds_client_init(TALLOC_CTX *me creds->sequence = time(NULL); creds->negotiate_flags = negotiate_flags; + creds->secure_channel_type = secure_channel_type; creds->computer_name = talloc_strdup(creds, client_computer_name); if (!creds->computer_name) { diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h index 89a732e052..6bc18d7820 100644 --- a/libcli/auth/proto.h +++ b/libcli/auth/proto.h @@ -26,6 +26,7 @@ next comes the client specific functions struct netlogon_creds_CredentialState *netlogon_creds_client_init(TALLOC_CTX *mem_ctx, const char *client_account, const char *client_computer_name, + uint16_t secure_channel_type, const struct netr_Credential *client_challenge, const struct netr_Credential *server_challenge, const struct samr_Password *machine_password, |