> fsync() (and also fdatasync()?) will cause the local kernel to write any
> modified pages, and for smbfs it also sends a "SMBflush" that tells the
> other end to sync it to disk.
>
> For mmap()'ed data you can use msync().
>
> Haven't tested if open(..., O_SYNC) works.
>
> /Urban
So when fsync(
On Thu, Aug 29, 2002 at 09:14:02AM +0930, Richard Sharpe wrote:
> Hi,
>
> I have just seen what looks like wierd behaviour with Samba and a Win2K
> client running cygwin.
>
> Client opens the file and asks for a read-only file, but to truncate if it
> aready exists. Wierd.
>
> Then it sets so
Hi,
I have just seen what looks like wierd behaviour with Samba and a Win2K
client running cygwin.
Client opens the file and asks for a read-only file, but to truncate if it
aready exists. Wierd.
Then it sets some attributes, but write allowed is not one.
Then it sets the end of the file, re
On Thu, Aug 29, 2002 at 03:44:18AM +0930, Richard Sharpe wrote:
> After re-looking at RFC2478
...and looking at RFC 2078 as well, presumably; it's necessary in order
to fully understand what's going on.
> and looking at traces again and talking to
> Diego (:-) at IBM, it looks like the followin
Hi Jelmer, Andrew,
here' the sam_skel.c patch
metze
-
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>
diff -Npur --exclude=CVS HEAD/examples/sam/Makefile HEAD-fix/examples/sam/Makefile
--- HEAD/examples/sam/Makefile Thu
>After re-looking at RFC2478 and looking at traces again and talking to
>Diego (:-) at IBM, it looks like the following is occurring:
Yikes! I should never have let that name out of the bottle.
>1. The negProt response includes a negTokenInit with a list of OIDs for
>mechanisms that the server
Hi Jelmer,
I'm not using the block module, it's just that some C compilers don't like
C++ comments. This stops building the VFS modules for me.
...Juergen
Am Mittwoch, 28. August 2002 19:28 schrieb Jelmer Vernooij:
> Hi Juergen,
>
> I'm currently rewriting the whole block module since it's g
Hi Juergen,
I'm currently rewriting the whole block module since it's got some
serious design flaws.
Jelmer
On Wed, Aug 28, 2002 at 07:13:19PM +0200, Juergen Hasch wrote about '[PATCH]block.c':
> Hi,
> could someone please apply the follwing simple patch to the block VFS module:
> --- block.
Hi,
could someone please apply the follwing simple patch to the block VFS module:
--- block.c.origFri Jun 7 19:40:19 2002
+++ block.c Wed Aug 28 19:10:55 2002
@@ -144,7 +144,7 @@
extern BOOL pm_process(char *FileName, BOOL (*sfunc)(char *),
BOOL(*pfunc)(char * , char *));
-//fun
Sorry, don't attach the file :-(
Hi,
here's a patch for mkproto.awk to prevent useless lookups.
I hope it makes it a little faster...
metze
-
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>
--- HEAD/source/script/mkpro
> Thanks, I've committed a patch that adds these commands to smbclient.
> I made it a bit different tough.
> (Also added a patch for xfile.c)
There is a small bug in CVS, patch follows.
Josef
diff -upr samba.3.0.cvs/source/client/client.c samba.3.0.fixed/source/client/client.c
--- samba.3.0.cv
Hello,
this trivial patch has not been commited to 2_2 branch yet.
The HEAD branch is correct.
Josef
diff -upr samba.cvs/source/client/client.c samba.fixed/source/client/client.c
--- samba.cvs/source/client/client.cWed Aug 21 22:55:28 2002
+++ samba.fixed/source/client/client.c Wed Aug 28
Hi,
here's a patch for mkproto.awk to prevent useless lookups.
I hope it makes it a little faster...
metze
-
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>
On Wed, 28 Aug 2002, Jim McDonough wrote:
OK, this is great. However, it seems that 1 & 2 are GSS-API encapsulated
as well, while the rest are not.
>
> I'll map out what I see happen (and I'm sure this is a correct
> interpretation, though there are other possible flows that I haven't seen).
Hi,
After re-looking at RFC2478 and looking at traces again and talking to
Diego (:-) at IBM, it looks like the following is occurring:
1. The negProt response includes a negTokenInit with a list of OIDs for
mechanisms that the server handles.
2. The client sends a sesssetup&X with another ne
I'll map out what I see happen (and I'm sure this is a correct
interpretation, though there are other possible flows that I haven't seen).
(I) = initiator/client, (T) = target/server. Please note that on each
SPNEGO call, all args are optional, and if I don't list them, they aren't
being sent on
Jim convinced me that my theory was wrong - the mystery blob is a
negTokenInit - there are two negTokenInits in the overall flow then (one in
the negprot response and one in the first sesssetup request). I hate it
when this stuff finally makes sense
Steve French
Senior Software Engineer
Linux T
Volker Lendecke wrote:
> On Fri, Aug 23, 2002 at 01:19:18PM +0200, Martin Bahlinger wrote:
>
>>I discovered that when the network reports "No route to host" (tested
>>with "route add DC_IP reject") everything works fine. But when I get the
>>error "Operation already in progress" (tested with "r
>Here is the content of the security blob in a sessionsetup&X from a Win2K
>box.
>
>It looks wrong because it seems to be a negTokenInit, not the
>negTokenTarg I would expect.
>Can anyone comment?
You're expecting the wrong thing. In SPNEGO in CIFS, two NegTokenInit's
occur, with the acceptor pr
It looks like a negTokenTarg to me. Note that the NTLMSSP format is mostly
described in chapter 11 of the ActiveX reference book, now online on the
OpenGroup site at
http://www.opengroup.org/onlinepubs/009899899/NCH1222X.HTM (the rest of the
book covers ActiveX and MS DCE/RPC and is at
http://www
> > Then, no matter which one of the above two situations happens, the data
is
> > not yet written to the physical storage at that time, right? Should I
need
> > to call fsync() each time after calling write()? Thanks a lot!
>
> Yes, at each point where you want to ensure the data is written (not
On Wed, 28 Aug 2002, Kevin Liao wrote:
> Then, no matter which one of the above two situations happens, the data is
> not yet written to the physical storage at that time, right? Should I need
> to call fsync() each time after calling write()? Thanks a lot!
Yes, at each point where you want to e
22 matches
Mail list logo