summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-24 22:17:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:36 -0500
commit7ef96bd3c4beb9a5bbef2b75819181ca8dc70be9 (patch)
tree5d2697ea3d6a33cda86a9ca0417b4a3d9ea42956 /source4/auth
parentae67b20623b1887b2afa061f328b5d52654ba6c7 (diff)
downloadsamba-7ef96bd3c4beb9a5bbef2b75819181ca8dc70be9.tar.gz
samba-7ef96bd3c4beb9a5bbef2b75819181ca8dc70be9.tar.bz2
samba-7ef96bd3c4beb9a5bbef2b75819181ca8dc70be9.zip
r15876: Fix build on IPv6-less systems.
(This used to be commit 180925659fad50ff82693284587ae4e735458c6b)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/kerberos/krb5_init_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/kerberos/krb5_init_context.c b/source4/auth/kerberos/krb5_init_context.c
index fa2975a647..97c8ff51f3 100644
--- a/source4/auth/kerberos/krb5_init_context.c
+++ b/source4/auth/kerberos/krb5_init_context.c
@@ -257,9 +257,11 @@ static krb5_error_code smb_krb5_send_and_recv_func(krb5_context context,
case PF_INET:
name = "ipv4";
break;
+#ifdef PF_INET6
case PF_INET6:
name = "ipv6";
break;
+#endif
default:
talloc_free(smb_krb5);
return EINVAL;