Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Samba: write permission per IP?
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
DumbAss
Apprentice
Apprentice


Joined: 30 Sep 2003
Posts: 247
Location: 't Steen

PostPosted: Sun Mar 21, 2004 11:29 pm    Post subject: Samba: write permission per IP? Reply with quote

Hi,

Is it possible to limit write permissions to an IP address with samba? I want everyone to log on as a guest but certain ip's must have write access.
Back to top
View user's profile Send private message
redalert_007
n00b
n00b


Joined: 06 Mar 2004
Posts: 12

PostPosted: Mon Mar 22, 2004 5:28 am    Post subject: Reply with quote

In smb.conf

Code:

[shared]
hosts allow =127.0.0.1 (list of allow hosts here)


More info here:
http://servers.linux.com/article.pl?sid=03/12/04/1354232
Back to top
View user's profile Send private message
Nossie
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 181

PostPosted: Mon Mar 22, 2004 9:54 am    Post subject: Reply with quote

Doesn't this block all hosts except the ones listed in 'hosts allow' ?

I think what he want's to do is allow everyone to read the share, but allow only specific ip's to have write access to the share.

I don't think it is possible, but I hope I'm wrong, because I would like to use this too.

gr,
Nossie
Back to top
View user's profile Send private message
DumbAss
Apprentice
Apprentice


Joined: 30 Sep 2003
Posts: 247
Location: 't Steen

PostPosted: Mon Mar 22, 2004 1:00 pm    Post subject: Reply with quote

Nossie wrote:
Doesn't this block all hosts except the ones listed in 'hosts allow' ?

I think what he want's to do is allow everyone to read the share, but allow only specific ip's to have write access to the share.

I don't think it is possible, but I hope I'm wrong, because I would like to use this too.

gr,
Nossie
Yes, you're rights. That's exactly what I want to achieve.
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