search for: sival

Displaying 19 results from an estimated 19 matches for "sival".

Did you mean: siva
2007 Nov 16
1
3.0.27a out monday.
Just spoke to Jerry, we'll be doing a 3.0.27a on Monday to fix a regression that broke smbfs mounts from Linux. Sorry for the problem. Jeremy.
2003 Mar 21
2
x>>32 warning in io.c
...385 does not cause a warning because of this test at line 379: #ifdef NO_INT64 I verified that NO_INT64 is defined on my system in rsync.h However there is no #ifdef NO_INT64 test protecting line 653. Here are lines 652,653, and 654 from io.c in subr write_longint: SIVAL(b,0,(x&0xFFFFFFFF)); SIVAL(b,4,((x>>32)&0xFFFFFFFF)); writefd(f,b,8); On my system, x>>32 evaluates to the value x, not 0 (since the shift count is invalid). This will cause the upper 4 bytes of b to be the same as the...
2002 Mar 15
0
logon home with ldap under win98
...+ logon_home_frompassdb = False; + pdb_free_sam(sampass); + } + + /* end of test area */ + /***********************************************/ + *rparam_len = 6; *rparam = REALLOC(*rparam,*rparam_len); *************** *** 2521,2527 **** --- 2548,2559 ---- SIVAL(p,usri11_auth_flags,AF_OP_PRINT); /* auth flags */ SIVALS(p,usri11_password_age,-1); /* password age */ SIVAL(p,usri11_homedir,PTR_DIFF(p2,p)); /* home dir */ + /* MS: take home dir from passdb if found */ + if ( logon_home_frompassdb == False ) { pstrcpy(p2, lp_logon_home()); +...
2007 Sep 22
0
rsync build on IA64 using icc
...generator.c(1167): remark #810: conversion from "int" to "unsigned char" may lose significant bits fnamecmp_type = j; ^ generator.c(1235): remark #810: conversion from "unsigned int" to "unsigned char" may lose significant bits SIVAL(numbuf, 0, ndx); ^ generator.c(1235): remark #810: conversion from "unsigned int" to "unsigned char" may lose significant bits SIVAL(numbuf, 0, ndx); ^ generator.c(1235): remark #810: conversion from "unsigned int" to "unsigned char" may lose...
2009 Jul 01
0
Unix Extensions + ext3 quotas + df
...sectors_per_unit = bsize/bytes_per_sector; + + svfs.BlockSize = bsize; + svfs.TotalBlocks = dsize; + svfs.BlocksAvail = dfree; + svfs.UserBlocksAvail = dfree; + svfs.TotalFileNodes = 0; + svfs.FreeFileNodes = 0; + } + } + data_len = 56; SIVAL(pdata,0,svfs.OptimalTransferSize); SIVAL(pdata,4,svfs.BlockSize); SBIG_UINT(pdata,8,svfs.TotalBlocks); SBIG_UINT(pdata,16,svfs.BlocksAvail); SBIG_UINT(pdata,24,svfs.UserBlocksAvail); SBIG_UINT(pdata,32,svfs.TotalFileNodes); SBIG_UINT(pdata,40,svfs.FreeFileNodes);...
2007 Nov 12
3
DO NOT REPLY [Bug 5075] New: Syncing with --iconv may yield protocol error
...to allocate " "buffer dynamically"); } n = len = outbuf.len; } else #endif if (n > sizeof(buffer) - 4) n = 0; else memcpy(buffer + 4, buf, n); SIVAL(buffer, 0, ((MPLEX_BASE + (int)code)<<24) + len); defer_forwarding_keep = 1; /* defer_forwarding_messages++ on return */ writefd_unbuffered(fd, buffer, n+4); defer_forwarding_keep = 0; len -= n; buf += n; if (len) writefd_unb...
2005 May 30
2
smbclient hangs
Hello, I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9. I want to tar the whole directory of a share. Into a file on the server What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is
2000 Jan 05
1
Signal 11 in attempt_netbios_session_request
> I have just upgraded to Samba 2.0.6 and can no longer connect to Samba > shares on my FreeBSD 3.4-RELEASE machine. When I attempt to connect, the > smb.log contains the following information: > > [2000/01/04 17:54:42, 3] libsmb/namequery.c:resolve_lmhosts(566) > resolve_lmhosts: Attempting lmhosts lookup for name > NTWEB2.AIS.MSU.EDU<0x20> > [2000/01/04
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...id mplex_write(int fd, enum logcode code, char *buf, int len) +static void mplex_write(int fd, enum logcode code, const void *buf1, int len) { - char buffer[4096]; + unsigned char buffer[4096]; int n = len; +unsigned char * buf; + buf = (unsigned char *)buf1; SIVAL(buffer, 0, ((MPLEX_BASE + (int)code)<<24) + len); @@ -533,8 +546,10 @@ } } -static void writefd(int fd,char *buf,int len) +static void writefd(int fd, const void * buf1,int len) { +unsigned char * buf; + buf = (unsigned char *)buf1; stats.total_written += len;...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
...fnametmp[MAXPATHLEN]; - char *fnamecmp; + char *fnamecmp, numbuf[4]; char fnamecmpbuf[MAXPATHLEN]; struct map_struct *mapbuf; int i; @@ -461,16 +462,20 @@ int recv_files(int f_in,struct file_list cleanup_disable(); - if (!recv_ok) { + if (recv_ok) { + if (delete_sent_files) { + SIVAL(numbuf, 0, i); + send_msg(MSG_SUCCESS, numbuf, 4); + } + } else { if (csum_length == SUM_LENGTH) { rprintf(FERROR,"ERROR: file corruption in %s. File changed during transfer?\n", full_fname(fname)); } else { - char buf[4]; if (verbose > 1) rprintf...
2020 May 14
0
open 2nd pdf on dfs share with Acrobat Reader not possible
...if (!NT_STATUS_IS_OK(status)) { + return status; + } + DEBUG(10,("smbd_do_qfilepathinfo: SMB_FILE_NORMALIZED_NAME_INFORMATION\n")); + data_size = 4 + len; + SIVAL(pdata,0,len); + *fixed_portion = 8; + break; + } + case SMB_FILE_ALLOCATION_INFORMATION: case SMB_QUERY_FILE_ALLOCATION_INFO: DEBUG(10,("smbd_do_qfilepathinfo: SMB_FILE_ALLOCATION...
2002 Jan 13
0
rsynd-2.5.1 / checksum.c patches
...e,char *sum,OFF_T size) +void file_checksum(const char *fname, void *sum,OFF_T size) { OFF_T i; struct map_struct *buf; @@ -133,15 +134,17 @@ void sum_init(void) { - char s[4]; + unsigned char s[4]; mdfour_begin(&md); sumresidue=0; SIVAL(s,0,checksum_seed); sum_update(s,4); } -void sum_update(char *p,int len) +void sum_update(void *p1,int len) { +unsigned char * p; + p = (unsigned char *)p1; int i; if (len + sumresidue < CSUM_CHUNK) { memcpy(sumrbuf+sumresidue, p, len); @@ -...
1999 Jan 29
0
max filename length
...enames up to 255 characters). It could be a problem with samba, but that doesn't explain the creation of a longer name from NOTEPAD.EXE. All of the above operations were done on the same share and in the same directory. I did find this in the samba 2.0.0 code: smbd/trans2.c, line 1127: SIVAL(pdata,4,128); /* Max filename component length */ So on the surface, this seems to be a problem with Microsoft's more recent offerings (WinNT4, Office97) (surprise!) interacting with samba. Could it be that Word and Explorer are querying the filesystem info, and then setting some options that...
2003 Jul 18
0
patch: smbclient lost some files
...are.com/ -------------- next part -------------- --- clilist.c-orig 2003-03-15 06:34:48.000000000 +0900 +++ clilist.c 2003-07-18 12:01:16.000000000 +0900 @@ -184,7 +184,12 @@ int cli_list_new(struct cli_state *cli,c SSVAL(param,2,max_matches); /* max count */ SSVAL(param,4,info_level); SIVAL(param,6,0); /* ff_resume_key */ +#ifdef DONT_USE_SEARCH_CONTINUE + SSVAL(param,10,4+2); /* resume required + close on end */ +#else SSVAL(param,10,8+4+2); /* continue + resume required + close on end */ +#endif + p = param+12; p += clistr_push(cli, param+12, mask, -1, STR_TERM...
2007 Jun 01
2
Difficulty w/Offline Files and Samba 3.0.25
Good morning, I have a working Offline Files setup w/Samba 3.0.24 (FreeBSD 6.2 host OS) and a Win XP SP2 client. Upon updating to Samba 3.0.25, the XP client's offline cache would show (as viewed via the Offline Files Folder) that synced files are write-only ('User W' in the Access column). When offline, theses files appeared to be available via Explorer and double clicking would
2009 Oct 29
0
[Announce] Samba 3.4.3 Available for Download
...(which defaults to NTLMv2) (bug #6680). ###################################################################### Changes ####### Changes since 3.4.2 ------------------- o Jeremy Allison <jra at samba.org> * BUG 6529: Offline files conflict with Vista and Office 2003. * BUG 6726: SIVAL should have been an SVAL. * BUG 6769: Fix symlink unlink. * BUG 6774: smbd crashes if "aio write behind" is set. * BUG 6776: Fix core dump caused by running overlapping Byte Lock test. * BUG 6781: Fix renaming subfolders in Explorer view. * BUG 6793: Fix Winbind crash...
2009 Oct 29
0
[Announce] Samba 3.4.3 Available for Download
...(which defaults to NTLMv2) (bug #6680). ###################################################################### Changes ####### Changes since 3.4.2 ------------------- o Jeremy Allison <jra at samba.org> * BUG 6529: Offline files conflict with Vista and Office 2003. * BUG 6726: SIVAL should have been an SVAL. * BUG 6769: Fix symlink unlink. * BUG 6774: smbd crashes if "aio write behind" is set. * BUG 6776: Fix core dump caused by running overlapping Byte Lock test. * BUG 6781: Fix renaming subfolders in Explorer view. * BUG 6793: Fix Winbind crash...
2002 Dec 20
1
smbclient and large file support
...->outbuf,bigoffset ? 12 : 10,0,True); SCVAL(cli->outbuf,smb_com,SMBreadX); SSVAL(cli->outbuf,smb_tid,cli->cnum); @@ -45,6 +50,9 @@ SSVAL(cli->outbuf,smb_vwv5,size); SSVAL(cli->outbuf,smb_vwv6,size); SSVAL(cli->outbuf,smb_mid,cli->mid + i); + + if (bigoffset) + SIVAL(cli->outbuf,smb_vwv10,(offset>>32) & 0xffffffff); return cli_send_smb(cli); }
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...close(fdb); exit_cleanup(1); } - if (fdb_close) { close(fdb); } @@ -110,7 +92,6 @@ } write_char_bufs(fptr[i]->sum); } - } void write_char_bufs(char *buf) @@ -118,11 +99,8 @@ /* Write the size of the string which will follow */ char b[4]; - if (buf != NULL) - SIVAL(b, 0, strlen(buf)); - else { - SIVAL(b, 0, 0); - } + + SIVAL(b, 0, buf != NULL ? strlen(buf) : 0); write_batch_flist_file(b, sizeof(int)); @@ -137,36 +115,52 @@ { int fdb; int i; - char buff[256]; - - strcat(rsync_argvs_file, batch_file_ext); - - - /* Open batch argvs file for writing;...