Displaying 14 results from an estimated 14 matches for "socket_opt".
Did you mean:
  socket_ops
  
2001 Jan 29
0
Failed to set socket option
...tor
   interfaces = 10.254.1.21/16
   bind interfaces only = true
   socket address = 10.254.1.21
   ...
   log file             = /opt/samba-eng/var/log.%m
   ...
   config file          = /opt/samba-eng/lib/smb.conf.%m
   ...
   
 I set some additional debugging in lib/util_sock.c to get the full socket_option details.
 
 106  void set_socket_options(int fd, char *options)
   107  {
   108          fstring tok;
   109
   110          /* DEBUG */
   111          DEBUG(0,("in set_socket_options(%d, %s)\n", fd, options));
   112          /* DEBUG */
   113          DEBUG(0,("lib/util_sock....
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...uided men."  - Martin Luther King
-------------- next part --------------
Only in rsync-dmn/lib: dummy
diff --unified -r rsync-2.6.2/loadparm.c rsync-dmn/loadparm.c
--- 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,...
2003 Apr 15
0
Patch for stderr logging
...-2.5.6/loadparm.c rsync-2.5.6.new/loadparm.c
--- rsync-2.5.6/loadparm.c	Sun Apr 13 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_fil...
2003 Feb 12
2
rsync & ldap authentication
...clude <lber.h>
+#include <ldap.h>
+#endif
+
 #define PTR_DIFF(p1,p2) ((ptrdiff_t)(((char *)(p1)) - (char *)(p2)))
 #define strequal(a,b) (strcasecmp(a,b)==0)
 #define BOOLSTR(b) ((b) ? "Yes" : "No")
@@ -96,6 +102,11 @@
 	char *pid_file;
 	int syslog_facility;
 	char *socket_options;
+	char *ldap_server;
+	int ldap_port;
+	char *ldap_root;
+	char *ldap_root_passwd;
+	char *ldap_suffix;
 } global;
 
 static global Globals;
@@ -133,6 +144,13 @@
 	int timeout;
 	int max_connections;
 	BOOL ignore_nonreadable;
+	char *ldap_filter;
+	char *ldap_passwd_attribute;
+	char *ldap_au...
2003 May 03
0
Storing rsync secrets in LDAP
...;
+#include <ldap.h>
+#endif
+
 #define PTR_DIFF(p1,p2) ((ptrdiff_t)(((char *)(p1)) - (char *)(p2)))
 #define strequal(a,b) (strcasecmp(a,b)==0)
 #define BOOLSTR(b) ((b) ? "Yes" : "No")
@@ -101,6 +107,11 @@
        char *pid_file;
        int syslog_facility;
        char *socket_options;
+       char *ldap_server;
+       int ldap_port;
+       char *ldap_root;
+       char *ldap_root_passwd;
+       char *ldap_suffix;
 } global;
 
 static global Globals;
@@ -138,6 +149,13 @@
        int timeout;
        int max_connections;
        BOOL ignore_nonreadable;
+       char *ldap_...
2016 Apr 25
2
samba 4.2.10 makes shares unusable on XP
Hi list,
Just upgraded to 4.2.10. All our XP boxes (yeah I know) are slow as Hell 
wrt share browsing & profiles loading… What (new) parameter should be 
set to recover historical behavior? I tried to find tune some of the new 
smb.conf parameters with no succes. Only downgrade to 4.1.17 (debian) 
fixed thing.
Did anyone encounter same issue?
Regards
2011 Jul 21
1
[Bug 8313] New: Minix Support - check for netinet/{in_systm,ip}.h and SO_BROADCAST
...ating system with only a few minor
changes (patch attached).
Patch Summary:
 * Minix doesn't have netinet/in_systm.h nor netinet/ip.h. The patch adds
autoconf checks for these and only includes them if they exist.
 * Minix doesn't support SO_BROADCAST. The patch adds an #ifdef around the
socket_options[] entry so that it's only included if SO_BROADCAST is defined.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
2003 Jun 17
0
Problems with timeouting connections
...ccounting software Peachtree Accounting. While it's running it needs to 
maintain a constant open connection to the data files. Once it senses something went wrong (a killed smbd) it crashes as 
well and you are forced to reboot the workstation with following data loss. I tried to play with the socket_options with no 
luck. Also this behaviour is extremely rare with 9x clients but happens almost once a week with nt/2k/xp clients. Included 
are parts of my smb.confs as well as verinfo. Thank you in advance for your help. 
Version 2.2.3a-6 for Debian
-----------------------------------
[global]
    i...
2009 Apr 22
1
[PATCH] allow to disable SLP with runtime option
...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, &Globals.disable_slp)
 #endif
 
 FN_LO...
2004 Feb 06
2
much slower backups using smbtar
Hi!
I have moved our samba configuration to a new hardware.
Old config:
    PII  266 MHz
    96MB memory
    RedHat 7.2
    20Gb ide hard drive for samba shares
    samba-*-2.2.7-3.7.2 packages installed
    kernel-2.4.20-28.7
New config:
    P4 2.4GHz
    512MB memory
    RedHat 9.0
    60GB scsi hard drive for samba shares and OS
    40GB ide hard drive for backups
    samba-*-2.2.7a-8.9.0
2020 Aug 07
2
User mapping?
I have a network with a Samba server (Samba 4, but running as an old
NT-style domain), Windows and Linux clients.
The Windows clients need to be able to read and write to filesystems on
the Linux client. Also, other Linux machines need to write (via NFS) to
the same directories on the Linux client as the Windows clients.
This was all working with with a Linux client running (I am ashamed to
say)
2007 Feb 17
4
URGENT! Need to move Samba to another computer
Since 2004, I've been running Samba 2.0.7 on a Solaris 8 computer as a 
member of a Windows 2003 Server domain - nothing fancy, just mapping 
Unix home directories to PC users.  Now I must QUICKLY move this same 
Samba config to another computer, and (for the life of me!) I can't 
recall the steps necessary to "join" the domain.  I've read the 
associated Samba 2.0.7 doc,
2020 Aug 07
2
User mapping?
...er %v
     interfaces = 192.168.254.3, 127.0.0.1
     bind interfaces only = yes
     map to guest = Bad User
     smb passwd file = /etc/samba/private/smbpasswd
     log file = /var/log/samba3/log.%m
     log level = 1
     max log size = 500
     # socket options = IPTOS_LOWDELAY TCP_NODELAY
     socket_options =  TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
     # write cache size = 262144
     printcap name = cups
     os level = 64
     # WINS support must be present for domain logins
     wins support = yes
     dns proxy = No
     ldap ssl = no
     domain master = yes
     domain logons = yes...
2003 Dec 01
0
No subject
.../pipermail/samba/
Hi
I'm running Samba 2.2.0 on a RH7.1 box. I've noticed that smbd generates a
number of log complaints as below every time logrotate kicks in.
Jul 29 04:02:04 golux smbd[8385]:   Got SIGHUP
Jul 29 04:02:04 golux smbd[8385]: [2001/07/29 04:02:04, 0]
lib/util_sock.c:set_\
socket_options(165)
Jul 29 04:02:04 golux smbd[8385]:   Failed to set socket option SO_KEEPALIVE
(E\
rror Bad file descriptor)
Jul 29 04:02:04 golux smbd[8385]: [2001/07/29 04:02:04, 0]
lib/util_sock.c:set_\
socket_options(165)
Jul 29 04:02:04 golux smbd[8385]:   Failed to set socket option TCP_NODELAY
(Er\
r...