diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-04-24 12:53:27 +0200 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2013-08-05 10:30:01 +0200 |
commit | 2ea749a1a43a6539b01d36dbe0402a99619444e1 (patch) | |
tree | 831e027cc72d3670c94bd3e34891c122b7a7eeff /libcli/auth/proto.h | |
parent | c7319fce604d5f89a89094b6b18ef459a347aef8 (diff) | |
download | samba-2ea749a1a43a6539b01d36dbe0402a99619444e1.tar.gz samba-2ea749a1a43a6539b01d36dbe0402a99619444e1.tar.bz2 samba-2ea749a1a43a6539b01d36dbe0402a99619444e1.zip |
libcli/auth: add netlogon_creds_shallow_copy_logon()
This can be used before netlogon_creds_encrypt_samlogon_logon()
in order to keep the provided buffers unchanged.
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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcli/auth/proto.h b/libcli/auth/proto.h index 110e039eae..0c319d32e7 100644 --- a/libcli/auth/proto.h +++ b/libcli/auth/proto.h @@ -70,6 +70,9 @@ void netlogon_creds_decrypt_samlogon_logon(struct netlogon_creds_CredentialState void netlogon_creds_encrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds, enum netr_LogonInfoClass level, union netr_LogonLevel *logon); +union netr_LogonLevel *netlogon_creds_shallow_copy_logon(TALLOC_CTX *mem_ctx, + enum netr_LogonInfoClass level, + const union netr_LogonLevel *in); /* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/session.c */ |