DFS problem

miguel.sanders at arcelormittal.com miguel.sanders at arcelormittal.com
Tue May 5 19:22:01 GMT 2009

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 ;)

Met vriendelijke groet
Best regards
Bien à vous

ArcelorMittal Gent

UNIX Systems & Storage
IT Supply Western Europe | John Kennedylaan 51
B-9042 Gent

T +32 9 347 3538 | F +32 9 347 4901 | M +32478 805 023
E miguel.sanders at arcelormittal.com

-----Oorspronkelijk bericht-----
Van: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE] 
Verzonden: dinsdag 5 mei 2009 21:04
Aan: SANDERS Miguel
CC: samba-technical at lists.samba.org
Onderwerp: Re: DFS problem

On Tue, May 05, 2009 at 08:49:54PM +0200, miguel.sanders at arcelormittal.com wrote:
> No afaik it's a valid DFS symlink
> lrwxrwxrwx    1 root     system           20 May 05 20:10 test -> msdfs:sv106n\sighome
> With all the macro's in msdfs.c, I'm a bit lost to debug this :(
> referral_len = SMB_VFS_READLINK(conn, path, link_target, bufsize - 1); 
> if (referral_len == -1) {
>    DEBUG(0,("is_msdfs_link_read_target: Error reading "
>                "msdfs link %s: %s\n",
>                path, strerror(errno)));
>    goto err;
> }

You might try to strace that smbd to see if this error message comes from the kernel.


This message and any attachment are confidential, intended solely for the use of the individual or entity to whom it is addressed and may be protected by professional secrecy or intellectual property rights. 
If you have received it by mistake, or are not the named recipient(s), please immediately notify the sender and delete the message. You are hereby notified that any unauthorized use, copying or dissemination of any or all information contained in this message is prohibited. 
Arcelormittal shall not be liable for the message if altered, falsified, or in case of error in the recipient. 
This message does not constitute any right or commitment for ArcelorMittal except when expressly agreed otherwise in writing in a separate agreement.  

More information about the samba-technical mailing list