ocserv 0.8.9

İsmail Dönmez ismail at donmez.ws
Thu Dec 11 00:11:35 PST 2014


On Thu, Dec 11, 2014 at 10:08 AM, İsmail Dönmez <ismail at donmez.ws> wrote:
> Hi,
>
> On Thu, Dec 11, 2014 at 10:05 AM, Nikos Mavrogiannopoulos
> <nmav at gnutls.org> wrote:
>> On Wed, 2014-12-10 at 22:19 +0200, İsmail Dönmez wrote:
>>
>>> Got a build error on Ubuntu 14.10:
>>>
>>> sec-mod-sup-config.o: In function `sup_config_init':
>>> /home/ismail/ocserv/src/sec-mod-sup-config.c:39: undefined reference
>>> to `radius_sup_config'
>>> collect2: error: ld returned 1 exit status
>>> config.log says radius is disabled:
>>
>> I guess this is about master and not 0.8.9? I have committed a fix for
>> that.
>
> Yes, sorry! And fix confirmed :-)

Hmm now it crashes on startup

Program received signal SIGSEGV, Segmentation fault.
parse_cfg_file (file=<optimized out>, file at entry=0x7fffffffe866
"/opt/ocserv/etc/ocserv.conf", config=0x65a810,
    reload=reload at entry=0) at config.c:421
421                             config->auth_types |= amod->type;
(gdb) bt
#0  parse_cfg_file (file=<optimized out>, file at entry=0x7fffffffe866
"/opt/ocserv/etc/ocserv.conf", config=0x65a810,
    reload=reload at entry=0) at config.c:421
#1  0x0000000000418d11 in cmd_parser (pool=<optimized out>,
argc=<optimized out>, argv=0x7fffffffe608, config=0x63d150)
    at config.c:812
#2  0x0000000000405e1e in main (argc=5, argv=0x7fffffffe608) at main.c:945
(gdb) frame 0
#0  parse_cfg_file (file=<optimized out>, file at entry=0x7fffffffe866
"/opt/ocserv/etc/ocserv.conf", config=0x65a810,
    reload=reload at entry=0) at config.c:421
421                             config->auth_types |= amod->type;
(gdb) print config->auth_types
$2 = 0

ocserv.conf has line

auth = "pam"



More information about the openconnect-devel mailing list