summaryrefslogtreecommitdiff
path: root/www/ap-auth-ntlm/patches
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2008-10-17 19:23:25 +0000
committersborrill <sborrill@pkgsrc.org>2008-10-17 19:23:25 +0000
commite7d22eb534b1eb10c60176dc4a968c8a30dab4b3 (patch)
tree0b27a575745b61a7646acd7d8f1bb2e943fbd28b /www/ap-auth-ntlm/patches
parent3460dbacf83804494940ddd6d2fb8dd104755196 (diff)
downloadpkgsrc-e7d22eb534b1eb10c60176dc4a968c8a30dab4b3.tar.gz
NTLM is an authentication protocol used by Microsoft Internet Informations
Server(tm) and Microsoft Internet Explorer(tm). While it is not really secure, it offers background authentication (the workstation logon credentials of users are passed through to the web server). This feature is widely used in intranets based on these Microsoft products. This module is implementing NTLM authentication for Apache on Unix platforms. It is available free of charges under the BSD License.
Diffstat (limited to 'www/ap-auth-ntlm/patches')
-rw-r--r--www/ap-auth-ntlm/patches/patch-ntlmssp.inc.c8
-rw-r--r--www/ap-auth-ntlm/patches/patch-smbencrypt.inc.c13
-rw-r--r--www/ap-auth-ntlm/patches/patch-smblib.inc.c23
3 files changed, 44 insertions, 0 deletions
diff --git a/www/ap-auth-ntlm/patches/patch-ntlmssp.inc.c b/www/ap-auth-ntlm/patches/patch-ntlmssp.inc.c
new file mode 100644
index 00000000000..a88f3b1e1db
--- /dev/null
+++ b/www/ap-auth-ntlm/patches/patch-ntlmssp.inc.c
@@ -0,0 +1,8 @@
+$NetBSD: patch-ntlmssp.inc.c,v 1.1.1.1 2008/10/17 19:23:25 sborrill Exp $
+--- ntlmssp.inc.c.orig 2004-02-19 15:24:08.000000000 +0000
++++ ntlmssp.inc.c 2008-10-17 17:53:34.000000000 +0100
+@@ -1,3 +1,4 @@
++#include "httpd/httpd.h"
+ /*
+ * $Id: patch-ntlmssp.inc.c,v 1.1.1.1 2008/10/17 19:23:25 sborrill Exp $
+ *
diff --git a/www/ap-auth-ntlm/patches/patch-smbencrypt.inc.c b/www/ap-auth-ntlm/patches/patch-smbencrypt.inc.c
new file mode 100644
index 00000000000..373a65b9942
--- /dev/null
+++ b/www/ap-auth-ntlm/patches/patch-smbencrypt.inc.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-smbencrypt.inc.c,v 1.1.1.1 2008/10/17 19:23:25 sborrill Exp $
+--- smbval/smbencrypt.inc.c.orig 2003-06-05 20:21:26.000000000 +0100
++++ smbval/smbencrypt.inc.c 2008-10-17 17:47:37.000000000 +0100
+@@ -19,7 +19,9 @@
+ #include <arpa/inet.h>
+ #include <dirent.h>
+ #include <string.h>
++#ifndef __NetBSD__
+ #include <sys/vfs.h>
++#endif
+ #include <netinet/in.h>
+
+ #include "smblib-priv.h"
diff --git a/www/ap-auth-ntlm/patches/patch-smblib.inc.c b/www/ap-auth-ntlm/patches/patch-smblib.inc.c
new file mode 100644
index 00000000000..bb488366aa1
--- /dev/null
+++ b/www/ap-auth-ntlm/patches/patch-smblib.inc.c
@@ -0,0 +1,23 @@
+$NetBSD: patch-smblib.inc.c,v 1.1.1.1 2008/10/17 19:23:25 sborrill Exp $
+--- smbval/smblib.inc.c.orig 2004-02-19 15:24:46.000000000 +0000
++++ smbval/smblib.inc.c 2008-10-17 17:50:39.000000000 +0100
+@@ -22,8 +22,8 @@
+ #include <stdio.h>
+ #include <malloc.h>
+
+-static int SMBlib_errno;
+-static int SMBlib_SMB_Error;
++int SMBlib_errno;
++int SMBlib_SMB_Error;
+ #define SMBLIB_ERRNO
+ #define uchar unsigned char
+ #include "smblib-priv.h"
+@@ -33,7 +33,7 @@
+
+ #include <signal.h>
+
+-static SMB_State_Types SMBlib_State;
++SMB_State_Types SMBlib_State;
+
+ /* Initialize the SMBlib package */
+ static int