From: Heiko Z. <he...@zu...> - 2012-02-13 16:53:45
|
Quoting Dominic Raferd <dl...@ed...>: > On 13/02/2012 13:45, Heiko Zuerker wrote: > Hey, Quoting Andrzej > Odyniec <an...@ma...>[1]:> Heiko Zuerker wrote:> The addition of > cifsutils was in preparation of the upgrade to samba 3.6. The new samba > version doesn't include any of the cifs client tools, that's why we need > that package. >>> Heiko, You are right. I did not check carefully the cause. Now I'm >>> wiser, because I read the sources.> I just checked in the latest samba >>> and an update to cifsutils. Hopefully the newer version works better >>> for you. >>> Before I wrote first mail, I checked the same with these new versions >>> of samba and cifs-utils. It did not solve the problem. Anyway, thanks >>> for the upgrade. The problem is with realpath function, which is used >>> in mount.cifs to canonicalize mount point path. Two specifications are >>> used for this function: one assumes that the second argument is obvious >>> pointer to the buffer for canonicalized path, and the second allows to >>> NULL pointer, when realpath should malloc memory for that buffer. >>> mount.cifs uses second form and gives NULL pointer to this call, but >>> for some reason (for me at least), realpath is not accepting NULL in >>> the second parameter and gives error. Well, only in 32-bit compilation. >>> Maybe because of some additional packages, added myself, cifs-utils >>> catch invalid library? I have to find the cause or patch cifs-utils. >> Does the version I built work for you? > > Andrzej/Heiko: > > I wonder if this is related to the 'Samba wide links problems: > canonicalize_connect_path failed[2]' problem that I reported on > devil-linux-discuss on 21 Jan 2011 - and which still persists. It > certainly sounds similar. Is it possible that the problem is caused by > the location of smb.conf? I was able to turn the wide links off when I upgraded to the latest DL with Samba 3.6.3. Give that a try. -- Regards Heiko Zuerker http://www.devil-linux.org |