summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-03-02 19:50:17 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-03-02 19:50:17 +0000
commite722aeed99b3e7413cb7d5fc31cda38711f7dfc6 (patch)
tree75b1f74b54881bcef3f74c72f2f465462fe7d377 /docs
parent9685519aa279bfcd24e089871f6e68a6c664e0c1 (diff)
downloadsamba-e722aeed99b3e7413cb7d5fc31cda38711f7dfc6.tar.gz
samba-e722aeed99b3e7413cb7d5fc31cda38711f7dfc6.tar.xz
samba-e722aeed99b3e7413cb7d5fc31cda38711f7dfc6.zip
added logon script and logon path parameters.
lkcl
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages/smb.conf.549
1 files changed, 49 insertions, 0 deletions
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
index 61f907b8ed5..8b23e24c8f3 100644
--- a/docs/manpages/smb.conf.5
+++ b/docs/manpages/smb.conf.5
@@ -357,6 +357,10 @@ log file
log level
+logon script
+
+logon path
+
lpq cache time
mangled stack
@@ -1218,6 +1222,51 @@ separate log files for each user or machine.
.SS log level (G)
see "debug level"
+.SS logon script (G)
+
+This parameter specifies the batch file (.bat) or NT command file (.cmd)
+to be downloaded and run on a machine when a user successfully logs in.
+The file must contain the DOS style cr/lf line endings. Using a DOS-style
+editor to create the file is recommended.
+
+The script must be a relative path to the [netlogon] service. If the
+[netlogon] service specifies a path of /usr/local/samba/netlogon, and
+logon script = STARTUP.BAT, then file that will be downloaded is:
+
+.B /usr/local/samba/netlogon/STARTUP.BAT
+
+The contents of the batch file is entirely your choice. A suggested
+command would be to add NET TIME \\\\SERVER /SET /YES, to force every
+machine to synchronise clocks with the same time server. Another use
+would be to add NET USE U: \\\\SERVER\\UTILS for commonly used utilities,
+or NET USE Q: \\\\SERVER\\ISO9001_QA.
+
+Note that it is particularly important not to allow write access to
+the [netlogon] share, or to grant users write permission on the
+batch files in a secure environment, as this would allow the batch
+files to be arbitrarily modified.
+
+.B
+This option takes the standard substitutions, allowing you to have
+separate logon scripts for each user or machine.
+
+.B Example:
+ logon script = scripts/%U.bat
+
+.SS logon path (G)
+
+This parameter specifies the home directory where roaming profiles
+(USER.DAT / USER.MAN files) are stored.
+
+This option takes the standard substitutions, allowing you to have
+separate logon scripts for each user or machine.
+
+.B Default:
+ logon path = \\\\%L\\HOMES
+
+.B Example:
+ logon path = \\\\PROFILESERVER\\HOME_DIR\\%U
+
.SS lppause command (S)
This parameter specifies the command to be executed on the server host in
order to stop printing or spooling a specific print job.