Displaying 5 results from an estimated 5 matches for "smb_action".
Did you mean:
my_action
2002 Sep 10
2
Who may delete a file ?
Hi All,
I was checking the access rights and a problem (hence a question)
appeared: Who can delete a file through Samba ?
Suppose we have the following situation:
drwxrwxrwx john finance directory
-rw-r--r-- jack finance directory/file
Under unix everyone can delete the file.
Under Samba, the documentation says (due to the Windows sementic) you
also need the write access to the
2009 May 18
0
Re: [smbd][PATCH] Writing EAs when overriding files
...!= FILE_WAS_OPENED)) {
> status = set_ea(conn, fsp, fname, ea_list);
> if (!NT_STATUS_IS_OK(status)) {
> goto fail;
> }
> }
>
>
> The same applies to samba 3.0. But the related code is located in
> trans2.c in this case.
>
> - if (total_data && smb_action == FILE_WAS_CREATED) {
> + if (total_data && smb_action != FILE_WAS_OPENED) {
>
>
> Marcel
>
Hi Marcel,
you're right regarding the IBM document about the peaop2 parm in the
DosOpen() call.
Your proposed patch
- if ((ea_list != NULL) && (info == FILE_WAS_CREA...
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
2002 Mar 15
1
W2K and XP Offline files stopped working with 2.2.3a
Hi -
It appears that Samba 2.2.3a broke Windows ability to use offline files from
a Samba share. This used to work fine under 2.2.2. When a user syncs an
offline folder, everything appears to work properly, but once disconnected,
only a small portion of the files are visible in the offline folder, and the
files are not accessible - they give strange error messages about files
being read-only or
2003 Sep 05
1
Problem with Win95 + DFS clients (fwd)
...)
+ SSVAL(p,0,fsp->print_jobid); /* Job number */
+ else
+ SSVAL(p,0,temp);
StrnCpy(p+2, global_myname, 15); /* Our NetBIOS name */
StrnCpy(p+18, lp_servicename(SNUM(conn)), 13); /* Service name */
break;
@@ -1782,6 +1807,11 @@
SSVAL(outbuf,smb_vwv11,smb_action);
END_PROFILE(SMBopenX);
+ /* iskantha : attach hack_fid to last fnum */
+ hack_fid = fsp->fnum;
+ DEBUG(4,("open_and_X connect: FID = %d ( %x ) hack_fid = %d \n",
+ fsp->fnum, fsp->fnum , hack_fid ));
+
return chain_reply(inbuf,outbuf,length,bufsize);
}