search for: ssval

Displaying 13 results from an estimated 13 matches for "ssval".

Did you mean: qsval
1998 Mar 12
0
Code to check Password Server Group Memberships
...r *user) { pstring inbuf,outbuf; BOOL ret; if (password_client < 0) { DEBUG(1,("%s not connected\n",pserver)); return(False); } bzero(inbuf,sizeof(inbuf)); memcpy(outbuf,buf,sizeof(outbuf)); /* send a session setup command */ CVAL(outbuf,smb_flg) = 0x8; SSVAL(outbuf,smb_flg2,0x1); CVAL(outbuf,smb_vwv0) = 0xFF; set_message(outbuf,smb_numwords(outbuf),smb_buflen(outbuf),False); SCVAL(inbuf,smb_rcls,1); send_smb(password_client,outbuf); ret = receive_smb(password_client,inbuf,5000); if (!ret || CVAL(inbuf,smb_rcls) != 0) { DEBUG(1,(&quo...
2003 Sep 05
1
Problem with Win95 + DFS clients (fwd)
...OFILE(SMBioctl); + int fid = SVAL(inbuf,smb_vwv0); + + DEBUG ( 4, ( " smbvwv0 before = %i ( 0x%x )\n", fid, fid)); + /* hack for Win95 + dfs . Does not give proper value of fid in request + Value taken from last open_and_X */ + if ( fid != hack_fid ) { + SSVAL(inbuf, smb_vwv0, hack_fid ); + fsp = file_fsp(inbuf,smb_vwv0); + }; + fid = SVAL(inbuf,smb_vwv0); + DEBUG ( 4, ( " smbvwv0 after = %i ( 0x%x )\n", fid, fid)); + + /* iskantha - hack fid */ + if ( fsp == NULL ) { + DEBUG( 0, ("FSP still null")); + }; + +...
2003 Jul 18
0
patch: smbclient lost some files
...(yasuoka@second-software.com) Second Software Inc. http://www.second-software.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 +...
1999 Dec 28
2
Directory rename problem with smbclient
I am trying to use smbclient to migrate data from OS/2 LanServers to a filesystem on an AIX 4.3.1 machine. Everything works great except renaming directories on the OS/2 LanServer. I get the error ERRDOS - ERRbadfile (File not found.) renaming files when I do a "rename <existing_dir_name> <new_dir_name>" at the prompt, but <existing_dir_name> exists. I connected to a
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 Dec 20
1
smbclient and large file support
...(cli->outbuf,'\0',smb_size); memset(cli->inbuf,'\0',smb_size); - set_message(cli->outbuf,10,0,True); + if ((SMB_BIG_UINT)offset >> 32) + bigoffset = True; + + set_message(cli->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(c...
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
2002 Mar 15
1
disabling offline caching from samba
I'm preparing to roll out a bunch of win XP clients and and am running down all the quirks that come up in the application log on my test box. 1) AutoEnrollement fails - samba is not an active directory so this makes sense it must be disabled by editing the group policy with gpedit.msc computer configuration->windows settings -> security settings -> public key policies ->
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.
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...n, fname, base_name, 0, overwrite, False); } + if (!NT_STATUS_IS_OK(status)) { + if (open_was_deferred(SVAL(inbuf,smb_mid))) { + /* We have re-scheduled this call. */ + return -1; + } return ERROR_NT(status); } + process_pending_change_notify_queue((time_t)0); SSVAL(params,0,0); send_trans2_replies(outbuf, bufsize, params, 2, *ppdata, 0); -------------- next part -------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFv7OdIR7qMdg1EfYRAvqJAKDxefpzTjYvJWyHB0D/7hZ+tx417QCfaD9k G+tjNn+wuqQeRDWcvuCcbY0= =I+1e -----END PG...
2007 Feb 05
0
[SAMBA-SECURITY] CVE-2007-0452: Potential DoS against smbd in Samba 3.0.6 - 3.0.23d
...n, fname, base_name, 0, overwrite, False); } + if (!NT_STATUS_IS_OK(status)) { + if (open_was_deferred(SVAL(inbuf,smb_mid))) { + /* We have re-scheduled this call. */ + return -1; + } return ERROR_NT(status); } + process_pending_change_notify_queue((time_t)0); SSVAL(params,0,0); send_trans2_replies(outbuf, bufsize, params, 2, *ppdata, 0); -------------- next part -------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFv7OdIR7qMdg1EfYRAvqJAKDxefpzTjYvJWyHB0D/7hZ+tx417QCfaD9k G+tjNn+wuqQeRDWcvuCcbY0= =I+1e -----END PGP...
2003 Dec 01
0
No subject
...return(ERROR(ERRDOS,ERRlock)); } /* added sendfile support */ /*+++++++++++++++++++*/ smb_com2 = CVAL(inbuf,smb_vwv0); if (lp_use_sendfile() && (smb_com2 == 0xFF)) { /* here we use sendfile and we know we don't need to chain */ CVAL(outbuf, smb_vwv0) = 0xFF; SSVAL(outbuf,smb_vwv5,smb_maxcnt); SSVAL(outbuf,smb_vwv6,smb_offset(data,outbuf)); SSVAL(smb_buf(outbuf),-2,smb_maxcnt); outsize = chain_reply(inbuf,outbuf,length,bufsize); smb_setlen(outbuf, outsize - 4); smb_hdr[0].iov_base = outbuf; smb_hdr[0].iov_len = data - outbuf;...
2003 Dec 01
0
No subject
...ile.c 29 Jun 2001 13:57:16 -0000 *************** *** 243,249 **** p = smb_buf(cli->outbuf); /* this alignment and termination is critical for netapp filers. Don't change */ ! p += clistr_align(cli->outbuf, p); len = clistr_push(cli, p, fname, -1, STR_CONVERT); p += len; SSVAL(cli->outbuf,smb_ntcreate_NameLength, len); --- 243,249 ---- p = smb_buf(cli->outbuf); /* this alignment and termination is critical for netapp filers. Don't change */ ! p += clistr_align(cli, p, STR_CONVERT); len = clistr_push(cli, p, fname, -1, STR_CONVERT); p += len;...