search for: snum

Displaying 20 results from an estimated 126 matches for "snum".

Did you mean: num
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i recently upgraded some of my servers from 3.0.2a to 3.0.4 after the upgrade my browselist shows duplicate entries for the domains. one domains is managed by a samba PDC(providing WINS too) and two samba BDC's. the other domains are managed by one samba PDC. 'smbclient -N -L <WINS_SERVER>' shows: - --- Workgroup
2007 May 16
1
SAMBA: Share specific log files
Hi all, We are trying to print the log messages pertaining to each share in a different log file for auditing purposes. We are using Samba v3.0.20b. We are trying to modify the file smbd/service.c::make_connection_snum() function by changing the log file full path. The code changes that is done are as follows: char logfilefullpath[70]; char sharename[256]; safe_strcpy_fn (__FILE__, __LINE__ ,logfilefullpath, "/log/sharenet/", sizeof ("/log/sharenet/")); safe_strca...
1998 Dec 03
0
Invalid snum errors (fwd)
...College having their skulls split, as a general thing." Oakville, Ont. Canada - Robert E. Howard ---------- Forwarded message ---------- Date: Thu, 3 Dec 1998 10:40:38 -0500 (EST) From: Rob Naccarato <rob@sheridanc.on.ca> To: samba@samba.org Subject: Invalid snum errors I've found these errors in my log.smbd file: Invalid snum 17 for admin 1998/12/03 10:35:48 xxxxxx (xx.xx.xx.xx) couldn't find service admin This occurs when attempting to connect to a share from a Win95 system. This is the share definition from smb.conf: [admin] availab...
2008 Dec 23
0
[jra@samba.org: Patch to improve Samba write speeds on Linux ext3 with 3.2.x]
...44 --- a/source/modules/vfs_default.c +++ b/source/modules/vfs_default.c @@ -745,10 +745,14 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O SMB_STRUCT_STAT st; char c = 0; SMB_OFF_T currpos; + enum smb_strict_allocate_options sa_options = lp_strict_allocate(SNUM(fsp->conn)); START_PROFILE(syscall_ftruncate); - if (lp_strict_allocate(SNUM(fsp->conn))) { + /* Only use allocation truncate if strict allocate + * is set "on", not off or partial. + */ + if (sa_options == STRICT_ALLOCATE_ON) { result = strict_allocate_ftruncate(handle...
1998 Dec 03
0
Invalid snum errors
I've found these errors in my log.smbd file: Invalid snum 17 for admin 1998/12/03 10:35:48 xxxxxx (xx.xx.xx.xx) couldn't find service admin This occurs when attempting to connect to a share from a Win95 system. This is the share definition from smb.conf: [admin] available = no browsable = no path=/usr/SHERNET.32/groups/admin...
2006 Feb 28
1
3.0.21c: idmap_rid segfaults on AIX 5.3 ML4
...False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 Processing section "[homes]" add_a_service: Creating snum = 0 for homes hash_a_service: creating tdb servicehash hash_a_service: hashing index 0 for service name homes doing parameter read only = No doing parameter browseable = No Processing section "[nmon]" add_a_service: Creating snum = 1 for nmon hash_a_service: hashing index 1 for service na...
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
2011 Jun 11
0
RFE: Proposed fix for incompat introduced with 'unix extensions' and 'wide links'....in 3.4(?)..
...nt_managed_widelinks, &Globals.bClientManagedWidelinks) FN_GLOBAL_BOOL(lp_use_spnego, &Globals.bUseSpnego) FN_GLOBAL_BOOL(lp_client_use_spnego, &Globals.bClientUseSpnego) FN_GLOBAL_BOOL(lp_hostname_lookups, &Globals.bHostnameLookups) @@ -9905,6 +9917,7 @@ void widelinks_warning(int snum) { + if (lp_client_managed_widelinks()) return; if (lp_unix_extensions() && lp_widelinks_internal(snum)) { DEBUG(0,("Share '%s' has wide links and unix extensions enabled. " "These parameters are incompatible. " @@ -9915,10 +9928,9 @@ bool lp_widelinks(int...
2015 Oct 30
3
widelinks_warning - but unix extensions *are* off
...utes = Yes >> vfs objects = zfsacl full_audit >> >> Unfortunately, we can't trigger the behaviour. It's all pretty fuzzy, but maybe someone out there has an idea what's going on? > > That message is coming from here: > > void widelinks_warning(int snum) > { > if (lp_allow_insecure_wide_links()) { > return; > } > > if (lp_unix_extensions() && lp_wide_links(snum)) { > DEBUG(0,("Share '%s' has wide links and unix extensions enabled. " >...
2015 Oct 29
2
widelinks_warning - but unix extensions *are* off
Hi all Since we changed our installation from Samba 3.x to 4.x (currently 4.2.5 on Solaris 11.1), we repeatedly encounter the following 'widelinks_warning', originating from Windows Server 2012 R2 RDS clients: [2015/10/29 15:50:38.837702, 0] ../source3/param/loadparm.c:4306(widelinks_warning) Share 'data' has wide links and unix extensions enabled. These parameters are
2005 Jan 02
1
sendfile questions...
Why in smbd/reply.c does send_file_readX only use sendfile if write cache size is 0? <snip> if (chain_size ==0 && (CVAL(inbuf,smb_vwv0) == 0xFF) && lp_use_sendfile( SNUM(conn)) && (lp_write_cache_size(SNUM(conn)) == 0) ) { </snip> While its true send_file_readX works regardless of the state of oplocks (which is cool!) the smb.conf.5 man page still indicates the file must be exclusively oplocked. I was researching why an XP...
2015 Oct 04
2
sysvol acl's broken beyond repair
...on "[sysvol]" Processing section "[netlogon]" Processing section "[sysvol]" Module 'acl_xattr' loaded connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Unknown Service (snum == -1) Processing section "[netlogon]" Processing section "[sysvol]" connect_acl_xattr: setting 'inheri...
2005 Mar 15
1
Samba and cups printing: lp_servicenumber: couldn't find hl5150d
...05/03/13 13:01:08, 10] printing/print_cups.c:cups_server(51) cups server left to default localhost [2005/03/13 13:01:08, 7] param/loadparm.c:lp_servicenumber(4051) lp_servicenumber: couldn't find hl5150d [2005/03/13 13:01:08, 8] param/loadparm.c:add_a_service(2305) add_a_service: Creating snum = 7 for hl5150d [2005/03/13 13:01:08, 3] param/loadparm.c:lp_add_printer(2425) adding printer service hl5150d [2005/03/13 13:01:08, 7] param/loadparm.c:lp_servicenumber(4051) lp_servicenumber: couldn't find hl5150ddbl [2005/03/13 13:01:08, 8] param/loadparm.c:add_a_service(2305) add_a_ser...
2000 May 10
0
patche for samba-2.0.7/source/smbd/conn.c
...39; behavior. So, instead, I made 'array of pointer' with 128 pointers. ( I didn't change structure of `connection_struct', so they still contains next/prev pointers. It might be true that we no longer need it, or we can use it for another perpose ... like managing snum in some way better then simple search ). 3) I made entire "global" variable to single structure. do % patch -p0 < [The patch below] and you'll get patched conn.c. best regards, ---- Kenichi Okuyama@Tokyo Research Lab. IBM-Japan.Co. ---- Patch starts from line below ---- --- ....
2005 Oct 06
1
Samba fails with no apparent message
...ion file "/etc/samba/smb.conf" doing parameter load printers = no Processing section "[global]" doing parameter workgroup = WKG doing parameter netbios name = MYNAME handle_netbios_name: set global_myname to: MYNAME Processing section "[share1]" add_a_service: Creating snum = 0 for share1 doing parameter path = /tmp Processing section "[share2]" add_a_service: Creating snum = 1 for share2 doing parameter path = /my_shared_folder doing parameter comment = Some random files pm_process() returned Yes lp_servicenumber: couldn't find homes add_a_service: Crea...
2006 Jun 26
0
[klibc 23/43] cris support for klibc
...art diff --git a/usr/klibc/arch/cris/divide.c b/usr/klibc/arch/cris/divide.c new file mode 100644 index 0000000..1d4ab23 --- /dev/null +++ b/usr/klibc/arch/cris/divide.c @@ -0,0 +1,99 @@ +#include <stdint.h> +#include <signal.h> + +#if BITS == 64 +typedef uint64_t unum; +typedef int64_t snum; +#else +typedef uint32_t unum; +typedef int32_t snum; +#endif + +#ifdef SIGNED +typedef snum xnum; +#else +typedef unum xnum; +#endif + +#ifdef __cris__ +static inline unum __attribute__ ((const))dstep(unum rs, unum rd) +{ + asm("dstep %1,%0": "+r"(rd):"r"(rs)); + ret...
2020 Apr 30
0
[klibc:master] arch: Remove cris port
...ff --git a/usr/klibc/arch/cris/divide.c b/usr/klibc/arch/cris/divide.c deleted file mode 100644 index 1d4ab236..00000000 --- a/usr/klibc/arch/cris/divide.c +++ /dev/null @@ -1,99 +0,0 @@ -#include <stdint.h> -#include <signal.h> - -#if BITS == 64 -typedef uint64_t unum; -typedef int64_t snum; -#else -typedef uint32_t unum; -typedef int32_t snum; -#endif - -#ifdef SIGNED -typedef snum xnum; -#else -typedef unum xnum; -#endif - -#ifdef __cris__ -static inline unum __attribute__ ((const))dstep(unum rs, unum rd) -{ - asm("dstep %1,%0": "+r"(rd):"r"(rs)); - ret...
2015 Oct 29
0
widelinks_warning - but unix extensions *are* off
...o > store dos attributes = Yes > vfs objects = zfsacl full_audit > > Unfortunately, we can't trigger the behaviour. It's all pretty fuzzy, but maybe someone out there has an idea what's going on? That message is coming from here: void widelinks_warning(int snum) { if (lp_allow_insecure_wide_links()) { return; } if (lp_unix_extensions() && lp_wide_links(snum)) { DEBUG(0,("Share '%s' has wide links and unix extensions enabled. " "These parameters...
2004 Jan 07
0
Win2K3 ADS and Samba 3.0.1: Cannot access shares even with IP
...IP, but I cannot access them. Double-clicking on the shares in Windows Explorer results in the following error: '\\<ipaddr>\Share is not accessible. The network name cannot be found.' The smbd logs show the following lines: [2004/01/06 14:54:27, 0] smbd/service.c:make_connection_snum(677) '/home/username/sharedirectory/' does not exist or is not a directory, when connecting to [Share] ... [2004/01/06 14:54:27, 3] smbd/error.c:error_packet(94) error string = Permission denied [2004/01/06 14:54:27, 3] smbd/error.c:error_packet(118) error packet at smbd/reply.c(286)...
2013 Jun 19
3
[PATCH] virtio-spec: add field for scsi command size
Il 19/06/2013 10:24, Michael S. Tsirkin ha scritto: >> > 2) We introduce VIRTIO_NET_F_ANY_LAYOUT and VIRTIO_BLK_F_ANY_LAYOUT >> > specifically for net and block (note the new names). So why not a transport feature? Is it just because the SCSI commands for virtio-blk also require a config space field? Sorry if I missed this upthread. Paolo >> > 3) I note the