summaryrefslogtreecommitdiff
path: root/net/samba35/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'net/samba35/patches/patch-aq')
-rw-r--r--net/samba35/patches/patch-aq12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/samba35/patches/patch-aq b/net/samba35/patches/patch-aq
index 6471f9139a5..976f268e302 100644
--- a/net/samba35/patches/patch-aq
+++ b/net/samba35/patches/patch-aq
@@ -1,10 +1,10 @@
-$NetBSD: patch-aq,v 1.1.1.1 2010/12/06 17:01:23 adam Exp $
+$NetBSD: patch-aq,v 1.2 2011/03/08 08:30:08 adam Exp $
Add support for passwd expand gecos
---- param/loadparm.c.orig 2010-02-25 09:46:35.000000000 +0000
+--- param/loadparm.c.orig 2011-03-06 18:48:05.000000000 +0000
+++ param/loadparm.c
-@@ -297,6 +298,7 @@ struct global {
+@@ -310,6 +310,7 @@ struct global {
bool bUnixPasswdSync;
bool bPasswdChatDebug;
int iPasswdChatTimeout;
@@ -12,7 +12,7 @@ Add support for passwd expand gecos
bool bTimestampLogs;
bool bNTSmbSupport;
bool bNTPipeSupport;
-@@ -1248,6 +1250,15 @@ static struct parm_struct parm_table[] =
+@@ -1296,6 +1297,15 @@ static struct parm_struct parm_table[] =
.flags = FLAG_ADVANCED,
},
{
@@ -28,7 +28,7 @@ Add support for passwd expand gecos
.label = "check password script",
.type = P_STRING,
.p_class = P_GLOBAL,
-@@ -4759,6 +4780,7 @@ static void init_globals(bool first_time
+@@ -5064,6 +5074,7 @@ static void init_globals(bool first_time
Globals.bPamPasswordChange = False;
Globals.bPasswdChatDebug = False;
Globals.iPasswdChatTimeout = 2; /* 2 second default. */
@@ -36,7 +36,7 @@ Add support for passwd expand gecos
Globals.bNTPipeSupport = True; /* Do NT pipes by default. */
Globals.bNTStatusSupport = True; /* Use NT status by default. */
Globals.bStatCache = True; /* use stat cache by default */
-@@ -5178,6 +5201,7 @@ FN_GLOBAL_BOOL(lp_pam_password_change, &
+@@ -5518,6 +5529,7 @@ FN_GLOBAL_BOOL(lp_pam_password_change, &
FN_GLOBAL_BOOL(lp_unix_password_sync, &Globals.bUnixPasswdSync)
FN_GLOBAL_BOOL(lp_passwd_chat_debug, &Globals.bPasswdChatDebug)
FN_GLOBAL_INTEGER(lp_passwd_chat_timeout, &Globals.iPasswdChatTimeout)