Fix bug #6557 - Do not work VFS full_audit
[Samba.git] / source / utils / ntlm_auth_proto.h
blobe48a190ed6639a9b53e75d9feecd286601568e6d
1 /*
2 * Unix SMB/CIFS implementation.
3 * collected prototypes header
5 * frozen from "make proto" in May 2008
7 * Copyright (C) Michael Adam 2008
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 3 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, see <http://www.gnu.org/licenses/>.
23 #ifndef _NTLM_AUTH_PROTO_H_
24 #define _NTLM_AUTH_PROTO_H_
27 /* The following definitions come from utils/ntlm_auth.c */
29 const char *get_winbind_domain(void);
30 const char *get_winbind_netbios_name(void);
31 DATA_BLOB get_challenge(void) ;
32 NTSTATUS contact_winbind_auth_crap(const char *username,
33 const char *domain,
34 const char *workstation,
35 const DATA_BLOB *challenge,
36 const DATA_BLOB *lm_response,
37 const DATA_BLOB *nt_response,
38 uint32 flags,
39 uint8 lm_key[8],
40 uint8 user_session_key[16],
41 char **error_string,
42 char **unix_name);
44 /* The following definitions come from utils/ntlm_auth_diagnostics.c */
46 bool diagnose_ntlm_auth(void);
48 #endif /* _NTLM_AUTH_PROTO_H_ */