Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
samba shares and fstab [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aqua-teen-hunger
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2006
Posts: 89
Location: computer chair

PostPosted: Thu Apr 05, 2007 7:49 pm    Post subject: samba shares and fstab [SOLVED] Reply with quote

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
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Thu Apr 05, 2007 8:17 pm    Post subject: Re: samba shares and fstab Reply with quote

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
View user's profile Send private message
aqua-teen-hunger
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2006
Posts: 89
Location: computer chair

PostPosted: Thu Apr 05, 2007 8:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Thu Apr 05, 2007 9:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
qriff
n00b
n00b


Joined: 04 Dec 2003
Posts: 73

PostPosted: Sat Apr 21, 2007 11:53 pm    Post subject: Reply with quote

No officially correct solution.
Someone should specify the proper way.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum