/*
- * (C) 2002 Guido Serassio <serassio@libero.it>
+ * (C) 2005 Guido Serassio <guido.serassio@acmeconsulting.it>
* Based on previous work of Francesco Chemolli and Robert Collins
* Distributed freely under the terms of the GNU General Public License,
* version 2. See the file COPYING for licensing details
/*
- * (C) 2002 Guido Serassio <serassio@libero.it>
+ * (C) 2005 Guido Serassio <guido.serassio@acmeconsulting.it>
* Based on previous work of Francesco Chemolli, Robert Collins and Andrew Doran
*
* Distributed freely under the terms of the GNU General Public License,
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.
*/
-#ifndef _NTLM_H_
-#define _NTLM_H_
+#ifndef _NEGOTIATE_H_
+#define _NEGOTIATE_H_
#include "sspwin32.h"
#include <windows.h>
#include <sspi.h>
#include <security.h>
-#include "ntlmauth.h"
#undef debug
/************* CONFIGURATION ***************/
#define SEND3(X,Y,Z) debug("sending '" X "' to squid\n",Y,Z); printf(X "\n",Y,Z);
#endif
-extern int ntlm_errno;
-
-#define NTLM_NO_ERROR 0
-#define NTLM_SSPI_ERROR 1
-#define NTLM_BAD_NTGROUP 2
-#define NTLM_BAD_REQUEST 3
-
-#define NEGOTIATE_LENGTH 16
-
extern void uc(char *);
extern char *negotiate_check_auth(SSP_blobP auth, int auth_length);
#define safe_free(x) if (x) { free(x); x = NULL; }
-#endif /* _NTLM_H_ */
+#endif /* _NEGOTIATE_H_ */
/*
- * win32_ntlm_auth: helper for NTLM Authentication for Squid Cache
+ * mswin_negotiate_auth: helper for Negotiate Authentication for Squid Cache
*
* (C)2005 Guido Serassio - Acme Consulting S.r.l.
*
/*
options:
-d enable debugging.
- -v enable verbose NTLM packet debugging.
+ -v enable verbose Negotiate packet debugging.
*/
char *my_program_name = NULL;
fprintf(stderr,
"Usage: %s [-d] [-v] [-h]\n"
" -d enable debugging.\n"
- " -v enable verbose NTLM packet debugging.\n"
+ " -v enable verbose Negotiate packet debugging.\n"
" -h this message\n\n",
my_program_name);
}
acl internal_icons urlpath_regex -i /squid-internal-static/icons/
http_access allow our_networks internal_icons <== BEFORE authentication ACL !!!
-
-
-===============
-Contact details
-===============
-
-To contact the maintainer of this package, e-mail on squidnt@acmeconsulting.it.
-The latest version may be found on http://www.acmeconsulting.it/SquidNT.htm.