ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "altconf@gmail.com" <altconf@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] SAMS-1.0.5 на ALT Linux 6.0.0 Centaurus  (Cheiron)
Date: Sat, 17 Nov 2012 00:05:33 +0400
Message-ID: <50A69C8D.9030005@gmail.com> (raw)

Здравствуйте.
Есть
ALT Linux 6.0.0 Centaurus  (Cheiron)
Linux srv.localdomain 2.6.32-el-smp-alt27 #1 SMP Tue Sep 20 19:35:51 UTC 
2011 i686 GNU/Linux
Version SAMS-1.0.5

поставил
sams - Программное средство для администрирования доступа пользователей 
к прокси-серверу squid
sams-server - Сервер sams
sams-web - Управление sams через web
Сделал настройку авторизация по IP и редиректор встроенный самс.
Завел несколько пользователей (они активные), а их samsredir не пускает
[root@srv etc]# samsredir -d
Connected database: squidctrl:localhost user=sams
authentification: IP addr
Get SAMS users: 3 users found
   0:           userb       workgroup 192.168. 14.  3  1 default 1111111 
0 - 1440 0 0 0 0
   1:           userr       workgroup 192.168. 14.  2  1 default 1111111 
0 - 1440 0 0 0 0
   2:           userx       workgroup 192.168.100.150  1 default 1111111 
0 - 1440 0 0 0 0

Search URL lists in the users templates: found 0 URL lists

Sorting URL lists in the users templates: found 5 URL lists
Found 1 URL in the SAMS URL lists
http://ya.ru 192.168.14.3/- userb get
STDIN:  http://ya.ru 192.168.14.3/- userb get
    decode data: URL=http://ya.ru IP=192.168.14.3 USER=userb TYPE=get
    authentication: ip
    Search SAMS user...    NOT FOUND
URLALLOW=0 ALLOW=0 USERDENIED=1 DENIED=0 REDIRECT=0 TIMEDENIED=0
http://your.ip.address/sams/messages/blocked.php?action=userdisabled&id= 
192.168.14.3/- userb get
Естественно если в сквиде указываю url_rewrite_program 
/usr/bin/samsredir то пользователей не пускает. Подскажите что не так 
сделал? Куда покопать. Спасибо.

P.S.(может комуто пригодится) После установки на вебе не работали 
администрирование самс и настройка веб интерфейса - configtray.php и 
webconfigtray.php закоментировал function GetHostName().
.



             reply	other threads:[~2012-11-16 20:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 20:05 altconf [this message]
2012-11-16 20:50 ` Michael Shigorin
2012-11-16 20:58 ` altconf
2012-11-16 21:12   ` Michael Shigorin

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=50A69C8D.9030005@gmail.com \
    --to=altconf@gmail.com \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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