LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 04-18-2008, 08:34 AM   #1
Viracocha
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Question Samba Permissions with D-Link DNS-323


Hi everyone, first time here.

I got a D-Link DNS-323, which is a network attached storage that runs some version of linux. With some mods, I am now able to telnet into it and change configuration for Samba, being more flexible than the web app it uses by default.

I have run into some problems regarding giving write access to a particular person. I have the following share in my smb.conf:

Code:
[username]
comment = 
path = /mnt/HD_a2/Home/username
valid users = @Admin @PowerUsers username
write list = username
writeable = yes
guest ok = no
oplocks =  yes
map archive = yes
It should give user username read/write access to the share, and read only access to users in groups Admin and PowerUsers. Unfortunately it doesn't seem to be doing this. It's allowing everyone in those groups write access to the share. If I set it to read only = yes, then no one has write access to it. In Linux, the permissions are 777, which is what I'd expect since the restrictions would come from samba.

Any idea what I'm doing wrong, or is it a problem related to the DNS-323?

Thanks in advance,
Pedro
 
Old 04-18-2008, 02:44 PM   #2
Stefan J
Member
 
Registered: Oct 2006
Location: Leicestershire, England
Distribution: Ubuntu 7.04
Posts: 45

Rep: Reputation: 16
Hi

Try removing 'writeable = yes' and restarting samba. Here are the lines from my smb.conf that allows write permissions to user 'stefan' (me!) and read only to everyone else.

[Media]
path = /samba/media
comment = Media Files (Backup)
volume = MediaServer2
read only = yes
write list = stefan

Hope this helps.

Regards

Stefan
 
Old 04-21-2008, 09:39 AM   #3
Viracocha
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, that did the trick .
 
Old 04-13-2009, 11:05 PM   #4
nicsmr
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by Viracocha View Post
Hi everyone, first time here.

I got a D-Link DNS-323, which is a network attached storage that runs some version of linux. With some mods, I am now able to telnet into it and change configuration for Samba, being more flexible than the web app it uses by default.

I have run into some problems regarding giving write access to a particular person. I have the following share in my smb.conf:

Code:
[username]
comment = 
path = /mnt/HD_a2/Home/username
valid users = @Admin @PowerUsers username
write list = username
writeable = yes
guest ok = no
oplocks =  yes
map archive = yes
It should give user username read/write access to the share, and read only access to users in groups Admin and PowerUsers. Unfortunately it doesn't seem to be doing this. It's allowing everyone in those groups write access to the share. If I set it to read only = yes, then no one has write access to it. In Linux, the permissions are 777, which is what I'd expect since the restrictions would come from samba.

Any idea what I'm doing wrong, or is it a problem related to the DNS-323?

Thanks in advance,
Pedro

Hi There,

I too purchased this NAS but can't telnet to it. Conection refused.

What mods did you do to it to be able to telnet it?

thanks
Nick.
 
Old 04-27-2009, 04:03 PM   #5
1bigboomstick
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by Viracocha View Post
Thanks, that did the trick .
Hi there,

Okay, I must be missing something. (Probably a few things actually)
I'm trying to edit my smb.default file so that I can use AD. I've loaded a fun plug, but I can't seem to get my config file to show up in the volume1 folder so I can edit it. I am very new to Linux, please be specific with instructions.

Thanks
Deano
 
  


Reply

Tags
dns323, permissions, samba


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SER H.323 Supprt sailu_mvn Linux - Software 1 01-21-2011 03:48 PM
Thinking about buying the DNS-323 by D-Link qennster Linux - Hardware 1 11-24-2007 11:35 PM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM
D-Link G604T and DNS cm0901 Linux - Networking 4 09-28-2005 03:12 PM
changing permissions on a soft link jse580 Linux - Networking 2 03-02-2004 03:48 PM


All times are GMT -5. The time now is 02:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration