root/source3/utils/ntlm_auth_proto.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /*
   2  * Unix SMB/CIFS implementation.
   3  * collected prototypes header
   4  *
   5  * frozen from "make proto" in May 2008
   6  *
   7  * Copyright (C) Michael Adam 2008
   8  *
   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.
  13  *
  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.
  18  *
  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/>.
  21  */
  22 
  23 #ifndef _NTLM_AUTH_PROTO_H_
  24 #define _NTLM_AUTH_PROTO_H_
  25 
  26 
  27 /* The following definitions come from utils/ntlm_auth.c  */
  28 
  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);
  43 
  44 /* The following definitions come from utils/ntlm_auth_diagnostics.c  */
  45 
  46 bool diagnose_ntlm_auth(void);
  47 
  48 #endif /*  _NTLM_AUTH_PROTO_H_  */

/* [<][>][^][v][top][bottom][index][help] */