DFS problem

Jeremy Allison jra at samba.org
Tue May 5 20:10:41 GMT 2009


On Tue, May 05, 2009 at 09:53:24PM +0200, Volker Lendecke wrote:
> On Tue, May 05, 2009 at 12:46:17PM -0700, Herb Lewis wrote:
> > This is definitely a problem. This indicates that pp_link_target passed
> > to this function was NULL. 7 bytes is really short for a link target
> > buffer.
> 
> Yes, but reading susv3 shows:
> 
> > If the buf argument is not large enough to contain the
> > link content, the first bufsize bytes shall be placed in
> > buf.
> 
> I read this as if the kernel should not complain but fill
> as much as fits into the buffer.

It's 7 bytes as that's the length of strlen("msdfs:") + 1.
Which is all we need to read at this point.

Jeremy.


More information about the samba-technical mailing list