summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@suse.com>2020-07-08 15:29:42 -0600
committerDavid Mulder <dmulder@samba.org>2020-08-27 15:59:34 +0000
commita4f598fde8cfa564613108397b0a645277cf0ace (patch)
treed547dc46c9910f0299631589bc94bd40841ccc77 /libgpo
parente8757e0d36c56d18c8597832dddfd0a7214772f5 (diff)
downloadsamba-a4f598fde8cfa564613108397b0a645277cf0ace.tar.gz
gpo: Apply Group Policy Message of the day
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'libgpo')
-rwxr-xr-xlibgpo/admx/en-US/samba.adml8
-rwxr-xr-xlibgpo/admx/samba.admx10
2 files changed, 18 insertions, 0 deletions
diff --git a/libgpo/admx/en-US/samba.adml b/libgpo/admx/en-US/samba.adml
index 2f612f0658e..fc0ec31c3cc 100755
--- a/libgpo/admx/en-US/samba.adml
+++ b/libgpo/admx/en-US/samba.adml
@@ -3084,6 +3084,9 @@ Example: 192.9.200.1 192.168.2.61</string>
<string id="POL_F19C445A_AFD5_51B6_B87A_E42499C3C5D8_Help">This is the interval in s till tombstone records are deleted from the WINS database. Defaults to 1 day.</string>
<string id="POL_8CF1FEA3_BD3E_53C0_9F73_34050187A91E">wreplsrv:verify_interval</string>
<string id="POL_8CF1FEA3_BD3E_53C0_9F73_34050187A91E_Help">This is the interval in s till we verify active replica records with the owning WINS server. Unfortunately not implemented yet. Defaults to 24 days.</string>
+ <string id="CAT_9DEF582D_447A_47E9_A1F5_363558D03FA9">Messages</string>
+ <string id="POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07">Message of the day</string>
+ <string id="POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07_Help"> The contents of /etc/motd are displayed after a successful login but just before it executes the login shell.</string>
</stringTable>
<presentationTable>
<presentation id="POL_9320E11F_AC80_4A7D_A5C8_1C0F3F727061">
@@ -4591,6 +4594,11 @@ Example: 192.9.200.1 192.168.2.61</string>
<defaultValue>2073600</defaultValue>
</textBox>
</presentation>
+ <presentation id="POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07">
+ <textBox refId="TXT_609C208A_3B4D_48F1_8A15_C0DF08EAD4D6">
+ <label>Message of the day</label>
+ </textBox>
+ </presentation>
</presentationTable>
</resources>
</policyDefinitionResources>
diff --git a/libgpo/admx/samba.admx b/libgpo/admx/samba.admx
index c5c5586610d..f63c250d1c2 100755
--- a/libgpo/admx/samba.admx
+++ b/libgpo/admx/samba.admx
@@ -14,6 +14,9 @@
<category name="CAT_2B6D622C_5721_4C23_A2D6_5C70D6E059BA" displayName="$(string.CAT_2B6D622C_5721_4C23_A2D6_5C70D6E059BA)">
<parentCategory ref="CAT_7D8D7DC8_5A9D_4BE1_8227_F09CDD5AFFC6" />
</category>
+ <category name="CAT_9DEF582D_447A_47E9_A1F5_363558D03FA9" displayName="$(string.CAT_9DEF582D_447A_47E9_A1F5_363558D03FA9)">
+ <parentCategory ref="CAT_7D8D7DC8_5A9D_4BE1_8227_F09CDD5AFFC6" />
+ </category>
<category displayName="$(string.CAT_10827749_64ED_5052_87F7_E81AD421856A)" name="CAT_10827749_64ED_5052_87F7_E81AD421856A">
<parentCategory ref="CAT_3338C1DD_8A00_4273_8547_158D8B8C19E9"/>
</category>
@@ -2511,5 +2514,12 @@
<text id="TXT_F35F7924_DBD3_5F6F_B247_7F4893C63844" key="Software\Policies\Samba\smb_conf\wreplsrv:verify_interval" valueName="wreplsrv:verify_interval"/>
</elements>
</policy>
+ <policy name="POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07" class="Machine" displayName="$(string.POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07)" explainText="$(string.POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07_Help)" presentation="$(presentation.POL_38DA04F0_3FD6_4425_8924_1CEEA685FD07)" key="Software\Policies\Samba\Unix Settings\Messages">
+ <parentCategory ref="CAT_9DEF582D_447A_47E9_A1F5_363558D03FA9" />
+ <supportedOn ref="windows:SUPPORTED_WindowsVista" />
+ <elements>
+ <text id="TXT_609C208A_3B4D_48F1_8A15_C0DF08EAD4D6" key="Software\Policies\Samba\Unix Settings\Messages" valueName="motd" />
+ </elements>
+ </policy>
</policies>
</policyDefinitions>