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

Re: [Freeipa-devel] [PATCH] Initial Radius Work



On Sat, 2007-11-03 at 13:59 -0400, John Dennis wrote:
> +    # FIXME: ldap_server should be derived, not hardcoded to
> localhost, also should it be a URL?
> +    radius.create_instance(realm_name, host_name, 'localhost') 
> + 

If at all possible, you should let ldap libraries use DNS discovery to
find the ldap server, and not force one on them. this will allow
automatic fallback eventually. Unells we want to tie a radiuserver to
the local master for some other reasons, in which case you must use
gethostname as you need the hostname of the server to get the right
kerberos ticket.

Simo.


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