[webmin-devel] [FSTAB] Samba-Problems with Webmin Version 1.163
Martin Mewes <[email protected]>
| Newsgroups | gmane.comp.web.webmin.devel |
|---|---|
| Organization | http://webmin.mamemu.de/ |
| Message-ID | <[email protected]> |
Hi all,
found on SuSE 9.1 and SuSE 9.2
When I use the mount module to mount windows-shares I receive erros
all the time. Doing it from the command line there is no problem.
When I add this into /etc/samba/smbfstab
//$server/$share /$linux/$dir smbfs \
username=$username,password=$password
and then do an /etc/init.d/smbfs restart
the share is mounted.
When I do a local
mount -t smbfs -o \
username=$username,password=$password //$server/$share /$linux/$dir
everything works fine as well.
When I look at the code for this in suse-linux-lib.pl
[...]
if (&has_command("mount.smbfs")) {
$smbfs_support = `mount.smbfs -v` =~ /username=/i ? 4 : 3;
$smbfs_fs = "smbfs";
}
[...]
"mount.smbfs" is out of service as well as "smbmount"
[...]
elsif (&has_command("smbmount")) {
$smbfs_support = `smbmount -v` =~ /Version\s+2/i ? 2 : 1;
$smbfs_fs = "smbfs";
}
[...]
It has worked with the very first version of Samba 3.02 on SuSE Linux
9.1, but did not anymore when someone upgraded to Samba 3.04 with
Yast Online Update. In fact the mount was mounted from /etc/fstab,
but no longer if you needed to alter that mount.
Please can someone patch against this in order to ...
a) Only use "mount -t smbfs ..."
b) write this into an existing /etc/samba/sbmfstab to hide passwords.
c) write only to /etc/fstab if users should be able to mount this as
well.
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