From owner-freebsd-security@FreeBSD.ORG Wed Sep 17 16:22:33 2008 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CAF21065678 for ; Wed, 17 Sep 2008 16:22:33 +0000 (UTC) (envelope-from ivangrvr299@gmail.com) Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.248]) by mx1.freebsd.org (Postfix) with ESMTP id B41498FC1E for ; Wed, 17 Sep 2008 16:22:32 +0000 (UTC) (envelope-from ivangrvr299@gmail.com) Received: by ag-out-0708.google.com with SMTP id 8so6046834agc.3 for ; Wed, 17 Sep 2008 09:22:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=7mDgUwnXJPNQ8tAS5Iim48lJ0pOy9qtR0NIqVem6rUk=; b=AfQ9Ng7Amh2TIeHYwDkLKr/k1exno+Xq3pFlH92ouV0615SotH8qE7l5QpujuE0bgb jRU5+9poJ79Ml3KU36J3WBPLTFQz0J1teyoz0Mrs2EAQYpUJiFqSqrT0geQhdkdGo+KH Jqg6NMjSRAIgopZ4RxkL2M6HBbHjwECwRZNXc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=l9H9w16twbKBj1FwIXwq4hcb+0E7DWPBVXK+tkYY7NUXGWanJ/h63gpMmMJA1U0TNi f3mDaN0hssC8pu3QCCvZNB9MGkAJID92J5b9TgNNPGiyEJVVp9DYYbcM8smmcyDOqjMk 0UZ44vawmAQk4l6yJMKOr08GBLke05prHaM+Q= Received: by 10.100.132.2 with SMTP id f2mr3744359and.36.1221668551824; Wed, 17 Sep 2008 09:22:31 -0700 (PDT) Received: by 10.100.93.16 with HTTP; Wed, 17 Sep 2008 09:22:31 -0700 (PDT) Message-ID: <670f29e20809170922r43e8c02dlcdeea6e76d18d659@mail.gmail.com> Date: Wed, 17 Sep 2008 21:52:31 +0530 From: "Ivan Grover" To: freebsd-security@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: passing data from PAM module X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2008 16:22:33 -0000 Hi, My PAM application uses remote authentication module pam_radius_auth.so for authenticating users from remote servers. There can be several remote servers. In this case, can any one please suggest me the best way to gather information on several remote servers such as -- server reachability, (kind of returning array saying server 1 is reachable, server 2 is unreachable) -- do they run radius service ...etc I am trying to use pam_get_env pam_set_env for the above. Please advise, if this is not the proper way. I looked at pam_set_data, but i think this cant be used in PAM application. Best Regards, Ivan