From owner-freebsd-questions@FreeBSD.ORG Sun Jun 1 21:06:07 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9AAA37B401 for ; Sun, 1 Jun 2003 21:06:07 -0700 (PDT) Received: from keep.scn.ru (telcl.ranetka.ru [80.255.136.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46BC843F75 for ; Sun, 1 Jun 2003 21:06:06 -0700 (PDT) (envelope-from dikiy@scn.ru) Received: from dikiy.tel.ten (dikiy.tel.ten [10.0.7.11]) by keep.scn.ru (8.9.3p2/8.9.3) with SMTP id MAA49081 for ; Mon, 2 Jun 2003 12:06:04 +0800 (KRAST) (envelope-from dikiy@scn.ru) Date: Mon, 2 Jun 2003 12:06:11 +0800 From: Andrew I Baznikin To: freebsd-questions@freebsd.org Message-Id: <20030602120611.4a9d6868.dikiy@scn.ru> Organization: ISP "TEL" JSC X-Mailer: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: libradius X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2003 04:06:08 -0000 Hi! According to RFC 2865, mandatory attributes in RADIUS request is User-Name and Service-Type. But in radlib.c exists these lines: } else { /* Make sure the user gave us a password */ if (h->pass_pos == 0 && !h->chap_pass) { generr(h, "No User or Chap Password attributes given"); return -1; } if (h->pass_pos != 0 && h->chap_pass) { generr(h, "Both User and Chap Password attributes given" return -1; } } I need to send a request with no User-Password field, but I can not do it with libradius. This shoud be fixed or I need to write my own lib? -- Andrew I Baznikin http://d.scn.ru # /\ ASCII ribbon # \/ campaign # /\ against # / \ HTML email