#
nas_type = other # localhost isn't usually a NAS...
- #
- # The following two configurations are for future use.
- # The 'naspasswd' file is currently used to store the NAS
- # login name and password, which is used by checkrad.pl
- # when querying the NAS for simultaneous use.
- #
-# login = !root
-# password = someadminpas
-
#
# As of 2.0, clients can also be tied to a virtual server.
# This is done by setting the "virtual_server" configuration
char const *nas_type; //!< Type of client (arbitrary).
- char const *login; //!< Username to use for simultaneous use checks.
- char const *password; //!< Password to use for simultaneous use checks.
-
char const *server; //!< Name of the virtual server client is associated with.
CONF_SECTION *server_cs; //!< Virtual server that the client is associated with
(old->ipaddr.prefix == client->ipaddr.prefix) &&
namecmp(longname) && namecmp(secret) &&
namecmp(shortname) && namecmp(nas_type) &&
- namecmp(login) && namecmp(password) && namecmp(server) &&
+ namecmp(server) &&
#ifdef WITH_DYNAMIC_CLIENTS
(old->lifetime == client->lifetime) &&
namecmp(client_server) &&
{ FR_CONF_OFFSET("nas_type", FR_TYPE_STRING, RADCLIENT, nas_type) },
- { FR_CONF_OFFSET("login", FR_TYPE_STRING, RADCLIENT, login) },
- { FR_CONF_OFFSET("password", FR_TYPE_STRING, RADCLIENT, password) },
{ FR_CONF_OFFSET("virtual_server", FR_TYPE_STRING, RADCLIENT, server) },
{ FR_CONF_OFFSET("response_window", FR_TYPE_TIMEVAL, RADCLIENT, response_window) },