diff options
author | Gerald Carter <jerry@samba.org> | 2002-12-13 02:07:05 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-12-13 02:07:05 +0000 |
commit | 899b6e6d0facd1ef5865ce550fadd292514955d6 (patch) | |
tree | 7b959a887c100a29a3b74e354dd9142438e3d04f /source3/include | |
parent | 580110a47cf997f50f3442e04c28ce256e0e9c15 (diff) | |
download | samba-899b6e6d0facd1ef5865ce550fadd292514955d6.tar.gz samba-899b6e6d0facd1ef5865ce550fadd292514955d6.tar.bz2 samba-899b6e6d0facd1ef5865ce550fadd292514955d6.zip |
merge of get_dc_name()-like code from APP_HEAD; better support password server = DC1 *
(This used to be commit f49de4c5176bf635ac080e082fda412066b466c8)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 8 |
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 |