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
,
34 const char *workstation
,
35 const DATA_BLOB
*challenge
,
36 const DATA_BLOB
*lm_response
,
37 const DATA_BLOB
*nt_response
,
40 uint8 user_session_key
[16],
44 /* The following definitions come from utils/ntlm_auth_diagnostics.c */
46 bool diagnose_ntlm_auth(void);
48 #endif /* _NTLM_AUTH_PROTO_H_ */