mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
2b01818778
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13261 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
52 lines
2.0 KiB
C
52 lines
2.0 KiB
C
/*
|
|
Unix SMB/CIFS implementation.
|
|
Authentication utility functions
|
|
Copyright (C) Volker Lendecke 2010
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef _RPC_CLIENT_UTIL_NETLOGON_H_
|
|
#define _RPC_CLIENT_UTIL_NETLOGON_H_
|
|
|
|
/* The following definitions come from rpc_client/util_netlogon.c */
|
|
|
|
NTSTATUS copy_netr_SamBaseInfo(TALLOC_CTX *mem_ctx,
|
|
const struct netr_SamBaseInfo *in,
|
|
struct netr_SamBaseInfo *out);
|
|
NTSTATUS copy_netr_SamInfo3(TALLOC_CTX *mem_ctx,
|
|
const struct netr_SamInfo3 *in,
|
|
struct netr_SamInfo3 **pout);
|
|
NTSTATUS map_validation_to_info3(TALLOC_CTX *mem_ctx,
|
|
uint16_t validation_level,
|
|
union netr_Validation *validation,
|
|
struct netr_SamInfo3 **info3_p);
|
|
NTSTATUS copy_netr_SamInfo6(TALLOC_CTX *mem_ctx,
|
|
const struct netr_SamInfo6 *in,
|
|
struct netr_SamInfo6 **pout);
|
|
NTSTATUS map_validation_to_info6(TALLOC_CTX *mem_ctx,
|
|
uint16_t validation_level,
|
|
union netr_Validation *validation,
|
|
struct netr_SamInfo6 **info6_p);
|
|
NTSTATUS map_info3_to_validation(TALLOC_CTX *mem_ctx,
|
|
struct netr_SamInfo3 *info3,
|
|
uint16_t *_validation_level,
|
|
union netr_Validation **_validation);
|
|
NTSTATUS map_info6_to_validation(TALLOC_CTX *mem_ctx,
|
|
const struct netr_SamInfo6 *info6,
|
|
uint16_t *_validation_level,
|
|
union netr_Validation **_validation);
|
|
|
|
#endif /* _RPC_CLIENT_UTIL_NETLOGON_H_ */
|