Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, i have a Buffalo linkstation running kernel 2.6.22 with samba 3.x, to cut a long story short, how do i mount a share with specifying a particular user account? ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    21

    mount samba shares with specified user account.

    Hi, i have a Buffalo linkstation running kernel 2.6.22 with samba 3.x, to cut a long story short, how do i mount a share with specifying a particular user account?

    what i mean is, through the web interface i can specify users, groups, and restrict access to shares; the problem arises when mounting the share - i get a permission denied message. i assume this is an issue with samba/users and groups, how would i go about solving this issue?

    here are my current mount options:
    Code:
    mount //192.168.1.3/share /mnt/LinkStation -o rw,guest,uid=thejanitor,gid=users,file_mode=0660,dir_mode=0770,iocharset=iso8859-1
    thanks.

  2. #2
    Linux User
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    262
    Quote Originally Posted by TheJanitor View Post
    Hi, i have a Buffalo linkstation running kernel 2.6.22 with samba 3.x, to cut a long story short, how do i mount a share with specifying a particular user account?

    what i mean is, through the web interface i can specify users, groups, and restrict access to shares; the problem arises when mounting the share - i get a permission denied message. i assume this is an issue with samba/users and groups, how would i go about solving this issue?

    here are my current mount options:
    Code:
    mount //192.168.1.3/share /mnt/LinkStation -o rw,guest,uid=thejanitor,gid=users,file_mode=0660,dir_mode=0770,iocharset=iso8859-1
    thanks.
    There are option for within the "-o" field:

    • user=XXXXX
    • passwd=XXXX
    • domain=XXXX
    • workgroup=XXXX

  3. #3
    Just Joined!
    Join Date
    Jun 2010
    Posts
    21
    Thanks, worked perfectly.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...