Re: Freeradius: change user passwords through pam_radius

2013-05-28 Thread Roberto Carna
it works though. Recommend you RTFS. https://github.com/FreeRADIUS/pam_radius/blob/master/pam_radius_auth.c Arran Cudbard-Bell a.cudba...@freeradius.org FreeRADIUS Development Team - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe

Re: Freeradius: change user passwords through pam_radius

2013-05-28 Thread Alan DeKok
Roberto Carna wrote: OK Alan thanks...do you know if is there any way that let users to change their own Radius passwords by themselves ??? You were responding to Arran, not Alan. The only way for users to change the RADIUS password is to give them some kind of access to the database used

Freeradius: change user passwords through pam_radius

2013-05-27 Thread Roberto Carna
Dear, I have a Linux box authenticating SSH users against Freeradius. It works OK. When the users go into the Linux box via SSH, I need them to change their own radius passwords. For this reason, I edited the /etc/pam.d/passwd file as follow: passwordsufficient

Fwd: Freeradius: change user passwords through pam_radius

2013-05-27 Thread Roberto Carna
Dear, I have a Linux box authenticating SSH users against Freeradius. It works OK. When the users go into the Linux box via SSH, I need them to change their own radius passwords. For this reason, I edited the /etc/pam.d/passwd file as follow: password sufficient pam_radius_auth.so @include

Re: Freeradius: change user passwords through pam_radius

2013-05-27 Thread Arran Cudbard-Bell
On 27 May 2013, at 15:26, Roberto Carna robertocarn...@gmail.com wrote: Dear, I have a Linux box authenticating SSH users against Freeradius. It works OK. When the users go into the Linux box via SSH, I need them to change their own radius passwords. For this reason, I edited the

Re: Freeradius: change user passwords through pam_radius

2013-05-27 Thread Arran Cudbard-Bell
?? No. Actually PAM radius code does have references to password change functionality. No idea how it works though. Recommend you RTFS. https://github.com/FreeRADIUS/pam_radius/blob/master/pam_radius_auth.c Arran Cudbard-Bell a.cudba...@freeradius.org FreeRADIUS Development Team - List info/subscribe

Re: pam_radius requires setting Auth-Type ?

2012-09-24 Thread NdK
Il 21/09/2012 12:34, Fajar A. Nugraha ha scritto: Sorry for being so late... What does your full debug looks like? Just edited passwords and trimmed clients... FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Nov 24 2011 at 07:53:12 Copyright (C) 1999-2009 The FreeRADIUS

Re: pam_radius requires setting Auth-Type ?

2012-09-24 Thread Fajar A. Nugraha
On Mon, Sep 24, 2012 at 2:09 PM, NdK ndk.cla...@gmail.com wrote: Is it possible you DON'T have pap in authorize section? Nope. It's there: authorize { unibo_map_realms preprocess auth_log chap mschap digest suffix eap {

Re: pam_radius requires setting Auth-Type ?

2012-09-24 Thread NdK
Il 24/09/2012 09:40, Fajar A. Nugraha ha scritto: Is this sites-available/default? Or inner-tunnel? sites-available/default . Your log for inner tunnel only shows this: server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel modules { Module: Checking authenticate

Re: pam_radius requires setting Auth-Type ?

2012-09-24 Thread NdK
Il 21/09/2012 13:04, Alan DeKok ha scritto: You probably deleted pap from the authorize section of raddb/sites-available/default. Nope... I'd (probably) have spotted that. Don't break the configurtion. I knew you'd (rightfully) say that :) Too bad I'm not the one that configured that

Re: pam_radius requires setting Auth-Type ?

2012-09-24 Thread Phil Mayers
On 09/24/2012 08:09 AM, NdK wrote: Ready to process requests. That's not a full debug. There are no packets here. Gather a full debug. *Read* it, and the answer will be in there. If you can't spot it, then post it. - List info/subscribe/unsubscribe? See

Re: pam_radius requires setting Auth-Type ?

2012-09-24 Thread Fajar A. Nugraha
On Mon, Sep 24, 2012 at 3:40 PM, NdK ndk.cla...@gmail.com wrote: That's why I'm quite confused... At this point it should be MUCH easier for you to restart from scratch, using fresh installation. Use Ubuntu 12.04, even on virtualbox is fine, possibly with freeradius/stable ppa to get latest FR

pam_radius requires setting Auth-Type ?

2012-09-21 Thread NdK
Hello all. We just added pam_radius to our vpn host, to authenticate vpn users throught our (working) RADIUS server. IIUC pam_radius is sending a PAP message: Access-Request packet from host 192.168.130.61 port 9327, id=233, length=99 User-Name = STUDENTI\\studente.fittizio User

Re: pam_radius requires setting Auth-Type ?

2012-09-21 Thread Fajar A. Nugraha
On Fri, Sep 21, 2012 at 5:24 PM, NdK ndk.cla...@gmail.com wrote: Hello all. We just added pam_radius to our vpn host, to authenticate vpn users throught our (working) RADIUS server. IIUC pam_radius is sending a PAP message: Access-Request packet from host 192.168.130.61 port 9327, id=233

Re: pam_radius requires setting Auth-Type ?

2012-09-21 Thread Alan DeKok
NdK wrote: We just added pam_radius to our vpn host, to authenticate vpn users throught our (working) RADIUS server. IIUC pam_radius is sending a PAP message: ... But if I don't add (in users file) a line like: DEFAULT NAS-Identifier == openvpn, Auth-Type := PAP FR complains: ERROR

Re: ssh authentication failed problem use freeradius pam_radius

2012-05-24 Thread sam
Is there anyone to contribute this fix? -- View this message in context: http://freeradius.1045715.n5.nabble.com/ssh-authentication-failed-problem-use-freeradius-pam-radius-tp5687733p5713353.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List

Re: ssh authentication failed problem use freeradius pam_radius

2012-05-24 Thread sam
The pam_radius_auth module is installed on linux, and if the user-A is not created in local and only existed in remote radius server. In following function() in pam_radius_auth.c, the *password always is INCORRECT +code+ static int rad_converse(pam_handle_t *pamh, int

Re: ssh authentication failed problem use freeradius pam_radius

2012-05-24 Thread Fajar A. Nugraha
, and NOT in pam_radius plugin. Possibly by using nss_mysql and getting it to use the same data that FR is using (with the help of views, or whatever). But since you decide to ignore it anyway and insist on focusing your efforts on pam_radius_auth.c, you're pretty much on your own. -- Fajar - List

Re: ssh authentication failed problem use freeradius pam_radius

2012-05-11 Thread Martin Pauly
mu...@yahoo.cnwrote: This is an issue with PAM on the client machine. Some other module is doing password checking. When the password check fails, it re-sets the password to INCORRECT. That password is then sent to the pam_radius module. Go fix the client so that the PAM modules

ssh authentication failed problem use freeradius pam_radius

2012-05-05 Thread ????
Hi everyone, I am trying to use pam_radius to authenticate SSH login.My system is Centos 5.6 64bit. When I try to authenticate with ssh but failed,I am sure the shared secret is correct. Freeradius got the following logs: rlm_sql (sql): Released sql socket id: 2 ++[sql] returns ok

Re: ssh authentication failed problem use freeradius pam_radius

2012-05-05 Thread Alan DeKok
小牧 wrote: I am trying to use pam_radius to authenticate SSH login.My system is Centos 5.6 64bit. When I try to authenticate with ssh but failed,I am sure the shared secret is correct. The shared secret is correct. [pap] login attempt with password ? INCORRECT This is an issue with PAM

Re: ssh authentication failed problem use freeradius pam_radius

2012-05-05 Thread ????
Hello,Alan. Thank you for you response. Alan wrote: This is an issue with PAM on the client machine. Some other module is doing password checking. When the password check fails, it re-sets the password to INCORRECT. That password is then sent to the pam_radius module. Go fix the client so

pam_radius not using /etc/raddb/server

2012-04-09 Thread g17jimmy
I have a client system that seems to be ignoring changes in the pam_radius config file, /etc/raddb/server. I initially configured the system with a simple shared secret and had it pointed to a test server and now when I change the file /etc/raddb/server the client still talks to the test server

Re: pam_radius not using /etc/raddb/server

2012-04-09 Thread Alan DeKok
g17jimmy wrote: I have a client system that seems to be ignoring changes in the pam_radius config file, /etc/raddb/server. I initially configured the system with a simple shared secret and had it pointed to a test server and now when I change the file /etc/raddb/server the client still talks

Re: pam_radius not using /etc/raddb/server

2012-04-09 Thread g17jimmy
Thanks, Alan. I definitely suspected both of the things you suggest, but I initially installed this system and configured it, so I'm really confused as to how this alternate configuration came to be. I found the rogue configuration in the file /etc/pam_radius.conf . Unless I did that one evening

patch files for pam_radius - adding an 'Always Prompt' option for one-time passcodes

2011-06-30 Thread Nick Owen
Greetings: We recently had a customer that wanted to check a password against AD via kerberos and then an one-time passcode against a WiKID Strong Authentication server via radius.  We found that PAM passed the AD password to our OTP server, which failed.  We have added a pam option always prompt

Re: patch files for pam_radius - adding an 'Always Prompt' option for?one-time passcodes

2011-06-30 Thread Alexander Clouter
Nick Owen no...@wikidsystems.com wrote: We recently had a customer that wanted to check a password against AD via kerberos and then an one-time passcode against a WiKID Strong Authentication server via radius.  We found that PAM passed the AD password to our OTP server, which failed.  We

patch files for pam_radius - adding an 'Always Prompt' option for one-time passcodes

2011-06-29 Thread Nick Owen
We recently had a customer that wanted to check a password against AD via kerberos and then an one-time passcode against a WiKID Strong Authentication server via radius. We found that PAM passed the AD password to our OTP server, which failed. We have added a pam option always prompt in the

NAS or supplicant, pam_radius or xsupplicant

2009-05-12 Thread François Mehault
), the computer I use to contact the switch via telnet/ssh. Could you confirm me that I'm right ? I would like also to authenticate users on UNIX servers. Also, I just need to authenticate the users on servers, So I conclude that I configure pam_radius on these servers and no install/configure xsupllicant

pam_radius authentication problem - no password?

2008-04-16 Thread Enno
Hi, I have problems using pam_radius to authenticate users using our freeradius server. I want to use it with openvpn but tested it with ssh. The new part of my /etc/pam.d/ssh looks like: # /etc/security/pam_env.conf. auth required pam_env.so # [1] auth sufficient /lib/security

Re: pam_radius authentication problem - no password?

2008-04-16 Thread Alan DeKok
Enno wrote: I'm testing this on the target machine (openvpn server) using ssh -l enno 127.0.0.1 and some random password (first I tried with the correct password and then started debugging). Looking at the code of pam_radius_auth.c and at the output of auth.log I would say the call to pam

pam_radius on RHEL AS4 (64-bit)

2007-09-27 Thread GABRIEL CAPILI, BLOOMBERG/ 731 LEXIN
I compiled the latest pam_radius-1.3.17, on Red Hat Linux AS 4.0 Update4. When I ran 'make', I got: cc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o pam_radius_auth.c: In function `pam_sm_authenticate': pam_radius_auth.c:1102: warning: assignment from incompatible pointer type cc -Wall

Re: pam_radius: mutiple bad logins hitting radius server

2007-04-25 Thread Alan DeKok
J S wrote: I'm running pam_radius 1.3.16 on Solaris 10 using a Cisco ACS backend that authenticates to an MS AD server. I'm running into an issue where a user will fail a single login attempt (one username/password challenge with a bad password) and the ACS will record 3 attempts from

Re: pam_radius: mutiple bad logins hitting radius server

2007-04-25 Thread J S
), but a wrong entry is 3 failures. On 4/24/07, Alan DeKok [EMAIL PROTECTED] wrote: J S wrote: I'm running pam_radius 1.3.16 on Solaris 10 using a Cisco ACS backend that authenticates to an MS AD server. I'm running into an issue where a user will fail a single login attempt (one username/password

Re: pam_radius: mutiple bad logins hitting radius server

2007-04-25 Thread Alan DeKok
J S wrote: That's good to know. What seems odd, though, is that it resends the same request in quick, sub-second succession (based on the RADIUS server logs). Well, that's a problem. The intent of the module is to wait for the timeout before sending the next packet. Something appears to

pam_radius: mutiple bad logins hitting radius server

2007-04-24 Thread J S
I'm running pam_radius 1.3.16 on Solaris 10 using a Cisco ACS backend that authenticates to an MS AD server. I'm running into an issue where a user will fail a single login attempt (one username/password challenge with a bad password) and the ACS will record 3 attempts from the client

PAM_RADIUS

2007-02-23 Thread [EMAIL PROTECTED]
Hi, I'd like to know if FreeRadius Pam_RADIUS is still up to date ? Do you have any suggest to make it work with Red Hat Entreprise Linux 4 ? Thanks, Thomas- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: PAM_RADIUS

2007-02-23 Thread [EMAIL PROTECTED]
@lists.freeradius.org Copie à : Objet : PAM_RADIUS Hi, I'd like to know if FreeRadius Pam_RADIUS is still up to date ? Do you have any suggest to make it work with Red Hat Entreprise Linux 4 ? Thanks, Thomas [ (pas de nom de fichier) (0.1 Ko) ]- List info/subscribe/unsubscribe? See http

HP-UX and AIX pam_radius problem

2006-10-27 Thread Arthur Caetano
hi everybody, i have a problem with radius module for PAM. When i compile the source of pam_radius-1.3.16.tar, i got a lot of erros. I applied patch's available in the list, but the problems persists.In the HP-UX enviroments the messages are: begin [root] patch_pam_radius make

why pam_radius library send pakcet twice??? Why?

2006-09-15 Thread 나종현
I'm make pam_client with pam_radius.so. pam_client- pam_radius.so--- raidius_demon application layer: pam_chauthtok() once call. library layer: pam_sm_chauthtok() twice call: request send twice.. I don't know reason. Help me please.

pam_radius and Cisco ACS

2006-02-15 Thread Tom
pam_radius to do the same with ACS's radius. I have compiled pam_radius and it appears to be working as intended, however Cisco ACS reports External DB User Invalid or bad password anytime I try to use the same credentials that properly authenticate with ACS's tacacs on a linux or freebsd server

Re: pam_radius and Cisco ACS

2006-02-15 Thread Alan DeKok
Tom [EMAIL PROTECTED] wrote: I have compiled pam_radius and it appears to be working as intended, however Cisco ACS reports External DB User Invalid or bad password anytime I try to use the same credentials that properly authenticate with ACS's tacacs on a linux or freebsd server

Re: pam_radius and Cisco ACS

2006-02-15 Thread Tom
[EMAIL PROTECTED] wrote: Tom [EMAIL PROTECTED] wrote: I have compiled pam_radius and it appears to be working as intended, however Cisco ACS reports External DB User Invalid or bad password anytime I try to use the same credentials that properly authenticate with ACS's tacacs on a linux

Re: pam_radius and Cisco ACS

2006-02-15 Thread Alan DeKok
Tom [EMAIL PROTECTED] wrote: No, the shared secret is correct, otherwise the ACS would show that as being the error RADIUS doesn't work like that. If there's no Message-Authenticator in the packet (and pam_radius doesn't send one), then the server can't tell that the secret is wrong

solaris 8 compilation problem of pam_radius

2005-12-05 Thread Peter Bergmann
Hi, I want to use the client function of free-radius, but I've got a problem while compiling the pam_radius-1.3.16 module under solaris 8: Any ideas are welcome!!! Thanks Peter hqwww01tban{root} @: make gcc -Wall -fPIC -c pam_radius_auth.c -o pam_radius_auth.o In file included from

RE: solaris 8 compilation problem of pam_radius

2005-12-05 Thread Reiko U.
... but you can try it. good luck From: Peter Bergmann [EMAIL PROTECTED] Reply-To: FreeRadius users mailing list freeradius-users@lists.freeradius.org To: freeradius-users@lists.freeradius.org Subject: solaris 8 compilation problem of pam_radius Date: Mon, 5 Dec 2005 11:50:19 +0100 (MET) Hi, I want

RE: solaris 8 compilation problem of pam_radius

2005-12-05 Thread Peter Bergmann
-users@lists.freeradius.org Betreff: RE: solaris 8 compilation problem of pam_radius Datum: Mon, 05 Dec 2005 13:10:59 + hallo peter, i'd compiling-problems with freeradius-1.0.5 on solaris10 (sparc). Following config solved the problem

help regarding pam_radius agent installation with RSA SecurID Authentication

2005-08-29 Thread mukherji rakesh
Dear All I am configuring radius_pam agent on redhat linux 9 to integrate it with RSA SecurID Authentication technology.I have enabled radius on my RSA server but while trying to login from my linux client I am not able to enter as it says that access denied.I got a log from the

Re: Solaris 9 and pam_radius 1.3.16

2004-09-15 Thread Kaczmarek, Thaddeus
On Fri, 2004-09-03 at 02:41, Chew, Darren wrote: Hi All, I am having trouble compiling pam_radius 1.3.16 on Solaris 9. [EMAIL PROTECTED] # CC=gcc;export CC [EMAIL PROTECTED] # make gcc -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -c

Re: Solaris 9 and pam_radius 1.3.16

2004-09-15 Thread Kaczmarek, Thaddeus
On Wed, 2004-09-15 at 12:13, Kaczmarek, Thaddeus wrote: On Fri, 2004-09-03 at 02:41, Chew, Darren wrote: Hi All, I am having trouble compiling pam_radius 1.3.16 on Solaris 9. [EMAIL PROTECTED] # CC=gcc;export CC [EMAIL PROTECTED] # make gcc -Wall -Wshadow -Wstrict-prototypes

Re: Solaris 9 and pam_radius 1.3.16

2004-09-15 Thread Craig Huckabee
[ long gcc build errors removed ] The behavior of labels and some other syntax changes happened around gcc 3.4.0. For example, for the rlm_x99_token module, in x99_rlm.c, a ';' is needed after the label at or around line 547. The RedHat source RPM has this patch, I don't know how 'correct'

Solaris 9 and pam_radius 1.3.16

2004-09-03 Thread Chew, Darren
Hi All, I am having trouble compiling pam_radius 1.3.16 on Solaris 9. [EMAIL PROTECTED] # CC=gcc;export CC [EMAIL PROTECTED] # make gcc -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -c pam_radius_auth.c -o pam_radius_auth.o In file included from

Re: pam_radius option

2004-06-10 Thread Asif Iqbal
Mordechai T. Abzug wrote: On Tue, Jun 08, 2004 at 09:20:36AM -0400, Asif Iqbal wrote: Hi All I am using pam_radius in Solaris 8 to allow my users login with their radius accounts. However I would like *only* the root account to be able to login with local unix account. Well, what

Re: pam_radius option

2004-06-10 Thread Mordechai T. Abzug
On Thu, Jun 10, 2004 at 02:12:52AM -0400, Asif Iqbal wrote: I have the radius client, Solaris 8, setup like this on /etc/pam.conf login auth required /usr/lib/security/pam_radius_auth.so.1 sshd auth required /usr/lib/security/pam_radius_auth.so.1 So when user logs in, he/she gets

Re: pam_radius option

2004-06-10 Thread Alan DeKok
Asif Iqbal [EMAIL PROTECTED] wrote: Can you please help? I am really looking for a solution/tip to allow root skip the radius authentication while force other users to go through this auth It's a PAM question, and has nothing to do with RADIUS. Alan DeKok. - List

Re: pam_radius option

2004-06-10 Thread Asif Iqbal
Alan Is there a mailing list that discusses about pam_radius? There was one suggestion I got to try but that did not help Thanks - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu There's no place like

Re: pam_radius option

2004-06-10 Thread Alan DeKok
Asif Iqbal [EMAIL PROTECTED] wrote: Is there a mailing list that discusses about pam_radius? This list. But your question was how to get PAM to NOT call pam_radius. That question has nothing to do with pam_radius, and nothing to do with RADIUS. It's a simple PAM question. The question

Re: pam_radius option

2004-06-09 Thread Asif Iqbal
Asif Iqbal wrote: Asif Iqbal wrote: Hi All I am using pam_radius in Solaris 8 to allow my users login with their radius accounts. However I would like *only* the root account to be able to login with local unix account. Is that possible? Any help/direction would be greatly

Re: pam_radius option

2004-06-09 Thread Mordechai T. Abzug
On Tue, Jun 08, 2004 at 09:20:36AM -0400, Asif Iqbal wrote: Hi All I am using pam_radius in Solaris 8 to allow my users login with their radius accounts. However I would like *only* the root account to be able to login with local unix account. Well, what is radius authenticating against

pam_radius option

2004-06-08 Thread Asif Iqbal
Hi All I am using pam_radius in Solaris 8 to allow my users login with their radius accounts. However I would like *only* the root account to be able to login with local unix account. Is that possible? Any help/direction would be greatly appreciated. Thanks -- Asif Iqbal PGP Key: 0xE62693C5

Re: pam_radius option

2004-06-08 Thread Asif Iqbal
Asif Iqbal wrote: Hi All I am using pam_radius in Solaris 8 to allow my users login with their radius accounts. However I would like *only* the root account to be able to login with local unix account. Is that possible? Any help/direction would be greatly appreciated. I tried to use

Pam_radius, AIX 5.1 and OpenSSH

2004-06-07 Thread Lam, Eric
Title: Pam_radius, AIX 5.1 and OpenSSH Good day to all: I want use pam_radius PAM client 1.3.16 on AIX 5.1 to work with the OpenSSH. I have compiled the OpenSSH 3.8.1p1 with PAM support. But I am not able to compile pam_radius module. Here is the web page where I download the pam_radius

RE: pam_radius-1.3.16

2004-04-29 Thread VanWambeck, Steve
I am trying to compile the PAM module pam_radius-1.3.16 on a Solaris 8 system using GCC version 2.95.3 20010315 (release) and gmake version 3.79.1. I am getting the following errors from gmake and have little to no clue as to how to resolve them. Any help in either getting this to compile

Pam_radius strange failure

2004-02-23 Thread Didier Conchaudron
Hi all, I'm trying to make pam_radius work and I get some weird errors: Feb 23 15:11:15 tartuf login[254]: PAM unable to resolve symbol: pam_sm_acct_mgmt Feb 23 15:11:15 tartuf login[254]: pam_radius_auth: Got user name test Feb 23 15:11:16 tartuf login[254]: pam_radius_auth: Sending RADIUS