DFS problem

Herb Lewis hlewis at panasas.com
Tue May 5 19:46:17 GMT 2009

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

Volker Lendecke wrote:
> On Tue, May 05, 2009 at 09:22:01PM +0200, miguel.sanders at arcelormittal.com wrote:
>> Hmm, what do you think about this:
>> 356352: readlink("./test", "", 6)                       Err#34 ERANGE
>> Which would mean that the path name in the symbolic link is longer than the BufferSize value of the readlink call...
>> BTW, this is AIX ;)
> Looking at the single unix specification, ERANGE is not
> expected from readlink. You might try to replace the
>         char link_target_buf[7];
> by
>         char link_target_buf[1024];
> a couple of lines above. If that helps, please file a bug in
> bugzilla with all this information. This way we'll get it
> into the next Samba releases.
> Volker

More information about the samba-technical mailing list