View Single Post
  #3   (View Single Post)  
Old 2nd January 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Assuming you are using mount_smbfs, judging by the manual page, I would be taking a wild guess that: 0/ you can not use the user/password params because mount_smbfs apparently does not support -o username=foo, etc. 1/ It would seem, you need to specify the user in the fstab entry:

Code:
//guest@samba/public    /smb/public	   smbfs  rw,noauto 0	0
and 2/ for a required password, setup a nsmbrc for it to use during boot, and hope it will skip interactive prompting when pw is found there, without having to specify -N.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote