From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: ALT Linux sysadmin discuss Organization: Tyumen's University, Institute of Distance Education References: <455992B7.2030802@og.brother-ttc.ru> From: "Vladimir V. Kamarzin" Date: Tue, 14 Nov 2006 16:35:27 +0500 In-Reply-To: <455992B7.2030802@og.brother-ttc.ru> (georg l. k.'s message of "Tue, 14 Nov 2006 12:56:07 +0300") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.19 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [Sysadmins] =?koi8-r?b?aXB0YWJsZXMsIHVsb2ctYWNjdGQgy8HLINDJ08HU?= =?koi8-r?b?2CDJzsbP0s3Bw8nAINcg0sHaztnFIMbByszZ?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 11:35:44 -0000 Archived-At: List-Archive: >>>>> On 14 Nov 2006 at 14:56 "glk" == georg l k writes: glk> Все эти ковыряния с ulog-acctd начались с нужды glk> писать в файл имя ppp-пользователя и адреса с которого он установил glk> соединение. Вот так вот прпатчьте pppd: --- ppp-2.4.2_/pppd/auth.c 2006-08-23 23:28:38 +0400 +++ ppp-2.4.2/pppd/auth.c 2006-08-24 00:05:17 +0400 @@ -2430,7 +2430,8 @@ argv[3] = user_name; argv[4] = devnam; argv[5] = strspeed; - argv[6] = NULL; + argv[6] = ipparam; + argv[7] = NULL; auth_script_pid = run_program(script, argv, 0, auth_script_done, NULL); } (патч мне несколько месяцев назад прислал Александр Новосёлов) Повесил https://bugzilla.altlinux.org/show_bug.cgi?id=10270 -- vvk Russian Postfix irc: irc.freenode.net #postfix-ru