you can also have:

//10.32.32.1/mp3 /usr/share/music smb  guest,uid=tone  0   0

if you have share level security on the windows machine.. (and also this
mounts the dir owned by the user tone)

On Mon, 2003-12-15 at 10:59, Peter Hardy wrote:
> On Mon, 2003-12-15 at 10:44, Phillipus Gunawan wrote:
> > How can we auto-mount a network share folder from windoewz to linux? I
> > knew that we can achive it by editing fstab file, but when the share
> > folder is set without password, what should I write?
> 
> Just give it a username and a blank password.  Here's how I mount the
> public mp3 share on our local office server.  It's a Linux box running
> samba, but I've used the same method to mount shares from Windows 2000.
> 
> //10.32.32.1/mp3        /usr/share/music        smb     
> username=bp,password=,rw,auto   0       0
> 
> It may be important to make sure you do give a valid username.  But I'm
> not sure. :-)
> 
> -- 
> Pete
-- 
Regards,
  Tony Sceats
  Systems Engineer
  Bulletproof Networks
  ph:  +61 (0) 2 9663 9000
  fax: +61 (0) 2 9662 4744
  http://www.bulletproof.it/
 
This e-mail and any attachments are confidential and may
be legally privileged. Only the intended recipient may
access or use it and no confidentiality or privilege is
waived or lost by mistaken transmission.  If you are not
the intended recipient you must not copy or disclose this
email's contents to any person and you must delete it and
notify us immediately. Bulletproof Networks uses virus
scanning software but excludes all liability for viruses
or similar in any attachment as well as for any error or
incompleteness in the contents of this e-mail.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to