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,

Martin Mewes wrote:
> Mounting on the command line makes no problems.

These would be correct entries in /etc/samba/fstab when a user is in a 
domain. Just tested ...

//$windows/$share         /mnt/public     \ 
username=$domainuser,password=$domainpasswd,uid=$linuxuid,gid=linuxuid,rw

.. all in one line of course.

Reason for the errors could have been that $domainuser does not need 
to have something like "DOMAIN\USER" in order to login, because if the 
local samba-server is already a member of a domain the username is 
authenticated against a domain-controller anyway.

So this is more a User-Error here. But you could add an additional way 
to mount a smb-share if someone is using "$domain\$domainuser", 
because of the above written like this ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In first place try "$domainuser" only as this is for Domain-Members.
In second place try "$domain\$domainuser" because it could be that we 
are in a workgroup.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe it would be good anyway to let the user choose if his machine is 
a domain-machine or a workgroup-machine when connecting to a smb-share 
to prevent errors in advance?

Anyways the move of smbmounts to /etc/samba/smbfstab should be done.

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.