diff options
author | John Terpstra <jht@samba.org> | 2002-11-19 19:06:11 +0000 |
---|---|---|
committer | John Terpstra <jht@samba.org> | 2002-11-19 19:06:11 +0000 |
commit | 333a65caa43b1a41be4ebdbdbb4edf66f3a79c0f (patch) | |
tree | 756ce5efc9f06220c2d3f3b859dd24248fb3f132 /examples/ntlogon/ntlogon.conf | |
parent | faf1f0df4d8f047fb2dcbd27305c61a1e70a8db3 (diff) | |
download | samba-333a65caa43b1a41be4ebdbdbb4edf66f3a79c0f.tar.gz samba-333a65caa43b1a41be4ebdbdbb4edf66f3a79c0f.tar.bz2 samba-333a65caa43b1a41be4ebdbdbb4edf66f3a79c0f.zip |
Added logon script generator provided by: Timothy Grant <tjg@craigelachie.org>
(This used to be commit 93cfbb000f8e28f3c4c600e7779dd81bac6ce9a4)
Diffstat (limited to 'examples/ntlogon/ntlogon.conf')
-rw-r--r-- | examples/ntlogon/ntlogon.conf | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/ntlogon/ntlogon.conf b/examples/ntlogon/ntlogon.conf new file mode 100644 index 0000000000..e1573a6118 --- /dev/null +++ b/examples/ntlogon/ntlogon.conf @@ -0,0 +1,44 @@ +# Everything in the Global section applies to all users logging on to the +# network +[Global] + +#Some substitution macro definitions +MAINDRIVE = G: +USERDRIVE = U: +SERVERNAME = myservername + +@ECHO "Welcome to our network!!!" +NET TIME \\servername /SET /YES +NET USE %MAINDRIVE \\%SERVERNAME\globalshare /YES + +# Map the private user area in the global section so we don't have to +# create individual user entries for each user! +NET USE %USERDRIVE \\servername\%U /YES + +# Group entries, User entries and OS entries each start with the +# keyword followed by a dash followed by--appropriately enough the Group +# name, the User name, or the OS name. +[Group-admin] +@ECHO "Welcome administrators!" +NET USE G: \\servername\adminshare1 /YES +NET USE I: \\servername\adminshare2 /YES + +[Group-peons] +@ECHO "Be grateful we let you use computers!" +NET USE G: \\servername\peonshare1 /YES + +[Group-hackers] +@ECHO "What can I do for you today great one?" +NET USE G: \\servername\hackershare1 /YES +NET USE I: \\servername\adminshare2 /YES + +[User-fred] +@ECHO "Hello there Fred!" +NET USE F: \\servername\fredsspecialshare /YES + +[OS-WfWg] +@ECHO "Time to upgrade isn't it?" + +# End configuration file + +X = Will this break? |