|
From: Jamie C. <jca...@we...> - 2004-10-31 08:38:27
|
On Sun, 2004-10-31 at 05:59, Martin Mewes wrote:
> 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
So does the mount.smbfs program not exist on SuSE 9.1? Typically there
is a mount.XXX for every XXX filesystem supported ..
Without this program, it is hard for Webmin to know if SMBFS support is
installed or not.
- Jamie
|