Skip to content

Explicit port number in servers file entry doesn't work #112

@pem

Description

@pem

Looking at the code, it seems either of these lines should work in the servers file:

hostname:1812 secret
hostname:1812:secret

but it doesn't. We get

radcli: rc_find_server_addr: rc_find_server: couldn't find RADIUS server hostname in /.../servers
radcli: rc_send_server_ctx: rc_send_server: unable to find server: hostname

in /var/log/messages. Now, 1812 is redundant since it's the default, so simply omitting the port like this works:

hostname secret

but it would be a problem if you run the server on a non-standard port.
(I have looked at the code in config.c, but not so easy to figure out what's going on there...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions