source: branches/samba-3.0/examples/logon/mklogon/mklogon.conf

Last change on this file was 1, checked in by Paul Smedley, 19 years ago

Initial code import

File size: 2.8 KB
Line 
1# Mapping should be kept in the form
2# username(USER) or groupname(WEBUSERS) = driveletter (W:), samba share name (WEB)
3# ie. user = W:,WEB or webusers = W:,WEB
4# Problem found when testing, if there is a duplicate entry only the last one is used,
5# not the first or both, another problem is that when testing I found a bug in Config::Simple, if you have a tab
6# infront of your # on a comment it breaks ...
7# logging = yes # Should Logging be enabled (YES,ON,1 or NO,OFF,0)(if not specified defaults to no)
8# logdir = "/root/perl" # What is the base directory the logs should be stored.
9# logfile = "userlist.txt" # What should the file be named.
10# VERY IMPORTANT anything that has a "\" (backslash) in it ex. "C:\" MUST be changed to a double "\\" for
11# it to be used in the script. ex. "C:\\"
12
13[global]
14logging = yes
15logdir = "/home/samba/netlogon"
16logfile = "UserLogs.txt"
17mkprofile = 1
18timesync = yes
19sambaconf = "/etc/samba/smb.conf"
20logtype = file
21
22# Change and uncomment the below value to force the servername, some clients ocassionally
23# have trouble picking up the right servername so it may need to be set. It CANNOT be left blank AND uncommented.
24servername = "TIGER"
25
26[common]
27public = P:, public
28home = H:, /home
29
30[groupmap]
31adm = R:, NETLOGON, Y:, ARCHIVES
32teachers = S:, RECORDS, X:, SIS
33plato = T:, PLATO
34webpage = W:, WEB
35hsoffice = N:, HSOFFICE, Q:, COMMON, X:, SIS
36suoffice = N:, super, Q:, COMMON, X:, SIS
37emoffice = N:, emOFFICE, Q:, COMMON, X:, SIS
38tech = O:, utils
39yearbook = Y:, yearbook
40
41[usermap]
42rnance = G:, GHOST, I:, TTL, Y:, ARCHIVES, R:, NETLOGON, X:, SIS
43lwatts = G:, GHOST, I:, TTL, Y:, ARCHIVES, R:, NETLOGON, X:, SIS
44droot = U:, stuhomes
452007mbk = Y:, yearbook
462008mll = Y:, yearbook
472008jtj = Y:, yearbook
482007tja = Y:, yearbook
492007hms = Y:, yearbook
502006dpv = Y:, yearbook
512006jwb2 = Y:, yearbook
522007npd = Y:, yearbook
53astewart = Y:, yearbook
54
55
56
57# Here is where things get confusing, you can assign a computer, or make a group of computers.
58# The same context will go for ip address's as well, however you can also specify ip ranges,
59# but I have not yet figured out how to do multiple ranges.
60# Use the following examples for help.
61# To define a single computer to do commands
62# mymachinename = command1, command2
63# To define a group of computers to do commands
64# mymachinegroup = machinename1, machinename2
65# [performcommands]
66# mymachinegroup = command1,command2
67# iprangegroup1 = 10.1.2.1 - 10.1.3.1
68
69
70
71[machines]
72
73[ip]
74sixthemints = 10.1.5.201 - 10.1.5.215
75
76[performcommands]
77common = "XCOPY P:\\TYPEN32.INI C:\\WINDOWS\\ /Y \>NUL", "XCOPY P:\\ARPROGRAMS\\DBLOCATION\\\*\.\* C:\\WINDOWS\\ /Y \>NUL", "XCOPY P:\\EMACTIVITIES\\EMGAMESPREFS.INI C:\\WINDOWS\\ /Y \>NUL", "PATH\=\%PATH\%;p:\\PXPerl\parrot\\bin;p:\\PXPerl\\bin"
78sixthemints = "start \\\\10.1.5.20\\printer"
Note: See TracBrowser for help on using the repository browser.