svn commit: samba r13305 - in trunk/source/smbd: .

Jeremy Allison jra at samba.org
Fri Feb 3 18:07:50 GMT 2006


On Fri, Feb 03, 2006 at 03:38:31PM +0000, vlendec at samba.org wrote:
> Author: vlendec
> Date: 2006-02-03 15:38:31 +0000 (Fri, 03 Feb 2006)
> New Revision: 13305
> 
> WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13305
> 
> Log:
> 192.168.234.100 is a NT4 machine that exports [temp] as read-only restricted
> at the share level. I negotiate lanman1 to get dos error codes.
> 
> vlendec at delphin:/etc> smbclient //192.168.234.100/temp -Uvl%asdf -W windows -c
> 'put hosts \pipe\samr'
> Domain=[WINDOWS] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> NT_STATUS_ACCESS_DENIED opening remote file \\pipe\samr
> vlendec at delphin:/etc> smbclient //192.168.234.100/temp -Uvl%asdf -W windows -m
> lanman1 -c 'put hosts \pipe\samr'
> ERRDOS - ERRnoaccess (Access denied.) opening remote file \\pipe\samr
> 
> Without this patch Samba misbehaves in the same situation:
> 
> vlendec at delphin:/etc> smbclient //192.168.234.1/tmp -Uvl%asdf -W windows -c
> 'put hosts \pipe\samr' -m lanman1
> ERRSRV - ERRaccess ( ... stuff deleted ) opening remote file \\pipe\samr
> 
> With this patch we get
> 
> ERRDOS - ERRnoaccess (Access denied.) opening remote file \\pipe\samr
> 
> which is correct I think.
> 
> Jeremy, please check.

Ok, doesn't look completely correct to me.... This looks like
something we need to check before the open. I'll look into
moving it so we still behave correctly.

Jeremy.


More information about the samba-technical mailing list