ctdb-eventscripts: Update comment in 11.routing
[Samba.git] / source3 / utils / ntlm_auth_proto.h
blobae26c948b83c91dd7fe407cee0b7c315bf789bac
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 uint32 extra_logon_parameters,
40 uint8 lm_key[8],
41 uint8 user_session_key[16],
42 char **error_string,
43 char **unix_name);
45 /* The following definitions come from utils/ntlm_auth_diagnostics.c */
47 bool diagnose_ntlm_auth(void);
48 int get_pam_winbind_config(void);
50 #endif /* _NTLM_AUTH_PROTO_H_ */