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

Jamie Cameron <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
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




-------------------------------------------------------
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.