Re: [cifs-protocol] cifs client timeouts and hard/soft mounts

2010-12-06 Thread Jeremy Allison
On Mon, Dec 06, 2010 at 12:42:55PM -0500, Jeff Layton wrote: > On Mon, 06 Dec 2010 11:01:12 -0600 > "Christopher R. Hertel" wrote: > > > > > Question (for which I do not have an answer): How much work do you want to > > do to make their intentionally broken model work? > > > > Very little...l

Re: [cifs-protocol] [Pfif] [REG: 110120160951867] Requesting clarification of CIFS client timeout behavior

2010-12-03 Thread Jeremy Allison
On Fri, Dec 03, 2010 at 06:22:01PM -0500, Jeff Layton wrote: > > Treating different calls differently for timeouts sounds like the road > to special-case madness. It seems to me that the best behavior would be > to have the client wait for a reply indefinitely if the server is > responding to peri

Re: [cifs-protocol] [REG:110112076424325]Problem communicating with SPOOLSS, invalid parameter.

2010-11-30 Thread Jeremy Allison
On Mon, Nov 29, 2010 at 05:07:42PM +, Bryan Burgin wrote: > Hi, Jeremy, > > I'm just touching base as we are back from the Thanksgiving holiday and the > weather that practically shut Seattle down last week. I wanted to check that > you received the files I sent last week (Time Travel Trace

Re: [cifs-protocol] [REG:110112076424325]Problem communicating with SPOOLSS, invalid parameter.

2010-11-24 Thread Jeremy Allison
On Tue, Nov 23, 2010 at 12:09:39AM +, Bryan Burgin wrote: > Jeremy, > > I'm researching this for you. I worked with Guenther on similar > [MS-RPRN]questions during the Samba IO Lab, along with Nick and Tarun from > Microsoft and the Product Group. > > The two most detailed debugging techni

[cifs-protocol] Problem communicating with SPOOLSS, invalid parameter.

2010-11-19 Thread Jeremy Allison
Hi Dochelp, Hongwei and Nick suggested I post this here, I'm trying to track down an interoperability bug with Samba and the Windows 7 print subsystem. When doing "connect" to a remote printer from Windows 7 with our latest auto-generated PIDL code (git master branch) it downloads the printer dr

Re: [cifs-protocol] [REG:110020359682290] [MS-RPRN] 3.1.4.1.2 Dynamically Typed Query Parameters - Bad variable names

2010-02-03 Thread Jeremy Allison
On Wed, Feb 03, 2010 at 08:54:36PM +, David Wooden wrote: > Sorry for the re-send, adding our internal tool alias for tracking these > issues. > > -Original Message- > From: David Wooden > Sent: Wednesday, February 03, 2010 12:52 PM > To: Jeremy Allison > Cc:

[cifs-protocol] [Pfif] CAR: Bad variable names in MS-RPRN : 3.1.4.1.2 Dynamically Typed Query Parameters

2010-02-02 Thread Jeremy Allison
Dear Dochelp, In MS-RPRN, section : 3.1.4.1.2 Dynamically Typed Query Parameters. the text reads: 3.1.4.1.2 Dynamically Typed Query Parameters Unless notified otherwise, methods returning one or more dynamically-typed values use

Re: [cifs-protocol] CIFS at connectathon 2010, Feb. 22-25 in Santa Clara CA

2010-01-14 Thread Jeremy Allison
On Thu, Jan 14, 2010 at 12:08:15PM -0500, Gordon Ross wrote: > Connectathon 2010 is coming soon! This will include a > CIFS plug-fest to be held Feb. 22-25. > > We'd like to invite everyone with CIFS implementations > to the CIFS plug-fest at Connectathon. See this site: > http://www.connectat

Re: [cifs-protocol] SMB1 Trans2SetPathInfo() FileEndOfFileInformation is not enforcing share modes

2009-11-25 Thread Jeremy Allison
On Wed, Nov 25, 2009 at 05:14:26PM +, Bill Wesse wrote: > Hello Tim. I think the difference in the response between the standard versus > pass-through level lies in how the file handle is obtained during the call > (given that TRANS2_SET_PATH_INFORMATION passes the path, and not the handle).

Re: [cifs-protocol] Excel timestamp client side-caching request

2009-09-02 Thread Jeremy Allison
On Fri, Aug 28, 2009 at 11:22:44PM +, Hongwei Sun wrote: > Jeremy, > >Just want to check with you to see if the information is helpful for you > to identify the problem. If you need any more information or help from our > side, please let us know. Sorry, I've been on vacation for a week

Re: [cifs-protocol] Excel timestamp client side-caching request

2009-08-21 Thread Jeremy Allison
On Fri, Aug 21, 2009 at 11:25:57PM +, Hongwei Sun wrote: > Jeremy, > > > > After much of testing and debugging, it seems that we are getting the > cause > why Windows takes the file offline and the timestamp update only goes to local > store. When Windows close one particular handle

Re: [cifs-protocol] Excel timestamp client side-caching request

2009-08-18 Thread Jeremy Allison
On Sun, Aug 16, 2009 at 05:34:39AM +, Hongwei Sun wrote: > Jeremy, > >We are still working on identifying the issue. It seems that when Excel > tries to send SET_INFO when closing the file, CSC thinks ,for some reason, > that the object is in disconnected offline state and any update to

Re: [cifs-protocol] Excel timestamp client side-caching request

2009-08-10 Thread Jeremy Allison
On Tue, Aug 11, 2009 at 02:57:44AM +, Hongwei Sun wrote: > Jeremy, > >Just a quick update. I have duplicated the exactly same behavior as you > reported, which makes live debugging possible. We are actively working on > it. I will keep you posted. Great ! I'm in the process of adding

[cifs-protocol] Re: [Pfif] CAR: Error in SMB2 Netprot description.

2009-06-04 Thread Jeremy Allison
On Thu, Jun 04, 2009 at 11:39:38AM -0700, Jeremy Allison wrote: > On Thu, Jun 04, 2009 at 11:33:41AM -0700, Jeremy Allison wrote: > > Hi all, > > > > I believe there is an error in [MS-SMB2] — v20090521 in the > > description of 2.2.4 SMB2 NEGOTIATE Response. > >

[cifs-protocol] Re: [Pfif] CAR: Error in SMB2 Netprot description.

2009-06-04 Thread Jeremy Allison
On Thu, Jun 04, 2009 at 11:33:41AM -0700, Jeremy Allison wrote: > Hi all, > > I believe there is an error in [MS-SMB2] — v20090521 in the > description of 2.2.4 SMB2 NEGOTIATE Response. > > At the end of this section on page 35 it says: > > "Buffer (variable): Th

[cifs-protocol] [Pfif] CAR: Error in SMB2 Netprot description.

2009-06-04 Thread Jeremy Allison
to using raw-NTLMSSP blobs for sessionsetup instead of SPNEGO wrapped blobs. I can provide proof of this as a packet trace on request. I think this is important to fix for the SMB2 client implementations, which otherwise are forced to implement SPNEGO ASN.1 parsing. Jeremy Allison, Sa

Re: [cifs-protocol] SMBTorture tests

2009-04-15 Thread Jeremy Allison
On Wed, Apr 15, 2009 at 05:30:54PM -0700, Long Li wrote: > Can you tell us how you use SMBTorture BASE, RAW and SMB2 test suites in the > Samba project? Is there any documentation that we should use to properly setup > the Samba server in the test? Well we mainly use it to determine where we're d

Re: [cifs-protocol] preliminary UNIX extensions documentation

2008-10-08 Thread Jeremy Allison
On Wed, Oct 08, 2008 at 09:33:14AM -0700, James Peach wrote: > Hi all, > > I had some time a couple of months ago, so I knocked up some > documentation for the UNIX extensions. > > Although what follows is in RFC format, I doubt that I will get around > to submitting this as a real IETF informa

Re: [cifs-protocol] RE: Answer: SRX080609601575 : [MS-ADA3]: 2.43 2.44 string forms of AD attributes

2008-07-09 Thread Jeremy Allison
On Wed, Jul 09, 2008 at 06:39:34AM -0700, Bill Wesse wrote: > Just resending this in case you missed my earlier email. Bill, Just FYI: Andrew is on vacation this week. Thanks, Jeremy. ___ cifs-protocol mailing list cifs-protocol@cifs.o

Re: [cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\'character.

2007-03-12 Thread Jeremy Allison
On Mon, Mar 12, 2007 at 05:35:39PM -0400, Wagner, Chris (GE Infra, Non-GE, US) wrote: > Which brings us back to my suggestion of requiring backslashes only and any > client in POSIX mode just has to deal with it, flip the slashes. Embedded > backslash literals then have to be escaped. I think

Re: [cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

2007-03-11 Thread Jeremy Allison
On Sun, Mar 11, 2007 at 09:49:04AM +0100, Stefan (metze) Metzmacher wrote: > > Jeremy Allison schrieb: > > > > Yes, that's exactly what I'm coding up right now. > > Wait for the check-in :-). > > good:-) Actually, this proved much harder than I thought

Re: [cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

2007-03-10 Thread Jeremy Allison
On Sun, Mar 11, 2007 at 12:14:48AM +0100, Stefan (metze) Metzmacher wrote: > > can't we out that logic into the client, so when the client > get the redirect from a server with unix extentions then > it converts the redirect url when he talks to a server without > unix extentions support. Yes, th

Re: [cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

2007-03-10 Thread Jeremy Allison
On Sat, Mar 10, 2007 at 05:26:47PM -0500, simo wrote: > On Sat, 2007-03-10 at 12:36 -0800, Jeremy Allison wrote: > > On Sat, Mar 10, 2007 at 08:40:12PM +0100, Stefan (metze) Metzmacher wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > >

Re: [cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

2007-03-10 Thread Jeremy Allison
On Sat, Mar 10, 2007 at 08:40:12PM +0100, Stefan (metze) Metzmacher wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jeremy Allison schrieb: > > which is incorrect. Now that's easy to fix, but > > the problem is when the client is in unix extension

[cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

2007-03-10 Thread Jeremy Allison
On Fri, Mar 09, 2007 at 03:45:42PM -0500, Wagner, Chris (GE Infra, Non-GE, US) wrote: > I think this needs some clarification. I'm not a samba/cifs developer but I > would be in the "implementor" category. Can u give some examples of the > backslash occuring in an ambiguous place? I'm assumin

[cifs-protocol] Re: [linux-cifs-client] POSIX pathnames and the '\' character.

2007-03-10 Thread Jeremy Allison
On Fri, Mar 09, 2007 at 02:33:27PM -0500, simo wrote: > > Think about a samba server with home directories of this kind (very > possible if you use winbindd): > > /home/DOMAIN1\user1 > /home/DOMAIN1\user2 > /home/DOMAIN2\userX1 > /home/DOMAIN2\userX2 That's why the winbindd defaults are : /home/

[cifs-protocol] POSIX pathnames and the '\' character.

2007-03-10 Thread Jeremy Allison
Currently the Samba server parsing code treats '\\' as a directory separator even when posix pathnames is set to true. This means currently that we're not 100% POSIX as '\\' is valid in a POSIX pathname, the only banned characters are '/' and '\0'. How much of a problem is this ? And how much eff

[cifs-protocol] Re: [linux-cifs-client] Linux CIFS performance

2007-03-07 Thread Jeremy Allison
On Wed, Mar 07, 2007 at 12:41:38PM -0600, Steve French wrote: > After looking at a few posts complaining about Linux cifs performance > vs. nfs, Shaggy and I looked at some traces, and Shaggy spotted > something very important. CIFS was rereading a page in one case in > which it did not need to,