* Sgid bit lost on folder rename. * ACL can get lost when files are being renamed. * Respect "allow trusted domains = no" in Winbind.
46 lines
1.7 KiB
Text
46 lines
1.7 KiB
Text
$NetBSD: patch-aq,v 1.3 2011/06/15 11:45:08 adam Exp $
|
|
|
|
Add support for passwd expand gecos
|
|
|
|
--- param/loadparm.c.orig 2011-06-14 11:17:28.000000000 +0000
|
|
+++ param/loadparm.c
|
|
@@ -310,6 +310,7 @@ struct global {
|
|
bool bUnixPasswdSync;
|
|
bool bPasswdChatDebug;
|
|
int iPasswdChatTimeout;
|
|
+ bool bPasswdExpandGecos;
|
|
bool bTimestampLogs;
|
|
bool bNTSmbSupport;
|
|
bool bNTPipeSupport;
|
|
@@ -1297,6 +1298,15 @@ static struct parm_struct parm_table[] =
|
|
.flags = FLAG_ADVANCED,
|
|
},
|
|
{
|
|
+ .label = "passwd expand gecos",
|
|
+ .type = P_BOOL,
|
|
+ .p_class = P_GLOBAL,
|
|
+ .ptr = &Globals.bPasswdExpandGecos,
|
|
+ .special = NULL,
|
|
+ .enum_list = NULL,
|
|
+ .flags = FLAG_ADVANCED,
|
|
+ },
|
|
+ {
|
|
.label = "check password script",
|
|
.type = P_STRING,
|
|
.p_class = P_GLOBAL,
|
|
@@ -5074,6 +5084,7 @@ static void init_globals(bool first_time
|
|
Globals.bPamPasswordChange = False;
|
|
Globals.bPasswdChatDebug = False;
|
|
Globals.iPasswdChatTimeout = 2; /* 2 second default. */
|
|
+ Globals.bPasswdExpandGecos = False;
|
|
Globals.bNTPipeSupport = True; /* Do NT pipes by default. */
|
|
Globals.bNTStatusSupport = True; /* Use NT status by default. */
|
|
Globals.bStatCache = True; /* use stat cache by default */
|
|
@@ -5528,6 +5539,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)
|
|
+FN_GLOBAL_BOOL(lp_passwd_expand_gecos, &Globals.bPasswdExpandGecos)
|
|
FN_GLOBAL_BOOL(lp_nt_pipe_support, &Globals.bNTPipeSupport)
|
|
FN_GLOBAL_BOOL(lp_nt_status_support, &Globals.bNTStatusSupport)
|
|
FN_GLOBAL_BOOL(lp_stat_cache, &Globals.bStatCache)
|