summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorUri Simchoni <urisimchoni@gmail.com>2015-06-04 22:10:55 +0300
committerJeremy Allison <jra@samba.org>2015-06-16 01:29:24 +0200
commit183b799103d250985807f187fe60a03deb2145cc (patch)
tree9394f4b62c106a1867a1d3e0f1a1dc26d2a9014d /source3/libads
parent507817881c734706b0287a9eaa9c10d7b61ff7cb (diff)
downloadsamba-183b799103d250985807f187fe60a03deb2145cc.tar.gz
kerberos: Move DEFAULT_KRB5_PORT to a header file
Move the kerberos port number definition to a header file, so that it can be used by DNS code. Signed-off-by: Uri Simchoni <urisimchoni@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos.c2
-rw-r--r--source3/libads/kerberos_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index ed343e21232..65a8f24b46e 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -32,8 +32,6 @@
#ifdef HAVE_KRB5
-#define DEFAULT_KRB5_PORT 88
-
#define LIBADS_CCACHE_NAME "MEMORY:libads"
/*
diff --git a/source3/libads/kerberos_proto.h b/source3/libads/kerberos_proto.h
index 3d0ad4bb89a..8a6e00de796 100644
--- a/source3/libads/kerberos_proto.h
+++ b/source3/libads/kerberos_proto.h
@@ -39,6 +39,8 @@ struct PAC_DATA_CTR {
struct PAC_DATA *pac_data;
};
+#define DEFAULT_KRB5_PORT 88
+
#include "libads/ads_status.h"
/* The following definitions come from libads/kerberos.c */