summaryrefslogtreecommitdiff
path: root/libcli/auth/proto.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-04-25 17:01:00 +0200
committerAndreas Schneider <asn@samba.org>2013-08-05 10:30:01 +0200
commitc7319fce604d5f89a89094b6b18ef459a347aef8 (patch)
tree59a08aaa7e2591fe86b7cb5c57c6f07bdb9049a7 /libcli/auth/proto.h
parent291f6a1e031dc9db7d03b3ca924c4309b313cae5 (diff)
downloadsamba-c7319fce604d5f89a89094b6b18ef459a347aef8.tar.gz
samba-c7319fce604d5f89a89094b6b18ef459a347aef8.tar.bz2
samba-c7319fce604d5f89a89094b6b18ef459a347aef8.zip
libcli/auth: add netlogon_creds_[de|en]crypt_samlogon_logon()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libcli/auth/proto.h')
-rw-r--r--libcli/auth/proto.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h
index 6bc18d7820..110e039eae 100644
--- a/libcli/auth/proto.h
+++ b/libcli/auth/proto.h
@@ -64,6 +64,12 @@ void netlogon_creds_decrypt_samlogon_validation(struct netlogon_creds_Credential
void netlogon_creds_encrypt_samlogon_validation(struct netlogon_creds_CredentialState *creds,
uint16_t validation_level,
union netr_Validation *validation);
+void netlogon_creds_decrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds,
+ enum netr_LogonInfoClass level,
+ union netr_LogonLevel *logon);
+void netlogon_creds_encrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds,
+ enum netr_LogonInfoClass level,
+ union netr_LogonLevel *logon);
/* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/session.c */