search for: p_local

Displaying 19 results from an estimated 19 matches for "p_local".

Did you mean: _local
2002 Feb 24
2
Write-only option
...r_logging; @@ -149,6 +150,7 @@ NULL, /* comment */ DEFAULT_LOCK_FILE, /* lock file */ True, /* read only */ + False, /* write only */ True, /* list */ True, /* use chroot */ False, /* transfer logging */ @@ -265,6 +267,7 @@ {"lock file", P_STRING, P_LOCAL, &sDefault.lock_file, NULL, 0}, {"path", P_STRING, P_LOCAL, &sDefault.path, NULL, 0}, {"read only", P_BOOL, P_LOCAL, &sDefault.read_only, NULL, 0}, + {"write only", P_BOOL, P_LOCAL, &sDefault.w...
2004 Feb 12
1
[PATCH] write only
...FILE, /* lock file */ True, /* read only */ + False, /* write only */ True, /* list */ True, /* use chroot */ False, /* transfer logging */ @@ -276,6 +278,7 @@ static struct parm_struct parm_table[] = {"lock file", P_STRING, P_LOCAL, &sDefault.lock_file, NULL, 0}, {"path", P_PATH, P_LOCAL, &sDefault.path, NULL, 0}, {"read only", P_BOOL, P_LOCAL, &sDefault.read_only, NULL, 0}, + {"write only", P_BOOL, P_LOCAL, &sDefault.w...
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...st all_vars Defaults = { /* max_verbosity; */ 1, /* syslog_facility; */ LOG_DAEMON, /* timeout; */ 0, + /* diffserv; */ 8, /* fake_super; */ False, /* forward_lookup; */ True, @@ -322,6 +326,8 @@ static struct parm_struct parm_table[] = {"auth users", P_STRING, P_LOCAL, &Vars.l.auth_users, NULL,0}, {"charset", P_STRING, P_LOCAL, &Vars.l.charset, NULL,0}, {"comment", P_STRING, P_LOCAL, &Vars.l.comment, NULL,0}, + {"congestion alg", P_STRING, P_LOCAL, &Vars.l.c...
2003 Feb 12
2
rsync & ldap authentication
...P_STRING, P_GLOBAL, &Globals.ldap_root, NULL, 0}, + {"ldap root passwd", P_STRING, P_GLOBAL, &Globals.ldap_root_passwd,NULL,0}, + {"ldap suffix", P_STRING, P_GLOBAL, &Globals.ldap_suffix, NULL, 0}, {"timeout", P_INTEGER, P_LOCAL, &sDefault.timeout, NULL, 0}, {"max connections", P_INTEGER, P_LOCAL, &sDefault.max_connections,NULL, 0}, @@ -279,6 +310,13 @@ {"log format", P_STRING, P_LOCAL, &sDefault.log_format, NULL, 0}, {"refuse options", P_STRING, P_LO...
2003 May 03
0
Storing rsync secrets in LDAP
...P_STRING, P_GLOBAL, &Globals.ldap_root, NULL, 0}, + {"ldap root passwd", P_STRING, P_GLOBAL, &Globals.ldap_root_passwd,NULL,0}, + {"ldap suffix", P_STRING, P_GLOBAL, &Globals.ldap_suffix, NULL, 0}, {"timeout", P_INTEGER, P_LOCAL, &sDefault.timeout, NULL, 0}, {"max connections", P_INTEGER, P_LOCAL, &sDefault.max_connections,NULL, 0}, @@ -284,6 +315,13 @@ {"log format", P_STRING, P_LOCAL, &sDefault.log_format, NULL, 0}, {"refuse options", P_STRING, P_LO...
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 ->
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...gnore_errors; BOOL ignore_nonreadable; @@ -196,6 +197,7 @@ /* max_verbosity; */ 1, /* syslog_facility; */ LOG_DAEMON, /* timeout; */ 0, + /* nice; */ 0, /* ignore_errors; */ False, /* ignore_nonreadable; */ False, @@ -327,6 +329,7 @@ {"syslog facility", P_ENUM, P_LOCAL, &sDefault.syslog_facility,enum_facilities,0}, {"temp dir", P_PATH, P_LOCAL, &sDefault.temp_dir, NULL,0}, {"timeout", P_INTEGER,P_LOCAL, &sDefault.timeout, NULL,0}, + {"nice", P_INTEGER,P_LOCAL, &...
2003 Mar 11
0
PATCH: rsyncd.conf permission options
.../* max connections */ - False /* ignore nonreadable */ + False, /* ignore nonreadable */ + 07777, /* create mask (~S_IFMT) */ + 0, /* force create mode */ + 07777, /* directory mask */ + 0 /* force directory mode */ }; @@ -295,6 +303,10 @@ {"log format", P_STRING, P_LOCAL, &sDefault.log_format, NULL, 0}, {"refuse options", P_STRING, P_LOCAL, &sDefault.refuse_options,NULL, 0}, {"dont compress", P_STRING, P_LOCAL, &sDefault.dont_compress,NULL, 0}, + {"create mask", P_OCTAL, P_LOCAL, &sDefault....
2002 Jun 18
2
rsyncd + scripting
Hey all, Like a lot of folks, I use rsync to pull content out to production web servers. Tastes great, less filling. Here's what I'd like to be able to do: Sometimes a web tree is not ready to sync, for whatever reason. I have many modules available, so stopping ryncd is not an option. I'd like to be able to tell rsync in daemon mode "this particular module is not available at
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
2011 Mar 18
1
[PATCH] s3: Add "spoolss backchannel" parameter
...True, /* bSpoolssBackchannel */ False, /* bMap_system */ False, /* bMap_hidden */ True, /* bMap_archive */ @@ -2642,6 +2644,15 @@ static struct parm_struct parm_table[] = { .flags = FLAG_HIDE, }, { + .label = "spoolss backchannel", + .type = P_BOOL, + .p_class = P_LOCAL, + .ptr = &sDefault.bSpoolssBackchannel, + .special = NULL, + .enum_list = NULL, + .flags = FLAG_ADVANCED, + }, + { .label = "printing", .type = P_ENUM, .p_class = P_LOCAL, @@ -5665,6 +5676,7 @@ FN_LOCAL_BOOL(lp_guest_ok, bGuest_ok) FN_LOCAL_BOOL(lp_guest_only, bGues...
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
...ompress */ 0, /* timeout */ 0, /* max connections */ ! False, /* ignore nonreadable */ ! ! NULL, /* pre-transfer script */ ! NULL, /* post-transfer script */ }; *************** *** 295,300 **** --- 300,307 ---- {"log format", P_STRING, P_LOCAL, &sDefault.log_format, NULL, 0}, {"refuse options", P_STRING, P_LOCAL, &sDefault.refuse_options,NULL, 0}, {"dont compress", P_STRING, P_LOCAL, &sDefault.dont_compress,NULL, 0}, + {"pretransfer script", P_STRING, P_LOCAL, &sD...
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...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.rsync_port, NULL, 0}, {"timeout", P_INTEGER, P_LOCAL, &sDefault.timeout, NULL, 0}, {"max connections", P_INTEGER, P_LOCAL, &sDefault.max_connections,NULL, 0}, @@ -350,6 +352,7 @@ FN_GLOBAL_STRING(lp_socket_options, &Globals.socket_options) FN_GLOBAL_INTEGER(lp_syslog_facility, &Globals.syslog_facility) FN_GLOBA...
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...ec 6 16:07:27 2003 +++ rsync-2.6.0-dar/loadparm.c Sat Mar 6 16:35:39 2004 @@ -135,6 +135,7 @@ char *include; char *include_from; char *log_format; + char *hfs_mode; char *refuse_options; char *dont_compress; int timeout; @@ -293,6 +294,7 @@ {"transfer logging", P_BOOL, P_LOCAL, &sDefault.transfer_logging,NULL,0}, {"ignore errors", P_BOOL, P_LOCAL, &sDefault.ignore_errors,NULL,0}, {"log format", P_STRING, P_LOCAL, &sDefault.log_format, NULL, 0}, + {"HFS mode", P_STRING, P_LOCAL, &sDefault.hf...
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
2008 Dec 23
0
[jra@samba.org: Patch to improve Samba write speeds on Linux ext3 with 3.2.x]
...efaults union - it is not allowed in ANSI C * * The FLAG_HIDE is explicit. Paramters set this way do NOT appear in any edit @@ -2394,11 +2409,11 @@ static struct parm_struct parm_table[] = { }, { .label = "strict allocate", - .type = P_BOOL, + .type = P_ENUM, .p_class = P_LOCAL, - .ptr = &sDefault.bStrictAllocate, + .ptr = &sDefault.iStrictAllocate, .special = NULL, - .enum_list = NULL, + .enum_list = enum_strict_allocate, .flags = FLAG_ADVANCED | FLAG_SHARE, }, { @@ -5274,7 +5289,7 @@ FN_LOCAL_PARM_BOOL(lp_manglednames, bMangledNames) FN_LOCAL_B...
1999 Sep 21
0
[patch] fixing scope id problems
...m.c Tue Sep 21 00:07:04 1999 X@@ -71,6 +71,7 @@ X extern int DEBUGLEVEL; X extern pstring user_socket_options; 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+ {"...
2005 Feb 08
0
Samba patch kludge-gmt fixes red files in WinCvs
...{"time offset", P_INTEGER, P_GLOBAL, &extra_time_offset, NULL, NULL, 0}, + {"kludge GMT", P_BOOL, P_GLOBAL, &use_kludge_gmt, NULL, NULL, FLAG_ADVANCED}, {"NIS homedir", P_BOOL, P_GLOBAL, &Globals.bNISHomeMap, NULL, NULL, 0}, {"-valid", P_BOOL, P_LOCAL, &sDefault.valid, NULL, NULL, FLAG_HIDE},
2003 Apr 15
0
Patch for stderr logging
..., P_BOOL, P_GLOBAL, &Globals.log_timestamp, NULL, 0}, + {"log pid", P_BOOL, P_GLOBAL, &Globals.log_pid, NULL, 0}, {"pid file", P_STRING, P_GLOBAL, &Globals.pid_file, NULL, 0}, {"timeout", P_INTEGER, P_LOCAL, &sDefault.timeout, NULL, 0}, @@ -305,6 +309,8 @@ static void init_globals(void) { memset(&Globals, 0, sizeof(Globals)); + Globals.log_timestamp = True; + Globals.log_pid = True; #ifdef LOG_DAEMON Globals.syslog_facility = LOG_DAEMON; #endif @@ -344,6 +350,8 @@ FN_GLOBAL_ST...