kerberos: Move DEFAULT_KRB5_PORT to a header file
authorUri Simchoni <urisimchoni@gmail.com>
Thu, 4 Jun 2015 19:10:55 +0000 (22:10 +0300)
committerJeremy Allison <jra@samba.org>
Mon, 15 Jun 2015 23:29:24 +0000 (01:29 +0200)
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>
source3/libads/kerberos.c
source3/libads/kerberos_proto.h

index ed343e2123247d652be3d72b2df29adb5cf1ae11..65a8f24b46ef91c3c6ddbe357f4b7743ba8226c3 100644 (file)
@@ -32,8 +32,6 @@
 
 #ifdef HAVE_KRB5
 
-#define DEFAULT_KRB5_PORT 88
-
 #define LIBADS_CCACHE_NAME "MEMORY:libads"
 
 /*
index 3d0ad4bb89abda836fa7c41e2f57312533f1a263..8a6e00de7967708c60a9ba7e809e09adc27a54ee 100644 (file)
@@ -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  */