summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-27 12:02:18 +0100
committerGünther Deschner <gd@samba.org>2008-03-27 13:06:43 +0100
commitcba8dcf759a2a0ed10060a19e9676bd1872ded67 (patch)
treebe4549aed979ca9dc425be3db96a5292f73a691b
parent56e5187d844f8df06a49d02a417f9c77423c30c2 (diff)
downloadsamba-cba8dcf759a2a0ed10060a19e9676bd1872ded67.tar.gz
samba-cba8dcf759a2a0ed10060a19e9676bd1872ded67.tar.bz2
samba-cba8dcf759a2a0ed10060a19e9676bd1872ded67.zip
Move LOGON_KRB5_FAIL_CLOCK_SKEW to winbindd_pam.
Guenther (This used to be commit fa64c76ac8e54f385f277b5b39be70075b2eeee0)
-rw-r--r--source3/include/rpc_netlogon.h2
-rw-r--r--source3/winbindd/winbindd_pam.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h
index 45b087942c..f0cff0d40a 100644
--- a/source3/include/rpc_netlogon.h
+++ b/source3/include/rpc_netlogon.h
@@ -23,8 +23,6 @@
#ifndef _RPC_NETLOGON_H /* _RPC_NETLOGON_H */
#define _RPC_NETLOGON_H
-#define LOGON_KRB5_FAIL_CLOCK_SKEW 0x02000000
-
#define INTERACTIVE_LOGON_TYPE 1
#define NET_LOGON_TYPE 2
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index 5712f08603..63127cbfcd 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -27,6 +27,8 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
+#define LOGON_KRB5_FAIL_CLOCK_SKEW 0x02000000
+
static NTSTATUS append_info3_as_txt(TALLOC_CTX *mem_ctx,
struct winbindd_cli_state *state,
struct netr_SamInfo3 *info3)