search for: fn_local_str

Displaying 15 results from an estimated 15 matches for "fn_local_str".

2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...l.dont_compress, NULL,0}, {"exclude from", P_STRING, P_LOCAL, &Vars.l.exclude_from, NULL,0}, {"exclude", P_STRING, P_LOCAL, &Vars.l.exclude, NULL,0}, @@ -454,6 +460,7 @@ FN_GLOBAL_INTEGER(lp_rsync_port, &Vars.g.rsync_port) FN_LOCAL_STRING(lp_auth_users, auth_users) FN_LOCAL_STRING(lp_charset, charset) FN_LOCAL_STRING(lp_comment, comment) +FN_LOCAL_STRING(lp_congestion_alg, congestion_alg) FN_LOCAL_STRING(lp_dont_compress, dont_compress) FN_LOCAL_STRING(lp_exclude, exclude) FN_LOCAL_STRING(lp_exclude_from, exclude_from) @@ -4...
2003 Feb 12
2
rsync & ldap authentication
..._NONE, NULL, NULL, 0} }; @@ -292,6 +330,9 @@ #ifdef LOG_DAEMON Globals.syslog_facility = LOG_DAEMON; #endif +#ifdef WITH_LDAP + Globals.ldap_port = LDAP_PORT; +#endif } /*************************************************************************** @@ -358,6 +399,21 @@ FN_LOCAL_STRING(lp_dont_compress, dont_compress) FN_LOCAL_INTEGER(lp_timeout, timeout) FN_LOCAL_INTEGER(lp_max_connections, max_connections) + +FN_GLOBAL_STRING(lp_ldap_server, &Globals.ldap_server) +FN_GLOBAL_INTEGER(lp_ldap_port, &Globals.ldap_port) +FN_GLOBAL_STRING(lp_ldap_root, &Globals.ldap_...
2003 May 03
0
Storing rsync secrets in LDAP
...L, NULL, 0} }; @@ -297,6 +335,9 @@ #ifdef LOG_DAEMON Globals.syslog_facility = LOG_DAEMON; #endif +#ifdef WITH_LDAP + Globals.ldap_port = LDAP_PORT; +#endif } /*************************************************************************** @@ -363,6 +404,21 @@ FN_LOCAL_STRING(lp_dont_compress, dont_compress) FN_LOCAL_INTEGER(lp_timeout, timeout) FN_LOCAL_INTEGER(lp_max_connections, max_connections) + +FN_GLOBAL_STRING(lp_ldap_server, &Globals.ldap_server) +FN_GLOBAL_INTEGER(lp_ldap_port, &Globals.ldap_port) +FN_GLOBAL_STRING(lp_ldap_root, &Globals.ldap_...
2002 Feb 24
2
Write-only option
...ist", P_BOOL, P_LOCAL, &sDefault.list, NULL, 0}, {"use chroot", P_BOOL, P_LOCAL, &sDefault.use_chroot, NULL, 0}, {"ignore nonreadable",P_BOOL, P_LOCAL, &sDefault.ignore_nonreadable, NULL, 0}, @@ -342,6 +345,7 @@ FN_LOCAL_STRING(lp_path, path) FN_LOCAL_STRING(lp_lock_file, lock_file) FN_LOCAL_BOOL(lp_read_only, read_only) +FN_LOCAL_BOOL(lp_write_only, write_only) FN_LOCAL_BOOL(lp_list, list) FN_LOCAL_BOOL(lp_use_chroot, use_chroot) FN_LOCAL_BOOL(lp_transfer_logging, transfer_logging) diff -urN rsync-2.5.2.orig/main...
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
2004 Feb 12
1
[PATCH] write only
...list", P_BOOL, P_LOCAL, &sDefault.list, NULL, 0}, {"use chroot", P_BOOL, P_LOCAL, &sDefault.use_chroot, NULL, 0}, {"ignore nonreadable",P_BOOL, P_LOCAL, &sDefault.ignore_nonreadable, NULL, 0}, @@ -353,6 +356,7 @@ FN_LOCAL_STRING(lp_comment, comment) FN_LOCAL_STRING(lp_path, path) FN_LOCAL_STRING(lp_lock_file, lock_file) FN_LOCAL_BOOL(lp_read_only, read_only) +FN_LOCAL_BOOL(lp_write_only, write_only) FN_LOCAL_BOOL(lp_list, list) FN_LOCAL_BOOL(lp_use_chroot, use_chroot) FN_LOCAL_BOOL(lp_transfer_logging, transfer_lo...
2009 Jan 14
1
Improving loadparm design to fix bug in configuration reloading
...anyway. Then rsync will have a statically initialized "const struct global" for the application-level defaults, plus a "struct global" and zero or more "struct section" for the currently loaded configuration. Comments on this approach before I begin? I noticed that FN_LOCAL_STRING works differently from the other FN_LOCAL_* in that it goes back to sDefaults if a valid module number is given but the module contains a NULL value. Is there a reason for this? I'm checking the history of the Samba code that from which this was taken. -- Matt
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...ections,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_GLOBAL_INTEGER(lp_max_verbosity, &Globals.max_verbosity) +FN_GLOBAL_INTEGER(lp_rsync_port, &Globals.rsync_port) FN_LOCAL_STRING(lp_name, name) FN_LOCAL_STRING(lp_comment, comment) diff --unified -r rsync-2.6.2/main.c rsync-dmn/main.c --- rsync-2.6.2/main.c Mon Feb 9 22:54:47 2004 +++ rsync-dmn/main.c Tue Sep 28 12:58:28 2004 @@ -57,6 +57,7 @@ extern char *rsync_path; extern char *shell_cmd; extern struct file_list *...
2005 Jul 29
2
segment fault with 2.6.6 or CVS
...; (gdb) print lp_name@5 $2 = {{char *(int)} 0, {char *(int)} 0, {char *(int)} 0, {char *(int)} 0, { char *(int)} 0} I don't understand the code since I see 2 (global) definitions of lp_name first in t_stub.c char *lp_name(UNUSED(int mod)) { return NULL; } and second in loadparm.c FN_LOCAL_STRING(lp_name, name) where #define FN_LOCAL_STRING(fn_name,val) \ char *fn_name(int i) {return((LP_SNUM_OK(i)&&pSERVICE(i)->val)?pSERVICE(i)->val : (sDefault.val?sDefault.val:""));} #2 0x0806b9e5 in start_accept_loop (port=873, fn=0x80706a0 <start_daemon>) at soc...
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...NULL, 0}, {"refuse options", P_STRING, P_LOCAL, &sDefault.refuse_options,NULL, 0}, {"dont compress", P_STRING, P_LOCAL, &sDefault.dont_compress,NULL, 0}, {NULL, P_BOOL, P_NONE, NULL, NULL, 0} @@ -370,6 +372,7 @@ FN_LOCAL_STRING(lp_include, include) FN_LOCAL_STRING(lp_include_from, include_from) FN_LOCAL_STRING(lp_log_format, log_format) +FN_LOCAL_STRING(lp_hfs_mode, hfs_mode) FN_LOCAL_STRING(lp_refuse_options, refuse_options) FN_LOCAL_STRING(lp_dont_compress, dont_compress) FN_LOCAL_INTEGER(lp_timeout, timeout) di...
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
...t;, P_STRING, P_LOCAL, &sDefault.prescript,NULL, 0}, + {"posttransfer script", P_STRING, P_LOCAL, &sDefault.postscript,NULL, 0}, {NULL, P_BOOL, P_NONE, NULL, NULL, 0} }; *************** *** 374,379 **** --- 381,388 ---- FN_LOCAL_STRING(lp_dont_compress, dont_compress) FN_LOCAL_INTEGER(lp_timeout, timeout) FN_LOCAL_INTEGER(lp_max_connections, max_connections) + FN_LOCAL_STRING(lp_prescript, prescript) + FN_LOCAL_STRING(lp_postscript, postscript) /* local prototypes */ static int strwicmp( char *psz1, char *psz2 );...
2009 Apr 22
2
[Code study] lp_motd_file defination? Help
Dear List, Currently, I read this in clientserver.c, line 148. motd = lp_motd_file(); I have googled, but didn't the definition of char *lp_motd_file(void). Can anyone help to explain the following code segment. Many thanks. #line 147 ~ 160, in clientserver.c, version 3.0.5 > if (!am_client) { > motd = lp_motd_file(); > if (motd && *motd) { > FILE *f =
2009 Apr 22
1
[PATCH] allow to disable SLP with runtime option
...t_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, &Globals.disable_slp) #endif FN_LOCAL_STRING(lp_auth_users, auth_users) Index: rsync-3.0.6pre1/clientserver.c =================================================================== --- rsync-3.0.6pre1.orig/clientserver.c 2009-04-22 12:47:39.000000000 +0200 +++ rsync-3.0.6pre1/clientserver.c 2009-04-22 13:36:35.000000000 +0200 @@ -1065,9 +1065...
2003 Mar 11
0
PATCH: rsyncd.conf permission options
...irectory mask", P_OCTAL, P_LOCAL, &sDefault.directory_mask, NULL, 0}, + {"force directory mode", P_OCTAL, P_LOCAL, &sDefault.force_directory_mode, NULL, 0}, {NULL, P_BOOL, P_NONE, NULL, NULL, 0} }; @@ -374,6 +386,10 @@ FN_LOCAL_STRING(lp_dont_compress, dont_compress) FN_LOCAL_INTEGER(lp_timeout, timeout) FN_LOCAL_INTEGER(lp_max_connections, max_connections) +FN_LOCAL_INTEGER(lp_create_mask, create_mask) +FN_LOCAL_INTEGER(lp_force_create_mode, force_create_mode) +FN_LOCAL_INTEGER(lp_directory_mask, directory_mask) +FN_LOCAL_...
1997 Aug 11
3
Samba errors?
Hello there folks, I have been using the latest alpha version, I believe it is 5 , which proves to be a bit better than the previous work, but I do face some serious problems. This is my first time installing samba on a SunOS 4.1.4 and I do have some concern about samba works. Assuming the existance of 2 Unix systems that are exporting filesystems between them, and 1 PC that requests home