Hi there... I want to mount a windows share automatically in fstab but I get an error When I try: mount -t smbfs //MSWinSMBServer/share /mnt/share, it works, and even when I pass options like, mount -t smbfs -o username=bcochofel,workgroup=COCHOFEL,uid=bcochofel,gid=users then, when asked, I type password... The problem is when I do this in my fstab... here's the line: //MSWinSMBServer /mnt/share smbfs noauto,user 0 0 I even tried, //MSWinSMBServer /mnt/share smbfs noauto,user,credentials=/home/bcochofel/.smbpassword 0 0 //MSWinSMBServer /mnt/share smbfs noauto,user,username=bcochofel,workgroup=COCHOFEL,uid=bcochofel,gid=users 0 0 but I get always this error: mount error: Invalid argument Please refer to the smb... smbmnt failed: 255 What is wrong in my fstab? -- Bruno Cochofel, Tlm: +351 918921624 ICQ#: 314484707 bruno.cochofel@zmail.pt
On Fri, 2004-01-02 at 07:46, Bruno Cochofel wrote:> Hi there... > I want to mount a windows share automatically in fstab but I get an error > > When I try: mount -t smbfs //MSWinSMBServer/share /mnt/share, it works, > and even when I pass options like, > > mount -t smbfs -o > username=bcochofel,workgroup=COCHOFEL,uid=bcochofel,gid=users > > then, when asked, I type password... > > The problem is when I do this in my fstab... > > here's the line: > > //MSWinSMBServer /mnt/share smbfs noauto,user 0 0 >Shouldn't the first part include the actual share? //MSWinSMBServer/SHARE Craig
Reasonably Related Threads
- Samba/LDAP Backend: Error NT_STATUS_CONNECTION_REFUSED
- Polices, Rules and Configurations - No Success (#/etc/shorewall/policy)
- problems with nonlinear fits using nls
- Rewrite the mailbox copy functions works in imap but don't work in doveadm import command
- Shorewall Rules and Configurations