From: Andrzej O. <an...@ma...> - 2012-02-13 13:40:11
|
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. Regards -- Andrzej Odyniec |