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:\\"
15 logdir = "/home/samba/netlogon"
16 logfile = "UserLogs.txt"
19 sambaconf = "/etc/samba/smb.conf"
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.
31 adm = R:, NETLOGON, Y:, ARCHIVES
32 teachers = S:, RECORDS, X:, SIS
35 hsoffice = N:, HSOFFICE, Q:, COMMON, X:, SIS
36 suoffice = N:, super, Q:, COMMON, X:, SIS
37 emoffice = N:, emOFFICE, Q:, COMMON, X:, SIS
39 yearbook = Y:, yearbook
42 rnance = G:, GHOST, I:, TTL, Y:, ARCHIVES, R:, NETLOGON, X:, SIS
43 lwatts = G:, GHOST, I:, TTL, Y:, ARCHIVES, R:, NETLOGON, X:, SIS
45 2007mbk = Y:, yearbook
46 2008mll = Y:, yearbook
47 2008jtj = Y:, yearbook
48 2007tja = Y:, yearbook
49 2007hms = Y:, yearbook
50 2006dpv = Y:, yearbook
51 2006jwb2 = Y:, yearbook
52 2007npd = Y:, yearbook
53 astewart = Y:, yearbook
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
66 # mymachinegroup = command1,command2
67 # iprangegroup1 = 10.1.2.1 - 10.1.3.1
74 sixthemints = 10.1.5.201 - 10.1.5.215
77 common = "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"
78 sixthemints = "start \\\\10.1.5.20\\printer"