DFS problem

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue May 5 20:17:22 GMT 2009


On Tue, May 05, 2009 at 01:10:41PM -0700, Jeremy Allison wrote:
> 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.

Understood :-)

And -- AIX should not complain.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090505/715f0740/attachment.bin


More information about the samba-technical mailing list