summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-04-11 10:23:19 +0000
committerMatthew Chapman <matty@samba.org>1999-04-11 10:23:19 +0000
commit9c2520e6cdf8951f6f6645af91915fac67b49d19 (patch)
treec5536898b46ecaad88991f846087a2293374a180 /source3/include/smb.h
parent7930cb0dfc6d11a8456b40a42e17afc8ae58b37d (diff)
downloadsamba-9c2520e6cdf8951f6f6645af91915fac67b49d19.tar.gz
samba-9c2520e6cdf8951f6f6645af91915fac67b49d19.tar.bz2
samba-9c2520e6cdf8951f6f6645af91915fac67b49d19.zip
Trying to improve DC location & browsing performance for the average user
who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code). (This used to be commit 4a23a358b5ad8873acb7db11f27b87d2a016bec1)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 29c119df95..660f5b6e00 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -33,6 +33,7 @@
#define False (0)
#define True (1)
+#define Auto (2)
#define BOOLSTR(b) ((b) ? "Yes" : "No")
#define BITSETB(ptr,bit) ((((char *)ptr)[0] & (1<<(bit)))!=0)
#define BITSETW(ptr,bit) ((SVAL(ptr,0) & (1<<(bit)))!=0)