ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Yevgeniy Bazhenov" <bazhen@mail.kz>
To: community@altlinux.ru
Subject: Re: [Comm] LOG Sqid, Username
Date: Mon, 15 Sep 2003 17:23:03 +0700
Message-ID: <20030915172303.57124580.bazhen@mail.kz> (raw)
In-Reply-To: <20030915130556.756e5629.ivanov@amos.ru>

On Mon, 15 Sep 2003 13:05:56 +0400
Maxim Ivanov <ivanov@amos.ru> wrote:

> On Mon, 15 Sep 2003 15:10:39 +0700
> "Yevgeniy Bazhenov" <bazhen@mail.kz> wrote:
> 
> > 
> > usertab задает имя файла, где указано соответствие
> > между именем пользователя в логе сквида и именем 
> > пользователя в отчете SARG'а
> > Теоретически, если у вас настроена авторизация на сквиде
> > и user_ip стоит no (либо закомментирован), в отчете сарга 
> > должно отображаться имя пользователя, либо имя, соответствующее
> > этому пользователю из usertab файла.
> > 
> 
> Подскажите пожалуйста, а формат файла usertab?
> У меня в /etc/sarg/sarg.conf
>  прописано:
> usertab /usr/etc/usetab
> 
> В самом usertab прописано к примеру: 
> 
> ivanov
> Иванов \n
> 
> Однако в результате в отчете Sarg все равно виден ivanov, а не Иванов.
> Где я ошибся?

Что, прям так и написано, \n? :)

Формат такой:

user Пользователь
gooduser Хороший Пользователь
baduser плохой пользователь

Соответсвенно в отчете будете иметь
вместо сквидовских user, gooduser и baduser
Пользователь, Хороший Пользователь и плохой пользователь
соответственно.


  reply	other threads:[~2003-09-15 10:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-15  7:06 Maxim Ivanov
2003-09-15  8:05 ` Maxim Ivanov
2003-09-15  8:10 ` Yevgeniy Bazhenov
2003-09-15  9:05   ` Maxim Ivanov
2003-09-15 10:23     ` Yevgeniy Bazhenov [this message]
2003-09-15 13:17       ` Maxim Ivanov
2003-09-16  2:45         ` Yevgeniy Bazhenov
2003-09-16  5:56           ` Maxim Ivanov
2003-09-16  6:58             ` Maxim Ivanov

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=20030915172303.57124580.bazhen@mail.kz \
    --to=bazhen@mail.kz \
    --cc=community@altlinux.ru \
    /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