Displaying 20 results from an estimated 21 matches for "p_string".
Did you mean:
d_string
2003 Feb 12
2
rsync & ldap authentication
...*/
+ NULL, /* 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, &...
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, &...
2013 Dec 10
1
Delayed variable expansion for P_PATH/P_STRING is missing (loadparm.c)
...path = /home/%USER%/test
<<<
At execution time an error occurs:
>>>
rsync: chroot /home/%USER%/test failed: No such file or directory (2)
<<<
That means the config parameter expansion did not work at runtime.
In loadparm.c line 668 there is a special handling of P_PATH/P_STRING
parameters:
>>>
/* now switch on the type of variable it is */
switch (parm_table[parmnum].type) {
case P_PATH:
case P_STRING:
/* delay expansion of vars */
break;
default:
/* expand any %VARS% now */
parmvalue = expand_vars(parmvalue);...
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...static const 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, &...
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
1999 Sep 21
0
[patch] fixing scope id problems
...+++ loadparm.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...
2000 Jan 30
0
More checks for param/loadparm.c
...d_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, handle_netbios_name, NULL, FLAG_BASIC|FLAG_DOS_STRING},
> {"netbios aliases", P_STRING, P_GLOBAL, &Globals.szN...
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
2002 Feb 24
2
Write-only option
...OOL transfer_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, &...
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
.../* dont compress */
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...
2003 Mar 11
0
PATCH: rsyncd.conf permission options
...0, /* 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, &...
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...--- rsync-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, &...
2005 Feb 08
0
Samba patch kludge-gmt fixes red files in WinCvs
...arm.c Sat 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_klud...
2005 Oct 09
1
[Fwd: Re: [Swig] typemap + default argument bug?]
...ent bug?
Date: Tue, 27 Sep 2005 15:57:52 -0400 (EDT)
From: Josh Cherry <jcherry@ncbi.nlm.nih.gov>
To: Charles@Schwieters.org
CC: swig@cs.uchicago.edu
On Tue, 27 Sep 2005 Charles@Schwieters.org wrote:
> _wrap_new_ClassB calls SWIG_ConvertPtr to convert the instanceName
> argument to a p_String, thereby ignoring the typemap.
>
> Previous versions of swig do not seem to exhibit this behavior (I
> checked 1.3.22 and 1.3.24). They seem to treat the instanceName
> argument as a PyObject* before calling stringTypemap.
>
> Do I misunderstand something, or is this a bug in 1.3....
2003 Apr 15
0
Patch for stderr logging
...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, &Globals.log_timestamp, NULL, 0},
+ {"log pid", P_BOOL, P_GLOBAL, &...
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...har *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.hfs_mode, NULL, 0},
{"refuse options", P_STRING, P_LOCAL, &sDefault.refuse_options,NULL, 0},
{"dont compress", P_STRING, P_LOCAL, &...
2009 Apr 22
1
[PATCH] allow to disable SLP with runtime option
...OBAL,&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_STRING, P_GLOBAL,&Globals.socket_options, NULL,0},
@@ -402,6 +404,7 @@ FN_GLOBAL_STRING(lp_socket_options, &Glo
FN_GLOBAL_INTEGER(lp_rsync_port, &Globals.rsync_port)
#ifdef HAVE_LIBSLP
FN_GLOBAL_INTEGER(lp_slp_refresh, &Globals.slp_refresh)
+FN_GLOBAL_BOOL(lp_disable_slp, &Glo...
2011 Jun 11
0
RFE: Proposed fix for incompat introduced with 'unix extensions' and 'wide links'....in 3.4(?)..
...ags = 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.bClientManagedWidelinks = False;
Globals.bUnixExtensions = True;
Globals.bResetOnZeroVC = False;
Globals.bCreateKrb5Conf = true;
@@ -5535,6 +5546,7 @@
FN_GLOBAL_BOOL(lp_enhanced_browsing, &Globals....
2004 Feb 12
1
[PATCH] write only
...FAULT_LOCK_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, &...
2007 Oct 10
0
patch for rsync: provides "nice = N" option
...ot;, P_INTEGER,P_LOCAL, &sDefault.timeout, NULL,0},
+ {"nice", P_INTEGER,P_LOCAL, &sDefault.niceval, NULL,0},
{"transfer logging", P_BOOL, P_LOCAL, &sDefault.transfer_logging, NULL,0},
{"uid", P_STRING, P_LOCAL, &sDefault.uid, NULL,0},
{"use chroot", P_BOOL, P_LOCAL, &sDefault.use_chroot, NULL,0},
@@ -411,6 +414,7 @@
FN_LOCAL_INTEGER(lp_max_connections, max_connections)
FN_LOCAL_INTEGER(lp_max_verbosity, max_verbosity)
FN_LOCAL_INTEGER(lp_timeo...