From: Andrew Bartlett Date: Mon, 28 May 2012 05:00:12 +0000 (+1000) Subject: s3-loadparm: Swap synonyms of max/min protocol to server max/min protocol X-Git-Tag: samba-4.0.0beta1~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27fb14bfbe9d49bacd80fc033132c254267aeb34;p=thirdparty%2Fsamba.git s3-loadparm: Swap synonyms of max/min protocol to server max/min protocol This matches the lib/param code, as is a seperate parameter for the client there. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Wed May 30 06:04:41 CEST 2012 on sn-devel-104 --- diff --git a/docs-xml/smbdotconf/protocol/maxprotocol.xml b/docs-xml/smbdotconf/protocol/servermaxprotocol.xml similarity index 94% rename from docs-xml/smbdotconf/protocol/maxprotocol.xml rename to docs-xml/smbdotconf/protocol/servermaxprotocol.xml index 2ecf84675de..459bce878ca 100644 --- a/docs-xml/smbdotconf/protocol/maxprotocol.xml +++ b/docs-xml/smbdotconf/protocol/servermaxprotocol.xml @@ -1,4 +1,4 @@ - -min protocol -protocol +server min protocol +max protocol SMB2 LANMAN1 diff --git a/docs-xml/smbdotconf/protocol/minprotocol.xml b/docs-xml/smbdotconf/protocol/serverminprotocol.xml similarity index 89% rename from docs-xml/smbdotconf/protocol/minprotocol.xml rename to docs-xml/smbdotconf/protocol/serverminprotocol.xml index 0bec282467c..1fbb7dcf3fc 100644 --- a/docs-xml/smbdotconf/protocol/minprotocol.xml +++ b/docs-xml/smbdotconf/protocol/serverminprotocol.xml @@ -1,4 +1,4 @@ - +server min protocol +min protocol + CORE NT1 diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 3c1a4effe4d..11ff646cb65 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1560,7 +1560,7 @@ static struct parm_struct parm_table[] = { .flags = FLAG_ADVANCED, }, { - .label = "max protocol", + .label = "server max protocol", .type = P_ENUM, .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_maxprotocol), @@ -1569,7 +1569,7 @@ static struct parm_struct parm_table[] = { .flags = FLAG_ADVANCED, }, { - .label = "server max protocol", + .label = "max protocol", .type = P_ENUM, .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_maxprotocol), @@ -1587,7 +1587,7 @@ static struct parm_struct parm_table[] = { .flags = FLAG_ADVANCED, }, { - .label = "min protocol", + .label = "server min protocol", .type = P_ENUM, .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_minprotocol), @@ -1596,7 +1596,7 @@ static struct parm_struct parm_table[] = { .flags = FLAG_ADVANCED, }, { - .label = "server min protocol", + .label = "min protocol", .type = P_ENUM, .p_class = P_GLOBAL, .offset = GLOBAL_VAR(srv_minprotocol),