From owner-freebsd-net@FreeBSD.ORG Tue Feb 21 12:58:36 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2BE11065678 for ; Tue, 21 Feb 2012 12:58:36 +0000 (UTC) (envelope-from pprocacci@datapipe.com) Received: from EXFESMQ04.datapipe-corp.net (exfesmq04.datapipe.com [64.27.120.68]) by mx1.freebsd.org (Postfix) with ESMTP id 752788FC0C for ; Tue, 21 Feb 2012 12:58:35 +0000 (UTC) Received: from nat.myhome (192.168.128.103) by EXFESMQ04.datapipe-corp.net (192.168.128.29) with Microsoft SMTP Server (TLS) id 14.1.355.2; Tue, 21 Feb 2012 07:58:34 -0500 Date: Tue, 21 Feb 2012 06:58:55 -0600 From: "Paul A. Procacci" To: saeedeh motlagh Message-ID: <20120221125855.GK12291@nat.myhome> References: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [192.168.128.103] Content-Transfer-Encoding: quoted-printable Cc: freebsd-net Subject: Re: must define username in radius client??? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2012 12:58:36 -0000 Assuming ssh (you didn't specify), you only need to setup the shared secret= between machines. The rest is handled by pam/login as normal (ala "auth s= ufficient pam_radius.so") cat /etc/radius.conf #################################### auth 10.5.21.4:1645 "SuperSkret" 3 2 auth 10.5.21.5:1645 "SuperSkret" 3 2 ~Paul On Tue, Feb 21, 2012 at 11:24:03AM +0330, saeedeh motlagh wrote: > hello guys, > i wanna have authentication via radius server. in my local network, > one system is radius server and the others are clients. the server is > running well. when a client login, it sends an access-request to the > server. if the user name and password are defined in the server, the > server sends back the access-accept to client. if the user name is > defined in the client, the login is successful but if this user name > is not defined in the client, the login failed and say "login > incorrect" although the client receives access-accept from the server. > i wanna know if there is any way to have authentication successfully > without defining any user name in the client system? > yours, > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" ________________________________ This message may contain confidential or privileged information. If you are= not the intended recipient, please advise us immediately and delete this m= essage. See http://www.datapipe.com/legal/email_disclaimer/ for further inf= ormation on confidentiality and the risks of non-secure electronic communic= ation. If you cannot access these links, please notify us by reply message = and we will send the contents to you.