freeipa/daemons/ipa-slapi-plugins/ipa-cldap
Christian Heimes 727a2ffb93 Easier to use ipa_gethostfqdn()
ipa_gethostfqdn() now returns a pointer to a statically allocated buffer
or NULL in case of an error. The caller no longer has to supply a
correctly allocated buffer.

Rename IPA_HOST_HOST to_LEN IPA_HOST_FQDN_LEN and use IPA_HOST_FQDN_LEN
wherever code copies a hostname supplied from ipa_gethostfqdn().

Clarify that MAXHOSTNAMELEN and MAXHOSTFQDNLEN are different things.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2020-10-26 17:11:19 +11:00
..
ipa_cldap_netlogon.c Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa_cldap_tests.c cmocka_tests: Do not use deprecated cmocka interface 2015-11-18 12:54:43 +01:00
ipa_cldap_worker.c CLDAP: make sure an empty reply is returned on any error 2013-08-29 15:28:18 +02:00
ipa_cldap.c Fix compilation error in ipa-cldap. 2013-12-06 14:44:40 +01:00
ipa_cldap.h Easier to use ipa_gethostfqdn() 2020-10-26 17:11:19 +11:00
ipa-cldap-conf.ldif Create skeleton CLDAP server as a DS plugin 2011-11-21 18:52:48 -05:00
Makefile.am Unify access to FQDN 2020-10-26 17:11:19 +11:00