View previous topic :: View next topic |
Author |
Message |
aqua-teen-hunger Tux's lil' helper
Joined: 31 Aug 2006 Posts: 89 Location: computer chair
|
Posted: Thu Apr 05, 2007 7:49 pm Post subject: samba shares and fstab [SOLVED] |
|
|
im trying to make an fstab entry for a samba share, that i can mount with my rox filer (as a normal user), also seeing as how this share is public, what username and pass would i use for the fstab parameters? sure i could just emerge nautilus//konqueror and be done with it, but this is a lite-weight box
Last edited by aqua-teen-hunger on Fri Apr 06, 2007 4:40 am; edited 1 time in total |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Thu Apr 05, 2007 8:17 pm Post subject: Re: samba shares and fstab |
|
|
aqua-teen-hunger wrote: | im trying to make an fstab entry for a samba share, that i can mount with my rox filer (as a normal user), also seeing as how this share is public, what username and pass would i use for the fstab parameters? sure i could just emerge nautilus//konqueror and be done with it, but this is a lite-weight box |
Make sure you have cifs support compiled in your kernel (module or inline) and use cifs in the type field.
This will auto-mount it on boot:
Code: | //external_smb_host_netbiosname/sharename /home/myusername/mymountpoint cifs auto,users,user_xattr,acl,wsize=32K,uid=1000,gid=1000,credentials=/home/myusername/credfile 0 0 |
Using, of course, the proper uid and gid, placing the proper information in the credentials file: Code: | username=myusername
password=mypasswrod
domain=MYDOMAIN (or MYWORKGROUP) |
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
aqua-teen-hunger Tux's lil' helper
Joined: 31 Aug 2006 Posts: 89 Location: computer chair
|
Posted: Thu Apr 05, 2007 8:31 pm Post subject: |
|
|
its not going to be able to auto-mount on boot, the selected client will not always be online, thus why i said it needed to be able to be mounted by a normal user |
|
Back to top |
|
|
darkphader Veteran
Joined: 09 May 2002 Posts: 1225 Location: Motown
|
Posted: Thu Apr 05, 2007 9:07 pm Post subject: |
|
|
aqua-teen-hunger wrote: | its not going to be able to auto-mount on boot, the selected client will not always be online, thus why i said it needed to be able to be mounted by a normal user |
man fstab
Change "auto" to "noauto".
Chris _________________ WYSIWYG - What You See Is What You Grep |
|
Back to top |
|
|
qriff n00b
Joined: 04 Dec 2003 Posts: 73
|
Posted: Sat Apr 21, 2007 11:53 pm Post subject: |
|
|
No officially correct solution.
Someone should specify the proper way. |
|
Back to top |
|
|
|