Public bug reported:

Ubuntu release:
Description:    Ubuntu 16.04.1 LTS
Release:        16.04

Package details:
ocserv:
  Installed: 0.10.11-1build1
  Candidate: 0.10.11-1build1
  Version table:
 *** 0.10.11-1build1 500
        500 http://hk.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

Description:

I noticed that ubuntu 16.04 LTS now ships with both packages radcli and ocserv. 
I have been testing those packages and it seems both can install with no issue.
Ocserv works well, but when I switch authentication to radius, service fails to 
restart with the following error:

Nov 07 19:21:52 HKVM-OCSERV01 ocserv[1449]: Unknown or unsupported auth method: 
radius[config=/etc/radcli/radiusclient.conf,groupconfig=true]
Nov 07 19:21:52 HKVM-OCSERV01 systemd[1]: ocserv.service: Main process exited, 
code=exited, status=1/FAILURE
Nov 07 19:21:52 HKVM-OCSERV01 systemd[1]: ocserv.service: Unit entered failed 
state.
Nov 07 19:21:52 HKVM-OCSERV01 systemd[1]: ocserv.service: Failed with result 
'exit-code'.

I tested this on both amd64 and armhf platforms. They have the same behavior. 
The package ocserv in order to have radius support, needs to be compiled after 
radius libraries are installed in the system. 
You can refer to the documentation I wrote on openconnect webpage, under 
"requirements" paragraph: 
http://www.infradead.org/ocserv/recipes-ocserv-authentication-radius-radcli.html

I hope the package can be re-created with the much needed radius
support. I am available to test new version if and when needed.

** Affects: ocserv (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  ocserv fails when using radius authentication

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocserv/+bug/1639768/+subscriptions

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

Reply via email to