DFS problem

miguel.sanders at arcelormittal.com miguel.sanders at arcelormittal.com
Tue May 5 18:49:54 GMT 2009


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

Debug level 10 also shows that
[2009/05/05 20:47:36,  5] smbd/trans2.c:get_lanman2_dir_entry(1400)
  get_lanman2_dir_entry:Couldn't stat [./test] (A file or directory in the path name does not exist.)


Met vriendelijke groet
Best regards
Bien à vous

Miguel SANDERS
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
www.arcelormittal.com/gent

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

On Tue, May 05, 2009 at 08:26:11PM +0200, miguel.sanders at arcelormittal.com wrote:
> I'm trying to play around with DFS support but I am encountering the following error:
> [2009/05/05 20:11:47,  0] smbd/msdfs.c:is_msdfs_link_internal(441)
>   is_msdfs_link_read_target: Error reading msdfs link ./test: A return value of a math subroutine is not within machine precision.
> 
> Anyone ever seen something like that before?

No :-)

This sounds like some kind of overflow. "./test" -- that does not happen to be some kind of self-referring symlink?
What does "stat ./test" on that file say?

Volker

**** 
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