Hello, Gediminas!

I'm not sure if the list [EMAIL PROTECTED] exists. I'm not
subscribed to it.

> I found that in vfs/smbfs.c the path of config file is hardcoded: it is
> always "/etc/smb.conf", though it could be different (on Debian it was
> "/etc/samba/smb.conf" for ages).

That's indeed a problem. A short term solution would be to split smbfs.c
and put that part in the vfs/samba directory so that it can use the
CONFIGFILE variable. Unfortunately, CONFIGFILE doesn't appear in any
header files.

> And related issue, why I found 1st one -- mc does not recognize parameters
> "debug pid" and "debug uid", but they are valid. Also, "debuglevel" should
> be "debug level" (file vfs/samba/param/loadparm.c). At least for samba 2.0.7

A long term solution would be to use smblib in MC and remove all Samba
code from the MC distribution. This way, upgrading to the next version of
Samba in MC would be trivial.

We also have some limitations in the code included with MC. For example,
computer browsing doesn't work on the recent versions of GNU/Linux because
Samba doesn't know how to determine the broadcast address. It is likely
that the latest version of Samba doesn't have this problem.

Regards,
Pavel Roskin

Reply via email to