ocserv: config-per-group not read if group comes from certificate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm trying to set up ocserv so it can be used by anyconnect users.
Authentication is done via certificates and passwords (via pam).
The group is determined from the cert DN and there's no group selector
(although anyconnect displays the group).

Both user and group are correctly shown in the debug output:

ocserv[12766]: sec-mod: auth init for user 'testuser' (group: 'vpntest') from '192.168.2.13'

The config-per-group files, however, are not being read at all and it
seems that the proc->groupname seen in get_sup_config() is empty.
config-per-user _is_ read correctly.

I was using ocserv 0.8.4 as well as the latest git version.
My group-related config:

   cert-group-oid = 2.5.4.3
   auto-select-group = true
   config-per-group = /etc/ocserv/config-per-group/


Any idea where or why the group information is lost ?


Regards,
   Norbert




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux