Re: [webmin-devel] [FSTAB] Samba-Problems with Webmin Version 1.163

Martin Mewes <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
Hi Jamie,

Jamie Cameron wrote:

> Perhaps not all filesystems have a mount.XXX program, only those that
> cannot be handled directly by the kernel ..
> 
> So what is Webmin doing wrong exactly? Is it using /etc/fstab instead of
> /etc/samba/sbmfstab , or can it not even mount SMBFS at all?

[/etc/fstab -> /etc/samba/smbfstab]
It uses /etc/fstab, which is not wrong in the first line.
Compiling smb-shares in /etc/fstab is making the used login and 
password visible to any user on the system.

According to the FAQ smb-shares whould be written to 
/etc/samba/smbfstab by default, because this is more safe.

If you do a "ps -fax" as a normal user you will see login and password 
in the tree, whereas written down in /etc/samba/fstab it only shows 
that there is something mounted.

Anyway a "cat" would make it visible, so it is just a chmod-modding by 
the admin to disallow this.

SuSE 9.2 has an empty sbmfstab coming with the default rpm's. I cannot 
be sure for SuSE 9.1, but the mechanism should be as bot distros come 
with Samba v3.x

[mount-errors]
I can only be sure for SuSE 9.2.
Using Webmin there is a syntax error happening.

Mounting on the command line makes no problems.

bis dahin - kind regards

Martin Mewes

-- 
######################################################################
http://www.webmin.com/	http://webmin.mamemu.de/
Webbased Administration Tool for Unixoid Systems :-)
Member of the Webmin Translation Team
######################################################################


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.