summaryrefslogtreecommitdiffstats
path: root/src/resolv/async_resolv.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-05-27 11:44:16 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-06-02 15:23:33 -0400
commit807402e4e9ac43d0fe7a7533698102a74e23844b (patch)
tree4b434d4f4613412b4a5280697fe5f687974b04f4 /src/resolv/async_resolv.h
parent9e082d13d8b1b66092747db8454de3a0d50ce51f (diff)
downloadsssd-807402e4e9ac43d0fe7a7533698102a74e23844b.tar.gz
sssd-807402e4e9ac43d0fe7a7533698102a74e23844b.tar.xz
sssd-807402e4e9ac43d0fe7a7533698102a74e23844b.zip
Properly support IPv6 in LDAP URIs for IPA and LDAP providers
Add utility function to return IP address as string Add a utility function to escape IPv6 address for use in URIs Use escaped IP addresses in LDAP provider Escape IPv6 IP addresses in the IPA provider https://fedorahosted.org/sssd/ticket/880 Fix bad merge We merged in a patch, but missed that it missed a dependency added by another earlier patch.
Diffstat (limited to 'src/resolv/async_resolv.h')
-rw-r--r--src/resolv/async_resolv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h
index b6a13d7fa..d6cbe1494 100644
--- a/src/resolv/async_resolv.h
+++ b/src/resolv/async_resolv.h
@@ -76,6 +76,9 @@ int resolv_gethostbyname_recv(struct tevent_req *req,
int *timeouts,
struct hostent **hostent);
+char *
+resolv_get_string_address(TALLOC_CTX *mem_ctx, struct hostent *hostent);
+
/** Get SRV record **/
struct tevent_req *resolv_getsrv_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,