svn commit: samba r21191 - in branches/SAMBA_3_0/source: include libsmb locking param rpc_server smbd

Jeremy Allison jra at samba.org
Tue Feb 6 22:46:31 GMT 2007


On Tue, Feb 06, 2007 at 11:32:25PM +0100, Volker Lendecke wrote:
> On Tue, Feb 06, 2007 at 02:21:41PM -0800, Jeremy Allison wrote:
> > > Quick question -- Looking at the code in trans2.c the logic
> > > mapping between the trans2 posix open/unlink/etc calls and
> > > the native ones is very small. Can't this be done in the
> > > client? Why bother with a whole new set of calls when you
> > > can get this with a normal ntcreate?
> > 
> > FILE_FLAG_POSIX_SEMANTICS means something different to
> > Windows clients.
> 
> Sure, but I thought switching to Posix semantics is a
> per-session thing. If we are in that mode, then ntcreate&x
> changes...

No, blame the Apple people for this :-). They want "Carbon"
apps to use Windows opens/locks, and native "POSIX" apps
to use posix opens/locks *on the same session* ! (I say
"POSIX" as even in the "POSIX" app case they want case
insensitivity.... go figure :-) !


More information about the samba-technical mailing list