From owner-freebsd-isp@FreeBSD.ORG Wed Jun 25 09:23:39 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 584CB37B401; Wed, 25 Jun 2003 09:23:39 -0700 (PDT) Received: from firewall.incredible.com.na (firewall.incredible.com.na [196.20.1.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C4943FB1; Wed, 25 Jun 2003 09:23:36 -0700 (PDT) (envelope-from schalk@incredible.com.na) Received: from [10.222.200.50] (helo=omni) by firewall.incredible.com.na with smtp (Exim 3.36 #1) id 19VBQF-0003nN-00; Wed, 25 Jun 2003 15:38:55 +0100 From: "Schalk Erasmus" To: Date: Wed, 25 Jun 2003 15:46:08 +0100 Message-ID: <000801c33b28$843ac300$32c8de0a@omni> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: freebsd-questions@freebsd.org Subject: FreeBSD - Radius Merge Lookup Append File Question X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 16:23:39 -0000 Hi, I need some assistance to do a lookup from a Textfile of active users, and then remove the "Non-Active" users (non listed users in Textfile) and associated info, from the Radius USERS file. ************************************************ We are running: ************************************************ Cistron Radius Daemon server# radiusd -v radiusd: RADIUS version 1.6.6 06-Feb-2002 Compilation flags: NOSHADOW ATTRIB_NMC COMPAT_1543 ************************************************ and example of the USERS file: server# tail -n 10 /usr/local/etc/raddb/users ************************************************ Framed-Routing = Broadcast, Framed-MTU = 1500 apple Password = "mac", NAS-Port-Type = Async Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254, Framed-IP-Netmask = 255.255.255.255, Framed-Routing = Broadcast, Framed-MTU = 1500 ************************************************ Any assistance would be greatly appreciated. Regards Schalk Erasmus Incredible Networks schalk@incredible.com.na This mail was processed by: http://www.exim.org The information contained in this e-mail is confidential intended for the addressed recipient. If you have received this e-mail in error, please e-mail the sender by replying to this message. All reasonable precautions have been taken to ensure no viruses are present in this e-mail and the sender cannot accept responsibility for loss or damage arising from the use of this e-mail or attachments.