add ntlogon directory and files from 3.0
[kai/samba.git] / examples / ntlogon / ntlogon.conf
1 # Everything in the Global section applies to all users logging on to the
2 # network
3 [Global]
4
5 #Some substitution macro definitions
6 MAINDRIVE = G:
7 USERDRIVE = U:
8 SERVERNAME = myservername
9
10 @ECHO "Welcome to our network!!!"
11 NET TIME \\servername /SET /YES
12 NET USE %MAINDRIVE \\%SERVERNAME\globalshare /YES
13
14 # Map the private user area in the global section so we don't have to
15 # create individual user entries for each user!
16 NET USE %USERDRIVE \\servername\%U /YES
17
18 # Group entries, User entries and OS entries each start with the
19 # keyword followed by a dash followed by--appropriately enough the Group
20 # name, the User name, or the OS name.
21 [Group-admin]
22 @ECHO "Welcome administrators!"
23 NET USE G: \\servername\adminshare1 /YES
24 NET USE I: \\servername\adminshare2 /YES
25
26 [Group-peons]
27 @ECHO "Be grateful we let you use computers!"
28 NET USE G: \\servername\peonshare1 /YES
29
30 [Group-hackers]
31 @ECHO "What can I do for you today great one?"
32 NET USE G: \\servername\hackershare1 /YES
33 NET USE I: \\servername\adminshare2 /YES
34
35 [User-fred]
36 @ECHO "Hello there Fred!"
37 NET USE F: \\servername\fredsspecialshare /YES
38
39 [OS-WfWg]
40 @ECHO "Time to upgrade isn't it?"
41
42 # End configuration file
43
44 X = Will this break?