ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Michael A. Kangin" <mak@complife.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] Radius: привязка пользователя к клиенту
Date: Fri, 09 Sep 2011 11:23:52 +0400
Message-ID: <4E69BF08.5060703@complife.ru> (raw)

Добрый день.

Есть радиус-сервер (freeradius).
Есть несколько серверов без возможностей дополнительных настроек, каждый 
выступает как отдельный клиент.
Есть многопользователей, некоторым нужен доступ на все сервера, а 
некоторым - только на какие-то.

При попытке входа пользователя на сервер я вижу только такую информацию 
у радиус-сервера:
rad_recv: Access-Request packet from host 192.168.2.2 port 1257, id=131, 
length=84
User-Name = "user1"
User-Password = "mypassword"
NAS-IP-Address = 127.0.0.1
NAS-Identifier = "webauthradius"
NAS-Port = 232
NAS-Port-Type = Virtual
Service-Type = Authenticate-Only

т.е. сервера отличаются только хостом, с которого идёт запрос, а все 
AV-пары одинаковые.

Можно как-нибудь в таких условиях сделать так, чтобы какой-то 
пользователь мог входить только с определенного сервера (клиента)?



-- 
Michael A. Kangin


             reply	other threads:[~2011-09-09  7:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-09  7:23 Michael A. Kangin [this message]
2011-09-09  7:35 ` Alexei Takaseev
2011-09-09  7:42   ` Michael A. Kangin
2011-09-09  7:54     ` Sergey
2011-09-09 14:03       ` Michael A. Kangin
2011-09-09  7:45 ` Sergey
2011-09-19 18:04 ` Михаил Плужников

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E69BF08.5060703@complife.ru \
    --to=mak@complife.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git