[SSSD] [PATCH] Unify usage of function gethostname

Lukas Slebodnik lslebodn at redhat.com
Mon Jun 2 04:35:12 UTC 2014


On (01/06/14 12:24), Simo Sorce wrote:
>On Sat, 2014-05-31 at 19:13 +0200, Lukas Slebodnik wrote:
>> ehlo,
>> 
>> We used function gethostname on few places but in different way.
>> We also used hardcoded values instead of constant HOST_NAME_MAX
>
>Shouldn't we have a sssd_gethostname() so we can override the hostname
>when people configure set things like ipa_hostname = ?
>
ipa_hostname is ipa specific option and situation will be more complicated
with containers use-case.

I would prefer to take small steps towards goal.

LS



More information about the sssd-devel mailing list