search for: fn_global_string

Displaying 11 results from an estimated 11 matches for "fn_global_string".

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
2009 Apr 22
2
[Code study] lp_motd_file defination? Help
...f && !feof(f)) { > int len = fread(buf, 1, bufsiz - 1, f); > if (len > 0) > write_buf(f_out, buf, len); > } > if (f) > fclose(f); > write_sbuf(f_out, "\n"); > } > } $ grep "lp_motd_file" . -R ./proto.h:char *lp_motd_file(void); ./loadparm.c:FN_GLOBAL_STRING(lp_motd_file, &Globals.motd_file) ./clientserver.c: motd = lp_motd_file(); -- Daniel
2003 Feb 12
2
rsync & ldap authentication
...TH_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_root) +FN_GLOBAL_STRING(lp_ldap_root_passwd, &Globals.ldap_root_passwd) +FN_GLOBAL_STRING(lp_ldap_suffix, &Globals.ldap_suffix) + +FN_LOCAL_ST...
2003 May 03
0
Storing rsync secrets in LDAP
...P + 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_root) +FN_GLOBAL_STRING(lp_ldap_root_passwd, &Globals.ldap_root_passwd) +FN_GLOBAL_STRING(lp_ldap_suffix, &Globals.ldap_suffix) + +FN_LOCAL_ST...
2003 Apr 15
0
Patch for stderr logging
...GER, 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_STRING(lp_motd_file, &Globals.motd_file) FN_GLOBAL_STRING(lp_log_file, &Globals.log_file) +FN_GLOBAL_BOOL(lp_log_timestamp, &Globals.log_timestamp) +FN_GLOBAL_BOOL(lp_log_pid, &Globals.log_pid) FN_GLOBAL_STRING(lp_pid_file, &Globals.pid_file) FN_GLOBAL_STRING(lp_socket_options, &amp...
2004 Jun 01
1
what does lp_log_file mean??
I have some problems when I read the code of the rsync. There are many reference such as lp_log_file, lp_uid, lp_include_from, etc. in the file clientserver.c and log.c . Who can tell what do they mean? Are they functions? Where I can find the particular information about them? Thanks! _________________________________________________________________ Ãâ·ÑÏÂÔØ MSN Explorer:
2000 Feb 18
0
Different Domain Login.
...} > -- 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 Wyler wrote: > > Here at motorola we are doing a 'TEST' implementation of samba. > Hopefully we will...
2000 Feb 18
0
Different Domain Login. UPDATED
...} > -- 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 Wyler wrote: > > Here at motorola we are doing a 'TEST' implementation of samba. > Hopefully we will...
2009 Apr 22
1
[PATCH] allow to disable SLP with runtime option
...resh", 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, &Globals.disable_slp) #endif FN_LOCAL_STRING(lp_auth_users, auth_users) Index: rsync-3.0.6p...
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...quot;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_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_comm...
2003 Dec 01
0
No subject
...ls.sslCiphers, ""); + string_set(&Globals.sslEgdSocket, ""); + string_set(&Globals.sslEntropyFile, ""); + Globals.sslEntropyBytes = 256; Globals.sslEnabled = False; Globals.sslReqClientCert = False; Globals.sslReqServerCert = False; @@ -1492,6 +1501,9 @@ FN_GLOBAL_STRING(lp_ssl_client_cert, &Globals.sslClientCert) FN_GLOBAL_STRING(lp_ssl_client_privkey, &Globals.sslClientPrivKey) FN_GLOBAL_STRING(lp_ssl_ciphers, &Globals.sslCiphers) +FN_GLOBAL_STRING(lp_ssl_egdsocket, &Globals.sslEgdSocket) +FN_GLOBAL_STRING(lp_ssl_entropyfile, &Globals.sslEnt...