--with-samba problems

Andrew V. Samoilov kai at cmail.ru
Wed Oct 17 12:47:28 UTC 2001


Hi, Pavel!
:
: If you configure samba-2.2.1a with "--with-smbwrapper", then you get
: smbwrapper.so
: 
: Now, if you rename smbwrapper.so to libsmbwrapper.so and link mc against
: it instead on the code from vfs/samba, only few symbols are unresolved:
: 
: from vfs/smbfs.c:
: DEBUGLEVEL smb_len smb_buf
: 
: from libsmbwrapper.so:
: real_llseek real_lstat64 real_readdir64 real_fstat64 real_stat64
: real_pwrite real_pread

Well, yesterday I compiled smbwrapper.so from samba 2.0.7 
on glibc 2.1.3 based Slackware 7.1 and linked mc against it.
I needed to comment some defines for large file functions because
I have not off64_t and stat64 types but samba's configure 
did not check it.  Too old samba version to report, I think.

But it is wrong move because smbwrapper.so wrap libc's open, create, write
and so on, and it is not that we need.

BTW url syntax for smbfs (and maybe ftpfs) must be expanded
to allow specify current session language/codeset.

I will write to samba at lists.samba.org.
Wish me a good luck ;-)

Regards,
Andrew.





More information about the mc-devel mailing list