Fwd: Where is the code of choosing link-target?
jorgar at gmail.com
Wed Nov 21 16:45:55 GMT 2007
---------- Forwarded message ----------
From: liulimin at vip.sina.com <liulimin at vip.sina.com>
Date: 21 Nov 2007 01:35
Subject: Where is the code of choosing link-target?
To: JamesPeach <jorgar at gmail.com>
I have studied the code of samba , wished to find out the code of
choosing the first link-target defaultly .
Now i think it is the cli_resolve_path() function in clidfs.c ,this
function calls the split_dfs_path( refs.dfspath, server, share,
function,so i changed refs.dfspath to refs[num_refs-1].dfspath ,
and compiled the samba-code , but the result is there is no change
happened .So i
want to know if i have changed the right code ? If i was wrong please
tell me where is the code that choose the first link-target
and will choose the next target in the referral list if the first
target is down?
I appreciate your help!
James Peach | jorgar at gmail.com
More information about the samba-technical