diff options
author | Samba Release Account <samba-bugs@samba.org> | 1997-03-15 14:47:00 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1997-03-15 14:47:00 +0000 |
commit | aaba4712c8dbf61043d9fe6e1d6773bbd835e3b2 (patch) | |
tree | 9dff9e7beb82612d3aaa2c7e063e0f175084aedc /source3/include | |
parent | df4e27d6a32776aeb5f37cdcdeb348d2de854944 (diff) | |
download | samba-aaba4712c8dbf61043d9fe6e1d6773bbd835e3b2.tar.gz samba-aaba4712c8dbf61043d9fe6e1d6773bbd835e3b2.tar.bz2 samba-aaba4712c8dbf61043d9fe6e1d6773bbd835e3b2.zip |
JHT ===> Moved MAJOR_VERSION and MINOR_VERSION defines to smb.h
Made version info consistent in ipc.c and nameannounce.c
Added define for BROWSER_ELECTION_VALUE and BROWSER_CONSTANT
(see do_announce_host() in nameannounce.c).
Sniffing with the latest bloodhound I found that the byte range
occupied by the BROWSER_ELECTION_VALUE is interpreted depending
on the type of announcement being made.
In a Local_Master_Announcement it is BROWSER_ELECTION_VALUE
but in both Workgroup_Announcement and Host_Announcement
this is seen as Comment_String_Pointer. What does this mean?
We need to know?
(This used to be commit 86b0018cc7e246910a9a621b2bf379f782506a08)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index e9d74befc2..506bbb9b16 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -794,7 +794,15 @@ char *Strstr(char *s, char *p); #define SV_TYPE_DOMAIN_ENUM 0x80000000 #define SV_TYPE_ALL 0xFFFFFFFF -/* what server type are we currently */ +/* what server type are we currently - JHT Says we ARE 4.10 */ +/* this was set by JHT in liaison with Andrew Tridgell early 1996 */ +/* setting to 4.10 at same time as announcing ourselves as NT Server */ +#define MAJOR_VERSION 0x04 +#define MINOR_VERSION 0x01 + +/* Browser Election Values */ +#define BROWSER_ELECT_VERSION 0x010f +#define BROWSER_CONSTANT 0xaa55 /* Capabilities. see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */ |