From: Martin M. <mm...@me...> - 2004-11-01 08:24:29
|
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 ###################################################################### |