49#define NTV_SERVER_ERROR 1
50#define NTV_GROUP_ERROR 2
51#define NTV_LOGON_ERROR 3
53#ifndef LOGON32_LOGON_NETWORK
54#define LOGON32_LOGON_NETWORK 3
57#define NTV_DEFAULT_DOMAIN "."
75int Valid_User(
char *UserName,
char *Password,
char *Group);
81#define debug(X...) if (debug_enabled) { \
82 fprintf(stderr,"nt_auth[%d](%s:%d): ", getpid(), \
83 ((__foo=strrchr(__FILE__,'/'))==NULL?__FILE__:__foo+1),\
93 va_start(args,format);
94 fprintf(stderr,
"nt_auth[%d]: ",getpid());
95 vfprintf(stderr, format, args);
int Valid_User(char *USERNAME, char *PASSWORD, const char *SERVER, char *BACKUP, const char *DOMAIN)
static void debug(char *format,...)
char Default_NTDomain[DNLEN+1]