[EMAIL PROTECTED] wrote: > > > If two SessionSetups are sent, each resulting in a separate [V]UID, > > then does Windows apply correct restrictions to each or does it allow > > the greater set of permissions? That is: > > The question doesn't really make sense for SMBwriteX. It is similar to > the way write() works in posix - a open file handle can be used in any > security context, it doesn't matter what euid you change to before > calling write()
Ah. Bingo. So the context is based on the file handle. Makes sense. > > I really want to know more about your NTVFS rewrite. :) > > well, it involves rewriting just about every core function in smbd. So > far I have 4 files compiling in the rewrite (server.c, process.c, > negprot.c and request.c). I was hoping I'd have something working to > demo at SambaXP but it may not get done in time. > > see http://samba.org/~tridge/hack/diffs.txt for a patch that shows > what I'm doing. I need to finish this book thing this week, so I will have to catch up later. Perhaps at SambaXP. I'll try not to ask too many questions. :) Chris -)----- -- Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq. ubiqx Team -- http://www.ubiqx.org/ -)----- [EMAIL PROTECTED] OnLineBook -- http://ubiqx.org/cifs/ -)----- [EMAIL PROTECTED]