Thread View: news.software.nntp
3 messages
3 total messages
Started by ishulz
Thu, 11 Sep 2003 09:53
Different access policies for external and internal users.
Author: ishulz
Date: Thu, 11 Sep 2003 09:53
Date: Thu, 11 Sep 2003 09:53
44 lines
2205 bytes
2205 bytes
I'm trying to permit access for internal.* groups only for internal
users, and passworded access for extrnal.* groups for all users.
This is my config:
auth ext {
hosts: "*, !localhost, !127.0.0.1, !stdin, !192.168.0.0/24"
auth: "ckpasswd -f /usr/local/news/etc/passwd"
default: other_ext
}
auth int {
hosts: "localhost, 127.0.0.1, stdin, 192.168.0.0/24"
auth: "ckpasswd -f /usr/local/news/etc/passwd"
default: other
}
access int {
users: !other_ext,*
newsgroups: "internal*, external*, !control*, !junk"
access: RPA
}
access int {
users: other
newsgroups: "internal*, !external*, !control*, !junk"
access: RPA
}
access ext {
users: other_ext
newsgroups: "!internal*, !external*, !control*, !junk"
access: RPA
}
Telnet 119 from 192.168.0.0/24 works fine: without password I see only
internal.* groups, and when I enter user/password I see all groups:
internal.* and external.*.
Telnet 119 from external network without password doesn't show any
groups, but when I enter user/password I see not only external groups
but internal ones too.
What is wrong in my config?
Re: Different access policies for external and internal users.
Author: Jeffrey M. Vinocur
Date: Thu, 11 Sep 2003 17:57
Date: Thu, 11 Sep 2003 17:57
33 lines
2141 bytes
2141 bytes
In article <d6ef1c1f.0309110153.f289c54@posting.google.com>,
ishulz <ishulz@mail.ru> wrote:
>I'm trying to permit access for internal.* groups only for internal
>users, and passworded access for extrnal.* groups for all users.
>
>auth ext {
> hosts: "*, !localhost, !127.0.0.1, !stdin, !192.168.0.0/24"
> auth: "ckpasswd -f /usr/local/news/etc/passwd"
> default: other_ext
>}
>
>auth int {
> hosts: "localhost, 127.0.0.1, stdin, 192.168.0.0/24"
> auth: "ckpasswd -f /usr/local/news/etc/passwd"
> default: other
>}
In both of these cases, after sending username and password, the
assigned identity will be the username given. So in both cases,
after authenticating, this is the line that will match:
> users: !other_ext,*
Now, I think you're the first person I've *ever* seen post here
who actually *should* be using the key: parameter in
readers.conf. Check the documentation on that, and just ask
again if you're still confused.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: Different access policies for external and internal users.
Author: Igor I. Shulz
Date: Fri, 12 Sep 2003 10:01
Date: Fri, 12 Sep 2003 10:01
39 lines
2359 bytes
2359 bytes
Thanx!!! It works fine !!!
"Jeffrey M. Vinocur" <jeff@litech.org> wrote in message
news:bjqd27$eoi$2@puck.litech.org...
> In article <d6ef1c1f.0309110153.f289c54@posting.google.com>,
> ishulz <ishulz@mail.ru> wrote:
> >I'm trying to permit access for internal.* groups only for internal
> >users, and passworded access for extrnal.* groups for all users.
> >
> >auth ext {
> > hosts: "*, !localhost, !127.0.0.1, !stdin, !192.168.0.0/24"
> > auth: "ckpasswd -f /usr/local/news/etc/passwd"
> > default: other_ext
> >}
> >
> >auth int {
> > hosts: "localhost, 127.0.0.1, stdin, 192.168.0.0/24"
> > auth: "ckpasswd -f /usr/local/news/etc/passwd"
> > default: other
> >}
>
> In both of these cases, after sending username and password, the
> assigned identity will be the username given. So in both cases,
> after authenticating, this is the line that will match:
>
> > users: !other_ext,*
>
>
> Now, I think you're the first person I've *ever* seen post here
> who actually *should* be using the key: parameter in
> readers.conf. Check the documentation on that, and just ask
> again if you're still confused.
>
>
> --
> Jeffrey M. Vinocur
> jeff@litech.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads