summaryrefslogtreecommitdiff
path: root/examples/logon/ntlogon/ntlogon.conf
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-07-12 16:34:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:59:56 -0500
commitb99ae5137471fad034dc7e98bc60cd2dc893b631 (patch)
treef1307088838e9490b1ed7a4e04f4eb8d9e330839 /examples/logon/ntlogon/ntlogon.conf
parentcfda53db8b22c7afbfae848506258f13ead041bf (diff)
downloadsamba-b99ae5137471fad034dc7e98bc60cd2dc893b631.tar.gz
samba-b99ae5137471fad034dc7e98bc60cd2dc893b631.tar.bz2
samba-b99ae5137471fad034dc7e98bc60cd2dc893b631.zip
r8384: merging clutter fixes from release branch
(This used to be commit cbe74c09109dcfe93aa4af085920999ccbff34df)
Diffstat (limited to 'examples/logon/ntlogon/ntlogon.conf')
-rw-r--r--examples/logon/ntlogon/ntlogon.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/logon/ntlogon/ntlogon.conf b/examples/logon/ntlogon/ntlogon.conf
new file mode 100644
index 0000000000..e1573a6118
--- /dev/null
+++ b/examples/logon/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?