summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-12-12 23:35:55 +0000
committerGerald Carter <jerry@samba.org>2002-12-12 23:35:55 +0000
commitf6c4f25e4319b47ac6c8dbf67a4b1c513148384c (patch)
tree16b4d539f4a6bc3b1f39240ab70b7e3c4ec514c3 /source3/include
parent482f77e63520c16993e12ba4030c30b0e8417a8d (diff)
downloadsamba-f6c4f25e4319b47ac6c8dbf67a4b1c513148384c.tar.gz
samba-f6c4f25e4319b47ac6c8dbf67a4b1c513148384c.tar.bz2
samba-f6c4f25e4319b47ac6c8dbf67a4b1c513148384c.zip
merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
(This used to be commit 6b18ca9511ddcf1718f222af3f61491d1e5f3b60)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index de0f10b3c5..b389020e23 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -221,6 +221,14 @@ typedef struct nttime_info
#define MAX_HOURS_LEN 32
+/*
+ * window during which we must talk to the PDC to avoid
+ * sam sync delays; expressed in seconds (15 minutes is the
+ * default period for SAM replication under Windows NT 4.0
+ */
+#define SAM_SYNC_WINDOW 900
+
+
#ifndef MAXSUBAUTHS
#define MAXSUBAUTHS 15 /* max sub authorities in a SID */
#endif