Parse hostname/port for AAA server addresses
authorJennifer Richards <jennifer@painless-security.com>
Thu, 24 May 2018 17:34:20 +0000 (13:34 -0400)
committerJennifer Richards <jennifer@painless-security.com>
Thu, 24 May 2018 17:34:20 +0000 (13:34 -0400)
commit87d0426d2e8c8da5b28ae326e414e0b4535b3097
treee8d60c9f3f84f750fff67c47bf8bfc62a2286b44
parent63c68b472c64d36c2084b7c430f3f2284338941b
Parse hostname/port for AAA server addresses

  * Add methods to create a TR_AAA_SERVER from a hostname:port string
    - also a version starting from a TR_NAME, which is a bit of a
      misuse of the TR_NAME
  * Update code to use the new methods instead
  * tr_aaa_server_new() no longer sets the hostname
  * tr_aaa_server_set_port() only uses default port when port == 0,
    otherwise allows any value
  * refactor tr_cfg_parse_one_aaa_server() to better use talloc
  * Raise error in tr_tids_req_handler() if AAA server allocation fails
common/tests/commtest.c
common/tr_aaa_server.c
common/tr_config_realms.c
include/tr_aaa_server.h
tr/tr_tid.c