PAM error on reboot of the RADIUS client
Hello, I have a debian machine that acts as RADIUS client talking with the Freeradius server. I have configured PAM on the client, so made following changes. 1 - Added radiusd to /etc/pam.d which contains - @include common-auth @include common-account @include common-password @include common-session 2 - Added following line to /etc/pam.d/common_auth auth sufficient pam_radius_auth.so 3 - Added following line to /etc/pam.d/common_account account required pam_radius_auth.so 4- Added following line to /etc/pam.d/common_session session required pam_radius_auth.so 5 - Added server-ip and secret key to /etc/pam_radius_auth.conf Authentication and accounting works fine after I configure the above on the client. As soon as I reboot client, login fails with error - "cannot make/remove an entry for the specified session". Cannot login into the client. Thanks
If I dont configure step 4, I am not locked out on the client. 4- Added following line to /etc/pam.d/common_session session required pam_radius_auth.so Thanks On Mon, Feb 4, 2013 at 4:47 PM, Deepti kulkarni <deepti.kdeeps@gmail.com>wrote:
Hello,
I have a debian machine that acts as RADIUS client talking with the Freeradius server. I have configured PAM on the client, so made following changes.
1 - Added radiusd to /etc/pam.d which contains - @include common-auth @include common-account @include common-password @include common-session
2 - Added following line to /etc/pam.d/common_auth auth sufficient pam_radius_auth.so
3 - Added following line to /etc/pam.d/common_account account required pam_radius_auth.so
4- Added following line to /etc/pam.d/common_session session required pam_radius_auth.so
5 - Added server-ip and secret key to /etc/pam_radius_auth.conf
Authentication and accounting works fine after I configure the above on the client. As soon as I reboot client, login fails with error - "cannot make/remove an entry for the specified session". Cannot login into the client.
Thanks
Deepti kulkarni wrote:
Authentication and accounting works fine after I configure the above on the client. As soon as I reboot client, login fails with error - "cannot make/remove an entry for the specified session". Cannot login into the client.
Unfortunately, this is a PAM problem. I have no idea how to fix this. I suggest asking the PAM people. Alan DeKok.
Thanks. PAM doesnt support authorization either right? What radius client do you prefer that can support authentication, authorization and accounting for linux machines? Thanks On Tue, Feb 5, 2013 at 7:15 AM, Alan DeKok <aland@deployingradius.com>wrote:
Deepti kulkarni wrote:
Authentication and accounting works fine after I configure the above on the client. As soon as I reboot client, login fails with error - "cannot make/remove an entry for the specified session". Cannot login into the client.
Unfortunately, this is a PAM problem. I have no idea how to fix this. I suggest asking the PAM people.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Deepti kulkarni