summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-15 12:37:55 +0200
committerGünther Deschner <gd@samba.org>2011-04-15 12:37:55 +0200
commit6768b651232a9b65c9d090db7c445e3e9047f056 (patch)
tree461f87963e7a4236a606dbf26c7a23655dbd0d24 /source3/libads
parent53f50c2268122e648a09e4b0643cd29fcc7a4bfd (diff)
downloadsamba-6768b651232a9b65c9d090db7c445e3e9047f056.tar.gz
samba-6768b651232a9b65c9d090db7c445e3e9047f056.tar.bz2
samba-6768b651232a9b65c9d090db7c445e3e9047f056.zip
s3-waf: try to fix the non-ldap-but-krb5 build.
Guenther
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos_keytab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c
index 721a8c6f53..6e1b7c08fe 100644
--- a/source3/libads/kerberos_keytab.c
+++ b/source3/libads/kerberos_keytab.c
@@ -250,6 +250,8 @@ out:
return (int)ret;
}
+#ifdef HAVE_ADS
+
/**********************************************************************
Adds a single service principal, i.e. 'host' to the system keytab
***********************************************************************/
@@ -724,6 +726,8 @@ done:
return ret;
}
+#endif /* HAVE_ADS */
+
/**********************************************************************
List system keytab.
***********************************************************************/