From 623f1dfada3601293733774a5f342af2379d51c9 Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Fri, 1 Dec 2006 13:53:26 +0000 Subject: More cleanups to be done. (This used to be commit 303ac0c682dbe5121a9b20adf0c6b2d56bd8632a) --- docs/smbdotconf/logon/abortshutdownscript.xml | 2 +- docs/smbdotconf/logon/addgroupscript.xml | 29 ++++++++++++++------------- docs/smbdotconf/logon/addmachinescript.xml | 11 +++++----- 3 files changed, 22 insertions(+), 20 deletions(-) (limited to 'docs/smbdotconf/logon') diff --git a/docs/smbdotconf/logon/abortshutdownscript.xml b/docs/smbdotconf/logon/abortshutdownscript.xml index f1ac6183dc..14b04058cc 100644 --- a/docs/smbdotconf/logon/abortshutdownscript.xml +++ b/docs/smbdotconf/logon/abortshutdownscript.xml @@ -11,6 +11,6 @@ If the connected user posseses the SeRemoteShutdownPrivilege, right, this command will be run as user. - + /sbin/shutdown -c diff --git a/docs/smbdotconf/logon/addgroupscript.xml b/docs/smbdotconf/logon/addgroupscript.xml index c40cb94df2..3804e144ff 100644 --- a/docs/smbdotconf/logon/addgroupscript.xml +++ b/docs/smbdotconf/logon/addgroupscript.xml @@ -1,18 +1,19 @@ + context="G" + type="string" + advanced="1" developer="1" + xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This is the full pathname to a script that will be run - AS ROOT by - smbd8 - when a new group is requested. It will expand any %g to the group name passed. This - script is only useful for installations using the Windows NT - domain administration tools. The script is free to create a - group with an arbitrary name to circumvent unix group name - restrictions. In that case the script must print the numeric gid - of the created group on stdout. + + This is the full pathname to a script that will be run AS ROOT by + smbd8 when a new group is requested. It + will expand any %g to the group name passed. This script is only useful + for installations using the Windows NT domain administration tools. The script is free to create a group with + an arbitrary name to circumvent unix group name restrictions. In that case the script must print the numeric + gid of the created group on stdout. + + + +/usr/sbin/groupadd %g diff --git a/docs/smbdotconf/logon/addmachinescript.xml b/docs/smbdotconf/logon/addmachinescript.xml index c227a67c4c..22b91bd05e 100644 --- a/docs/smbdotconf/logon/addmachinescript.xml +++ b/docs/smbdotconf/logon/addmachinescript.xml @@ -4,11 +4,12 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - This is the full pathname to a script that will be run by - smbd - 8 when a machine is added - to Samba's domain and a Unix account matching the machine's name - appended with a "$" does not already exist. + + This is the full pathname to a script that will be run by + smbd 8 when a machine is + added to Samba's domain and a Unix account matching the machine's name appended with a "$" does not + already exist. + -- cgit