git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set a maximum name refresh time of 20 minutes.
[samba.git]
/
source3
/
include
/
nameserv.h
diff --git
a/source3/include/nameserv.h
b/source3/include/nameserv.h
index fe00a1415d5cd8d7ae79d9d0c9de76366ca2381a..c219a1f723b49d2ca8f36c0fc2e5c4b096a15067 100644
(file)
--- a/
source3/include/nameserv.h
+++ b/
source3/include/nameserv.h
@@
-546,6
+546,10
@@
struct packet_struct
/* Do all remote announcements this often. */
#define REMOTE_ANNOUNCE_INTERVAL 180
/* Do all remote announcements this often. */
#define REMOTE_ANNOUNCE_INTERVAL 180
+/* what is the maximum period between name refreshes. Note that this only
+ affects non-permanent self names */
+#define MAX_REFRESH_TIME (60*20)
+
/* Types of machine we can announce as. */
#define ANNOUNCE_AS_NT 1
#define ANNOUNCE_AS_WIN95 2
/* Types of machine we can announce as. */
#define ANNOUNCE_AS_NT 1
#define ANNOUNCE_AS_WIN95 2