Re: pam_radius_auth x86_64 password garbled RHEL/CENTOS 5.8

2012-03-14 Thread Alan DeKok
Judd Maltin wrote: I'm compiling my pam_radius_auth on x86_64 source and getting the following in my logs: ... Mar 14 12:57:30 app2 sshd[12858]: pam_radius_auth: Got password ^M^?INCORRECT Another PAM module is butchering the password, before it is sent to pam_radius_auth. Go fix that.

Re: pam_radius_auth x86_64 password garbled RHEL/CENTOS 5.8

2012-03-14 Thread Judd Maltin
On Wed, Mar 14, 2012 at 2:24 PM, Alan DeKok al...@deployingradius.com wrote: Judd Maltin wrote: I'm compiling my pam_radius_auth on x86_64 source and getting the following in my logs: ... Mar 14 12:57:30 app2 sshd[12858]: pam_radius_auth: Got password ^M^?INCORRECT  Another PAM module is

Re: pam_radius_auth query

2011-02-25 Thread Alan DeKok
vijay s sheelavantar wrote: 1. does pam_radius_auth.so support authorization of user accounts? What does that mean? Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: pam_radius_auth for big endian

2009-07-07 Thread Alan DeKok
maxim maxim wrote: How i can to fix pam_radius_auth for big endian platform? The module works (or should) on big endian systems. See md5.c for sparc/mips configuration. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: pam_radius_auth v1.3.17 missing a define???

2008-11-25 Thread David Ly
Alan DeKok-2 wrote: David Ly wrote: I've been looking into the source code of pam radius, due to authentication failure without a entry in the local /etc/passwd file, That's the PAM value add... Could you explain what PAM value add means/is? Alan DeKok-2 wrote: You

Re: pam_radius_auth v1.3.17 missing a define???

2008-11-23 Thread Alan DeKok
David Ly wrote: I've been looking into the source code of pam radius, due to authentication failure without a entry in the local /etc/passwd file, That's the PAM value add... and i've noticed that; /|'PAM_SM_ACCOUNT|/ must be *#define*'d prior to including |security/pam_modules.h|.'

Re: pam_radius_auth

2008-09-24 Thread Dan White
Megan wrote: Good Day, I am making an attempt to setup sudo authentication on a Centos 5.2 server to work with pam_radius_auth. I rwant ldap to handle my regular users (this works already) and I want my privileged users to authenticate through radius when they use sudo. I put the below in

Re: pam_radius_auth updated spec file, please include in future releases

2007-11-05 Thread Alan DeKok
Florin Andrei wrote: I attached an updated spec file for pam_radius_auth. The original one fails when building as non-root. I fixed that and made a few other minor changes. The install stage SHOULD set the permissions correctly. It would be nice if the build system could generate this spec

RE: PAM_RADIUS_AUTH - Need help

2007-11-05 Thread Sobanbabu Bakthavathsalu
11:59 To: FreeRadius users mailing list Subject: RE: PAM_RADIUS_AUTH Is this compatible with Solaris 10 First time I tried with IP address only, and got the following error. Oct 25 19:58:20 ada-delegate1 login: [ID 801593 auth.error] pam_radius_auth: Failed looking up IP address for RADIUS server

Re: PAM_RADIUS_AUTH - Need help

2007-11-05 Thread Alan DeKok
Sobanbabu Bakthavathsalu wrote: Hi Alan, Any thought gone on this? Why is the plugin unable to resolve the IP address of the RADIUS server, or trying to resolve an IP to IP? It's not. It's trying to resolve it's own IP address. Make sure DNS works, or edit the code to remove all

RE: PAM_RADIUS_AUTH

2007-11-02 Thread Sobanbabu Bakthavathsalu
From: Sobanbabu Bakthavathsalu Sent: 31 October 2007 10:46 To: FreeRadius users mailing list Subject: RE: PAM_RADIUS_AUTH Hi Alan, First time I tried with IP address only, and got the following error. Oct 25 19:58:20 ada-delegate1 login: [ID 801593

RE: PAM_RADIUS_AUTH

2007-10-31 Thread Sobanbabu Bakthavathsalu
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Alan DeKok [EMAIL PROTECTED] Sent: 30 October 2007 17:28 To: FreeRadius users mailing list Subject: Re: PAM_RADIUS_AUTH Sobanbabu Bakthavathsalu wrote: Thank you for the response. There is no firewall in between the RADIUS

Re: PAM_RADIUS_AUTH

2007-10-30 Thread Nick Owen
On 10/30/07, Sobanbabu Bakthavathsalu [EMAIL PROTECTED] wrote: Hi I am trying install the PAM_RADIUS_AUTH on a Solaris 10 server to use RADIUS for user authentication. I have managed to successfully compile and install the pam plugin. When I tried to telnet to the machine from a different

RE: PAM_RADIUS_AUTH

2007-10-30 Thread Sobanbabu Bakthavathsalu
Soban From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Nick Owen [EMAIL PROTECTED] Sent: 30 October 2007 15:37 To: FreeRadius users mailing list Subject: Re: PAM_RADIUS_AUTH On 10/30/07, Sobanbabu Bakthavathsalu [EMAIL PROTECTED] wrote: Hi I am

Re: pam_radius_auth updated spec file, please include in future releases

2007-10-30 Thread Florin Andrei
Florin Andrei wrote: I attached an updated spec file for pam_radius_auth. No, I didn't. _Now_ I did. :-/ -- Florin Andrei http://florin.myip.org/ %define name pam_radius_auth %define shortname pam_radius %define version 1.3.17 %define release 0 Name: %{name} Summary: PAM Module for RADIUS

Re: PAM_RADIUS_AUTH

2007-10-30 Thread Alan DeKok
Sobanbabu Bakthavathsalu wrote: Thank you for the response. There is no firewall in between the RADIUS server and Solaris server (RADIUS client), only an Cisco router with standard ACL. I have verified the ACL matches counter and found that the request from the clinet itself is not reachign

Re: Pam_radius_Auth - Problem

2007-06-28 Thread Geoff Mitchell
Markus, Did you get any replies to your post from the 18th about pam_radius_auth not working, as I am having exactly the same issue. What I have found out is that the pam_radius_auth module is fine, except when the user is not in the password file. At this point it would seem that something

Re: pam_radius_auth

2007-03-21 Thread Alan DeKok
Dan Delaney wrote: Does anyone know how to change the service type that pam_radius_auth passes to the server? Source code modifications. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List

RE: pam_radius_auth

2007-03-21 Thread Dan Delaney
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok Sent: Wednesday, March 21, 2007 2:46 AM To: FreeRadius users mailing list Subject: Re: pam_radius_auth Dan Delaney wrote: Does anyone know how to change the service type

Re: pam_radius_auth issue

2006-07-21 Thread Mircea Harapu
Mircea Harapu wrote: I'm trying to make a ssh authentication with pam_radius_auth + freeradius + ldap The problem is that radius is sending the password to ldap in clear and not crypted with CRYPT as configured in ldap module . Huh? pam_radius_auth sends the password to

Re: pam_radius_auth issue

2006-07-21 Thread Phil Mayers
Mircea Harapu wrote: PAP sends the following radius request: User-Name = Someuser User-Password = somepassword HOWEVER, the User-Password field in a radius packet is defined by RFC to be encrypted with the radius shared secret. The pam_radius_auth is sending User-Password without beeing

Re: pam_radius_auth issue

2006-07-21 Thread Alan DeKok
Mircea Harapu [EMAIL PROTECTED] wrote: The pam_radius_auth is sending User-Password without beeing encrypted . If you know more about RADIUS than the people on this list, I'm curious why you're asking questions about it. Alan DeKok. - List info/subscribe/unsubscribe? See

Re: pam_radius_auth issue

2006-07-20 Thread Mircea Harapu
I'm trying to make a ssh authentication with pam_radius_auth + freeradius + ldap The problem is that radius is sending the password to ldap in clear and not crypted with CRYPT as configured in ldap module . Huh? pam_radius_auth sends the password to FreeRADIUS in the clear, because

Re: pam_radius_auth issue

2006-07-20 Thread Phil Mayers
Mircea Harapu wrote: I'm trying to make a ssh authentication with pam_radius_auth + freeradius + ldap The problem is that radius is sending the password to ldap in clear and not crypted with CRYPT as configured in ldap module . Huh? pam_radius_auth sends the password to FreeRADIUS in the

Re: pam_radius_auth issue

2006-07-20 Thread Alan DeKok
Phil Mayers [EMAIL PROTECTED] wrote: I think Alan, as the main FreeRadius developer, is probably aware of that feature. He is aware that it does NOT do what you claim. I'm always amazed at the people who patiently explain to me why I'm wrong, and why their confused ideas about the server I

Re: pam_radius_auth issue

2006-07-19 Thread Alan DeKok
Mircea Harapu [EMAIL PROTECTED] wrote: I'm trying to make a ssh authentication with pam_radius_auth + freeradius + ldap The problem is that radius is sending the password to ldap in clear and not crypted with CRYPT as configured in ldap module . Huh? pam_radius_auth sends the password to

Re: pam_radius_auth threading issues

2005-10-04 Thread Rich Graves
On 10/3/05, Alan DeKok [EMAIL PROTECTED] wrote: Rich Graves [EMAIL PROTECTED] wrote: This setup regularly fails under any sort of concurrency. Threading issues seem one likely reason. pam_radius_auth.c hasn't been touched in a while an d hasn't had the same attention to thread safety asThe PAM

Re: pam_radius_auth threading issues

2005-10-04 Thread Alan DeKok
Rich Graves [EMAIL PROTECTED] wrote: I know (just barely) enough to agree with that, but want more hints as to the granularity -- do I need to lock all of pam_sm_authenticate, or just talk_radius? I would lock each PAM function. Ick. Well, with only a single conf-sockfd, there really is no

Re: pam_radius_auth threading issues

2005-10-03 Thread Alan DeKok
Rich Graves [EMAIL PROTECTED] wrote: This setup regularly fails under any sort of concurrency. Threading issues seem one likely reason. pam_radius_auth.c hasn't been touched in a while an d hasn't had the same attention to thread safety as the core freeradius code. The PAM modules really

Re: PAM_RADIUS_AUTH

2005-06-29 Thread Alan DeKok
Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: I would like to know is there any way to increase the debug level on PAM_RADIUS_AUTH module. Source code modifications. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: PAM_RADIUS_AUTH

2005-06-29 Thread Talwar, Puneet (NIH/NIAID)
Can you please tell me which source code to modify? Thanks --Original Message-- From: Alan DeKok To: FreeRadius users mailing list ReplyTo: FreeRadius users mailing list Sent: Jun 29, 2005 1:06 PM Subject: Re: PAM_RADIUS_AUTH Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: I would

Re: PAM_RADIUS_AUTH

2005-06-29 Thread Alan DeKok
Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: Can you please tell me which source code to modify? The source code to pam_radius_auth? You did say you wanted more debugging information from it. Why would you edit the source code to anything else? Alan DeKok. - List

RE: PAM_RADIUS_AUTH

2005-06-29 Thread Talwar, Puneet (NIH/NIAID)
] Sent: Wednesday, June 29, 2005 2:04 PM To: FreeRadius users mailing list Subject: Re: PAM_RADIUS_AUTH Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: Can you please tell me which source code to modify? The source code to pam_radius_auth? You did say you wanted more debugging

Re: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit

2005-06-14 Thread Alan DeKok
Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: I was able to get the vsftpd working, I can authenticate but when I go check to the /var/log/messages I see the following message. vsftpd[X]: pam_radius_auth: No RADIUS server found in configuration file /etc/raddb/server So...

RE: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit

2005-06-14 Thread Talwar, Puneet (NIH/NIAID)
:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 11:16 AM To: FreeRadius users mailing list Subject: Re: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: I was able to get the vsftpd working, I can authenticate but when I go check to the /var/log

Re: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit

2005-06-14 Thread Alan DeKok
Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: Here is the content of the pam_radius_auth.conf file and yes it does exist in /etc/raddb/server folder. # server[:port] shared_secret timeout (s) #127.0.0.1 secret 1 IP Address XXX.XXX.XXX.XXX Secret_Key3

RE: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit

2005-06-14 Thread Talwar, Puneet (NIH/NIAID)
, 2005 12:48 PM To: FreeRadius users mailing list Subject: Re: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: Here is the content of the pam_radius_auth.conf file and yes it does exist in /etc/raddb/server folder. # server[:port] shared_secret

Re: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit

2005-06-14 Thread Alan DeKok
Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: Here is the full content of the file. ... IP Address XXX.XXX.XXX.XXX Secret_Key3 That line is NONSENSE. If it's actually in your configuration file, it WON'T WORK. You have to list the IP address, not the text IP Address.

RE: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit

2005-06-14 Thread Talwar, Puneet (NIH/NIAID)
- From: Alan DeKok [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 14, 2005 2:57 PM To: FreeRadius users mailing list Subject: Re: PAM_RADIUS_AUTH setip on RHEL Linux 32 bit Talwar, Puneet (NIH/NIAID) [EMAIL PROTECTED] wrote: Here is the full content of the file. ... IP Address XXX.XXX.XXX.XXX

Re: pam_radius_auth on AIX 5L

2005-05-27 Thread David LePage
Let me answer my own question.. 4 days later I found that my problem was within the default ld statements in the Makefile. I found a command that will compile the module successfully on AIX 5L: Download the Linux Toolset for AIX, then: To build pam_radius: - change to the md5.h file.

RE: Pam_radius_auth on AIX 5.1

2004-06-08 Thread Lam, Eric
-Original Message- From: Alan DeKok [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 10:41 AM To: Lam, Eric Subject: Re: Pam_radius_auth on AIX 5.1 I am able compile the pam_radius_auth.so module after some changes in the source code. It can talk to my Radius server but the radius server