Displaying 17 results from an estimated 17 matches for "p_global".
Did you mean:
_global
1999 Sep 21
0
[patch] fixing scope id problems
...ns;
X extern pstring global_myname;
X+extern pstring scope;
X
X #ifndef GLOBAL_NAME
X #define GLOBAL_NAME "global"
X@@ -532,6 +533,7 @@
X {"directory", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, 0},
X {"workgroup", P_USTRING, P_GLOBAL, &Globals.szWorkGroup, NULL, NULL, FLAG_BASIC},
X {"netbios name", P_UGSTRING,P_GLOBAL, global_myname, NULL, NULL, FLAG_BASIC},
X+ {"scope id", P_UGSTRING,P_GLOBAL, scope, NULL, NULL, FLAG_BASIC},
X {&qu...
2000 Jan 30
0
More checks for param/loadparm.c
...szParmValue,char **ptr);
> static BOOL handle_netbios_aliases(char *pszParmValue,char **ptr);
> static BOOL handle_password_server(char *pszParmValue, char **parm_ptr);
> static BOOL validate_netbios_name(char *pszParmValue);
542,543c546,547
< {"netbios name", P_UGSTRING,P_GLOBAL, global_myname, NULL, netbios_name, FLAG_BASIC|FLAG_DOS_STRING},
< {"netbios aliases", P_STRING, P_GLOBAL, &Globals.szNetbiosAliases, NULL, NULL, FLAG_DOS_STRING},
---
> {"netbios name", P_UGSTRING,P_GLOBAL, global_myname, han...
2003 Feb 12
2
rsync & ldap authentication
.../* ldap filter */
+ NULL, /* ldap passwd attribute */
+ NULL, /* ldap auth usergroup */
+ "uniquemember" /* ldap auth users attribute */
+#ifdef WITH_MANGLE_USER
+ ,
+ NULL /* mangle user */
+#endif
};
@@ -252,6 +278,11 @@
{"socket options", P_STRING, P_GLOBAL, &Globals.socket_options,NULL, 0},
{"log file", P_STRING, P_GLOBAL, &Globals.log_file, NULL, 0},
{"pid file", P_STRING, P_GLOBAL, &Globals.pid_file, NULL, 0},
+ {"ldap server", P_STRING, P_GLOBAL, &Globals.lda...
2003 May 03
0
Storing rsync secrets in LDAP
...NULL, /* ldap passwd attribute */
+ NULL, /* ldap auth usergroup */
+ "uniquemember" /* ldap auth users attribute */
+#ifdef WITH_MANGLE_USER
+ ,
+ NULL /* mangle user */
+#endif
};
@@ -257,6 +283,11 @@
{"socket options", P_STRING, P_GLOBAL, &Globals.socket_options,NULL, 0},
{"log file", P_STRING, P_GLOBAL, &Globals.log_file, NULL, 0},
{"pid file", P_STRING, P_GLOBAL, &Globals.pid_file, NULL, 0},
+ {"ldap server", P_STRING, P_GLOBAL, &Globals.lda...
2005 Feb 08
0
Samba patch kludge-gmt fixes red files in WinCvs
...May 8 03:07:10 2004
+++ samba-2.2.9/source/param/loadparm.c Fri Oct 22 15:40:35 2004
@@ -94,6 +94,7 @@
BOOL use_getwd_cache = True;
extern int extra_time_offset;
+extern BOOL use_kludge_gmt;
static BOOL defaults_saved = False;
@@ -1065,6 +1066,7 @@
{"socket address", P_STRING, P_GLOBAL, &Globals.szSocketAddress, NULL, NULL, 0},
{"homedir map", P_STRING, P_GLOBAL, &Globals.szNISHomeMapName, NULL, NULL, 0},
{"time offset", P_INTEGER, P_GLOBAL, &extra_time_offset, NULL, NULL, 0},
+ {"kludge GMT", P_BOOL, P_GLOBAL, &use_kludge_gmt, NU...
2003 Dec 01
0
No subject
...min_passwd_length;=0A=
int oplock_break_wait_time;=0A=
int winbind_cache_time;=0A=
+ int winbind_primary_group;=0A=
+ BOOL bWinbindForcePrimary;=0A=
int iLockSpinCount;=0A=
int iLockSpinTime;=0A=
#ifdef WITH_LDAP_SAM=0A=
@@ -1098,6 +1100,8 @@=0A=
{"winbind enum users", P_BOOL, P_GLOBAL, &Globals.bWinbindEnumUsers, =
NULL, NULL, 0},=0A=
{"winbind enum groups", P_BOOL, P_GLOBAL, =
&Globals.bWinbindEnumGroups, NULL, NULL, 0},=0A=
{"winbind use default domain", P_BOOL, P_GLOBAL, =
&Globals.bWinbindUseDefaultDomain, NULL, NULL, 0},=0A=
+ {"winb...
2009 Apr 22
1
[PATCH] allow to disable SLP with runtime option
...sync-3.0.6pre1/loadparm.c 2009-04-22 13:30:39.000000000 +0200
@@ -111,6 +111,7 @@ typedef struct
int rsync_port;
#ifdef HAVE_LIBSLP
int slp_refresh;
+ BOOL disable_slp;
#endif
} global;
@@ -305,6 +306,7 @@ static struct parm_struct parm_table[] =
{"port", P_INTEGER,P_GLOBAL,&Globals.rsync_port, NULL,0},
#ifdef HAVE_LIBSLP
{"slp refresh", P_INTEGER,P_GLOBAL,&Globals.slp_refresh, NULL,0},
+ {"disable slp", P_BOOL, P_GLOBAL,&Globals.disable_slp, NULL,0},
#endif
{"socket options", P_ST...
2000 Jan 28
1
PATCH: 'source environment' param and % token subs for 'netbios name'
Attached please find unified diffs against Samba 2.0.6. I'm hoping that
others will find it useful and that it may even find its way into Samba
2.0.7
This patch does two things:
- Modifies the handling of the 'netbios name' parameter so that
standard_sub_basic() is run on its value when the 'netbios name'
parameter is processed.
This has to be done this way because
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...2.6.2/loadparm.c Wed Feb 4 02:31:29 2004
+++ rsync-dmn/loadparm.c Tue Sep 28 12:56:51 2004
@@ -104,6 +104,7 @@
char *socket_options;
int syslog_facility;
int max_verbosity;
+ int rsync_port;
} global;
static global Globals;
@@ -269,6 +270,7 @@
{"log file", P_STRING, P_GLOBAL, &Globals.log_file, NULL, 0},
{"pid file", P_STRING, P_GLOBAL, &Globals.pid_file, NULL, 0},
{"max verbosity", P_INTEGER, P_GLOBAL, &Globals.max_verbosity, NULL, 0},
+ {"port", P_INTEGER, P_GLOBAL, &Globals.rsy...
2003 Apr 15
0
Patch for stderr logging
...3 00:06:02 2003
+++ rsync-2.5.6.new/loadparm.c Sat Apr 12 23:52:58 2003
@@ -100,6 +100,8 @@
{
char *motd_file;
char *log_file;
+ BOOL log_timestamp;
+ BOOL log_pid;
char *pid_file;
int syslog_facility;
char *socket_options;
@@ -267,6 +269,8 @@
{"syslog facility", P_ENUM, P_GLOBAL, &Globals.syslog_facility, enum_facilities,0},
{"socket options", P_STRING, P_GLOBAL, &Globals.socket_options,NULL, 0},
{"log file", P_STRING, P_GLOBAL, &Globals.log_file, NULL, 0},
+ {"log timestamp", P_BOOL, P_GLOBAL, &...
2011 Jun 11
0
RFE: Proposed fix for incompat introduced with 'unix extensions' and 'wide links'....in 3.4(?)..
...HostMSDfs;
bool bUseMmap;
bool bHostnameLookups;
+ bool bClientManagedWidelinks;
bool bUnixExtensions;
bool bDisableNetbios;
char * szDedicatedKeytabFile;
@@ -939,6 +940,15 @@
.flags = FLAG_ADVANCED
},
{
+ .label = "client managed wide links",
+ .type = P_BOOL,
+ .p_class = P_GLOBAL,
+ .ptr = &Globals.bClientManagedWidelinks,
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED
+ },
+ {
.label = "unix charset",
.type = P_STRING,
.p_class = P_GLOBAL,
@@ -5085,6 +5095,7 @@
#else
Globals.bUseMmap = True;
#endif
+ Globals.bClientManagedWide...
2002 Jul 17
0
user password expiration patch (Samba 2.2.4/2.2.5 PDC with LDAP)
...announce_as; /* This is initialised in init_globals */
int machine_password_timeout;
+ int user_password_expiration;
int change_notify_timeout;
int stat_cache_size;
int map_to_guest;
@@ -953,6 +954,8 @@
#endif /* USING_GROUPNAME_MAP */
{"machine password timeout", P_INTEGER, P_GLOBAL,
&Globals.machine_password_timeout, NULL, NULL, 0},
+
+ {"user password expiration", P_INTEGER, P_GLOBAL,
&Globals.user_password_expiration, NULL, NULL, 0},
{"Logon Options", P_SEP, P_SEPARATOR},
@@ -1327,6 +1330,7 @@
Globals.max_wins_ttl = 60 * 60 * 24 * 6;...
2000 Feb 18
0
Different Domain Login.
...requal(lp_workgroup(), domain)) {
> fstrcpy(domain,lp_defaultauthdomain());
> }
> }
>
-- param/loadparm.c --
# diff param/loadparm.c.orig param/loadparm.c
122a123
> char *szDefaultAuthDomain;
540a542
> {"default authentication domain", P_USTRING, P_GLOBAL, &Globals.szDefaultAuthDomain, NULL, NULL, FLAG_BASIC|FLAG_DOS_STRING},
1182a1185
> FN_GLOBAL_STRING(lp_defaultauthdomain,&Globals.szDefaultAuthDomain)
-- include/proto.h --
# diff include/proto.h.orig include/proto.h
1006a1007
> char *lp_defaultauthdomain(void);
Ryan W...
2000 Feb 18
0
Different Domain Login. UPDATED
...requal(lp_workgroup(), domain)) {
> fstrcpy(domain,lp_defaultauthdomain());
> }
> }
>
-- param/loadparm.c --
# diff param/loadparm.c.orig param/loadparm.c
122a123
> char *szDefaultAuthDomain;
540a542
> {"default authentication domain", P_USTRING, P_GLOBAL, &Globals.szDefaultAuthDomain, NULL, NULL, FLAG_BASIC|FLAG_DOS_STRING},
1182a1185
> FN_GLOBAL_STRING(lp_defaultauthdomain,&Globals.szDefaultAuthDomain)
-- include/proto.h --
# diff include/proto.h.orig include/proto.h
1006a1007
> char *lp_defaultauthdomain(void);
Ryan W...
2002 Mar 15
1
disabling offline caching from samba
I'm preparing to roll out a bunch of win XP clients and and am running
down all the quirks
that come up in the application log on my test box.
1) AutoEnrollement fails - samba is not an active directory so this
makes sense
it must be disabled by editing the group policy
with gpedit.msc
computer configuration->windows settings -> security settings -> public
key policies ->
2003 Dec 01
0
No subject
...49:19 2001
@@ -223,6 +223,9 @@
char *sslClientCert;
char *sslClientPrivKey;
char *sslCiphers;
+ char *sslEgdSocket;
+ char *sslEntropyFile;
+ int sslEntropyBytes;
BOOL sslEnabled;
BOOL sslReqClientCert;
BOOL sslReqServerCert;
@@ -749,6 +752,9 @@
{"ssl server key", P_STRING, P_GLOBAL, &Globals.sslPrivKey, NULL, NULL, 0},
{"ssl client cert", P_STRING, P_GLOBAL, &Globals.sslClientCert, NULL, NULL, 0},
{"ssl client key", P_STRING, P_GLOBAL, &Globals.sslClientPrivKey, NULL, NULL, 0},
+ {"ssl egd socket", P_STRING, P_GLOBAL, &Globals...
1999 Jul 02
1
preexec: return code not used? (PR#18576)
T.D.Lee@durham.ac.uk wrote:
>
>
> But we'd like to go one step further and have the return code from preexec
> be used to continue or abort the connection being established. The script
> above would be modified to generate this return code.
>
> Looking through the source code (smbd/service.c), it doesn't seem to check
> the return code (calling smbrun to do the