Hi Lena,
Thank you for looking into the problem.
>I I created a PPA to test that adding this commit fixes the issue here: 
>https://launchpad.net/~lvoytek/+archive/ubuntu/libpam-radius-auth-ipv4-6-yes-no

I am afraid that I was misunderstood...
As I wrote, github version is working as expected but the upstream is not. 
I've suggested syncing upstream with github (which already respected ipvX 
arguments)

Here is my previous post:
 Please note that
```git clone https://github.com/FreeRADIUS/pam_radius
cd pam_radius
make deb && dpkg -i ../libpam-radius-auth_2.0.1_amd64.deb
```
is working as expected:
2024-06-07T22:45:13.395293+10:00 ubuntu sshd[1457]: pam_radius_auth: 2.0.1 
DEVELOPER BUILD - (git #d802da75), built on Jun 7 2024 at 12:38:28
2024-06-07T22:45:13.395508+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[0] = 'conf=/etc/pam_radius_auth.conf'
2024-06-07T22:45:13.395585+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[1] = 'retry=3'
2024-06-07T22:45:13.395642+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[2] = 'ipv4=yes'
2024-06-07T22:45:13.395709+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[3] = 'ipv6=no'
2024-06-07T22:45:13.395809+10:00 ubuntu sshd[1457]: pam_radius_auth: 
_pam_parse: argv[4] = 'debug'
2024-06-07T22:45:13.395968+10:00 ubuntu sshd[1457]: pam_radius_auth: DEBUG: 
conf='/etc/pam_radius_auth.conf' use_first_pass=no try_first_pass=no 
skip_passwd=no retry=3 localifdown=no client_id='' ruser=no prompt='Password: ' 
force_prompt=no prompt_attribute=no max_challenge=0 privilege_level=no

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068729

Title:
  pam_radius_auth: Failed to open RADIUS IPv6 socket: Address family not
  supported by protocol

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpam-radius-auth/+bug/2068729/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to