summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShekhar Amlekar <samlekar@in.ibm.com>2013-07-09 14:26:49 +0530
committerJeremy Allison <jra@samba.org>2013-09-06 19:41:51 +0200
commit81f8b9c29f317d8a6bd0354cdef9bd319118b583 (patch)
treef72b2d224b7ee16acec3f3d2e621d3ac6eba0851
parent5c9e10b4b9fb9abe7af6058c0513115ddb325500 (diff)
downloadsamba-81f8b9c29f317d8a6bd0354cdef9bd319118b583.tar.gz
samba-81f8b9c29f317d8a6bd0354cdef9bd319118b583.tar.bz2
samba-81f8b9c29f317d8a6bd0354cdef9bd319118b583.zip
s3: include/smb : changing smb server version
changing smb server version from 4.9 to 6.1 to mimic win2k8r2. Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Sep 6 19:41:51 CEST 2013 on sn-devel-104
-rw-r--r--source3/include/smb.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8dd6555b54..b6b04a4d9b 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -602,10 +602,15 @@ char *strdup(char *s);
* Note: In the presence of NT4.X do not set above 4.9
* Setting this above 4.9 can have undesired side-effects.
* This may change again in Samba-3.0 after further testing. JHT
+ *
+ * Version 6.1 - For older smb server versions, MMC doesn't let offline
+ * settings to be configured during share creation. Changing
+ * it to 6.1 to mimic Win2K8R2.
+ *
*/
-#define SAMBA_MAJOR_NBT_ANNOUNCE_VERSION 0x04
-#define SAMBA_MINOR_NBT_ANNOUNCE_VERSION 0x09
+#define SAMBA_MAJOR_NBT_ANNOUNCE_VERSION 0x06
+#define SAMBA_MINOR_NBT_ANNOUNCE_VERSION 0x01
/* Browser Election Values */
#define BROWSER_ELECTION_VERSION 0x010f