Logon scripts w/samba

Gerry Maddock gerrym at futuremetals.com
Mon Dec 13 18:58:33 GMT 1999


I have a logon script for windows clients to preform net time w/my samba
server when they logon. The script is called gerry.bat and it is located
in the logon directory.
But, when any user logs on.... The script is never called. I've attached
my smb.conf file. (by the way Im running RH6.0 on an AMD K-7 w/Samba
2.0.5a. THANKS IN ADVANCE!!!!
# Samba config file created using SWAT
# from 10.1.1.12 (10.1.1.12)
# Date: 1999/12/13 09:04:27

# Global parameters
 netbios name = PENGUIN
 encrypt passwords = Yes
 smb passwd file = /usr/local/samba/bin/smbpasswd
 syslog only = Yes
 log file = /usr/local/samba/lib/samba.log.%m
 time server = Yes
 domain groups = adm
 domain admin group = adm
 domain admin users = root
 logon script = gerry.bat
 domain logons = Yes
 os level = 33
 preferred master = Yes
 domain master = Yes
 admin users = root
 dos filetimes = Yes
 dos filetime resolution = Yes
 fake directory create times = Yes

[confid]
 path = /fmit/confid
 valid users = @IT
 write list = @IT
 force group = @IT
 read only = No
 create mask = 0777
 directory mask = 0777

[alriddle]
 path = /b/alriddle
 valid users = @IT, @ariddle
 write list = @IT, ariddle
 force user = ariddle
 force group = @ariddle
 read only = No
 create mask = 0777
 directory mask = 0777

[barbarah]
 path = /b/barbarah
 valid users = @IT, @barbarah
 write list = @IT, barbarah
 force user = barbarah
 force group = @barbarah
 read only = No
 create mask = 0777
 directory mask = 0777

[bethe]
 path = /b/bethe
 valid users = @IT, @bethe
 write list = @IT, bethe
 force user = bethe
 force group = @bethe
 read only = No
 create mask = 0777
 directory mask = 0777

[bholl]
 path = /b/bholl
 valid users = @IT, @bholl
 write list = @IT, bholl
 force user = bholl
 force group = @bholl
 read only = No
 create mask = 0777
 directory mask = 0777

[cgetan]
 path = /b/cgetan
 valid users = @IT, @carmens
 write list = @IT, carmens
 force user = carmens
 force group = @carmens
 read only = No
 create mask = 0777
 directory mask = 0777

[charl]
 path = /b/charl
 valid users = @IT, @charl
 write list = @IT, charl
 force user = charl
 force group = @charl
 read only = No
 create mask = 0777
 directory mask = 0777

[cliffb]
 path = /b/cliffb
 valid users = @IT
 write list = @IT
 force user = cliffb
 force group = @cliffb
 read only = No
 create mask = 0777
 directory mask = 0777

[crislev]
 path = /b/crislev
 valid users = @IT, @crislev
 write list = @IT, crislev
 force user = crislev
 force group = @crislev
 read only = No
 create mask = 0777
 directory mask = 0777

[debbiep]
 path = /b/debbiep
 valid users = @IT, @debbiep
 write list = @IT, debbiep
 force user = debbiep
 force group = @debbiep
 read only = No
 create mask = 0777
 directory mask = 0777

[delphias]
 path = /b/delphias
 valid users = @IT
 write list = @IT
 force user = delphias
 force group = @delphias
 read only = No
 create mask = 0777
 directory mask = 0777

[donurs]
 path = /b/donurs
 valid users = @IT, @donurs
 write list = @IT, donurs
 force user = donurs
 force group = @donurs
 read only = No
 create mask = 0777
 directory mask = 0777

[gailb]
 path = /b/gailb
 valid users = @IT, @gailb
 write list = @IT, gailb
 force user = gailb
 force group = @gailb
 read only = No
 create mask = 0777
 directory mask = 0777

[gailk]
 path = /b/gailk
 valid users = @IT, @gailk
 write list = @IT, gailk
 force user = gailk
 force group = @ gailk
 read only = No
 create mask = 0777
 directory mask = 0777

[gerrym]
 path = /b/gerrym
 valid users = @IT
 write list = @IT
 force user = gerrym
 force group = @gerrym
 read only = No
 create mask = 0777
 directory mask = 0777

[hmaxwell]
 path = /b/hmaxwell
 valid users = @IT, @hmaxwell
 write list = @IT, hmaxwell
 force user = hmaxwell
 force group = @hmaxwell
 read only = No
 create mask = 0777
 directory mask = 0777

[isadq]
 path = /b/isadq
 valid users = @IT, @isadq
 write list = @IT, isadq
 force user = isadq
 force group = @isadq
 read only = No
 create mask = 0777
 directory mask = 0777

[jalfonso]
 path = /b/jalfonso
 valid users = @IT, @jalfonso
 write list = @IT, jalfonso
 force user = jalfonso
 force group = @jalfonso
 read only = No
 create mask = 0777
 directory mask = 0777

[jeniferm]
 path = /b/jeniferm
 valid users = @IT, @jeniferm
 write list = @IT, jeniferm
 force user = jeniferm
 force group = @jeniferm
 read only = No
 create mask = 0777
 directory mask = 0777

[joanb]
 path = /b/joanb
 valid users = @IT, @joanb
 write list = @IT, joanb
 force user = joanb
 force group = @joanb
 read only = No
 create mask = 0777
 directory mask = 0777

[johnn]
 path = /b/johnn
 valid users = @IT, @johnn
 write list = @IT, johnn
 force user = johnn
 force group = @johnn
 read only = No
 create mask = 0777
 directory mask = 0777

[johno]
 path = /b/johno
 valid users = @IT, @johno
 write list = @IT, johno
 force user = johno
 force group = @johno
 read only = No
 create mask = 0777
 directory mask = 0777

[johnp]
 path = /b/johnp
 valid users = @IT, @johnp
 write list = @IT, johnp
 force user = johnp
 force group = @johnp
 read only = No
 create mask = 0777
 directory mask = 0777

[jorger]
 path = /b/jorger
 valid users = @IT, @jorger
 write list = @IT, jorger
 force user = jorger
 force group = @jorger
 read only = No
 create mask = 0777
 directory mask = 0777

[kenp]
 path = /b/kenp
 valid users = @IT, @kenp
 write list = kenp, @IT
 force user = kenp
 force group = kenp
 read only = No
 create mask = 0777
 directory mask = 0777

[leeg]
 path = /b/leeg
 valid users = @IT, @leeg
 write list = @IT, leeg
 force user = leeg
 force group = @leeg
 read only = No
 create mask = 0777
 directory mask = 0777

[luisb]
 path = /b/luisb
 valid users = @IT, luisb
 write list = @IT, luisb
 force user = luisb
 force group = @luisb
 read only = No
 create mask = 0777
 directory mask = 0777

[marias]
 path = /b/marias
 valid users = @IT, marias
 write list = @IT, marias
 force user = marias
 force group = @marias
 read only = No
 create mask = 0777
 directory mask = 0777

[maureenr]
 path = /b/maureenr
 valid users = @IT, maureenr
 write list = @IT, maureenr
 force user = maureenr
 force group = @maureenr
 read only = No
 create mask = 0777
 directory mask = 0777

[mfineo]
 path = /b/mfineo
 valid users = @IT, mfineo
 write list = @IT, mfineo
 force user = mfineo
 force group = @mfineo
 read only = No
 create mask = 0777
 directory mask = 0777

[nancyc]
 path = /b/nancyc
 valid users = @IT, nancyc
 write list = @IT, nancyc
 force user = nancyc
 force group = @nancyc
 read only = No
 create mask = 0777
 directory mask = 0777

[oliviao]
 path = /b/oliviao
 valid users = @IT, oliviao
 write list = @IT, oliviao
 force user = oliviao
 force group = @oliviao
 read only = No
 create mask = 0777
 directory mask = 0777

[patricef]
 path = /b/patricef
 valid users = @IT
 write list = @IT
 force user = patricef
 force group = @patricef
 read only = No
 create mask = 0777
 directory mask = 0777

[petek]
 path = /b/petek
 valid users = @IT, petek
 write list = @IT, petek
 force user = petek
 force group = @petek
 read only = No
 create mask = 0777
 directory mask = 0777

[rdeason]
 path = /b/rdeason
 valid users = @IT, rdeason
 write list = @IT, rdeason
 force user = rdeason
 force group = @rdeason
 read only = No
 create mask = 0777
 directory mask = 0777

[rods]
 path = /b/rods
 valid users = @IT, rods
 write list = @IT, rods
 force user = rods
 force group = @rods
 read only = No
 create mask = 0777
 directory mask = 0777

[rolandg]
 path = /b/rolandg
 valid users = @IT, rolandg
 write list = @IT, rolandg
 force user = rolandg
 force group = @rolandg
 read only = No
 create mask = 0777
 directory mask = 0777

[rosad]
 path = /b/rosad
 valid users = @IT, rosad
 write list = @IT, rosad
 force user = rosad
 force group = @rosad
 read only = No
 create mask = 0777
 directory mask = 0777

[russh]
 path = /b/russh
 valid users = @IT, russh
 write list = @IT, russh
 force user = russh
 force group = @russh
 read only = No
 create mask = 0777
 directory mask = 0777

[rwalters]
 path = /b/rwalters
 valid users = @IT, rwalters
 write list = @IT, rwalters
 force user = rwalters
 force group = @rwalters
 read only = No
 create mask = 0777
 directory mask = 0777

[sharont]
 path = /b/sharont
 valid users = @IT, sharont
 write list = @IT, sharont
 force user = sharont
 force group = @sharont
 read only = No
 create mask = 0777
 directory mask = 0777

[sharonw]
 path = /b/sharonw
 valid users = @IT, sharonw
 write list = @IT, sharonw
 force user = sharonw
 force group = @sharonw
 read only = No
 create mask = 0777
 directory mask = 0777

[commodore]
 path = /b/commodore
 valid users = @sales, at IT
 admin users = gerrym, cliffb, delphias, patricef
 write list = @sales, @IT
 force user = @sales
 force group = @sales
 read only = No
 create mask = 0777
 directory mask = 0777

[scratch]
 path = /b/scratch
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh, at barbarah, at joanb

 write list =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh

 read only = No
 create mask = 0777
 directory mask = 0777

[PTRImages]
 path = /tr/TRImages
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh, at barbarah, at joanb

 force group = @IT
 read only = No
 create mask = 0777
 directory mask = 0777
 strict locking = Yes

[PTRData]
 path = /tr/TRData
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh, at barbarah, at joanb

 force group = @IT
 read only = No
 create mask = 0777
 directory mask = 0777
 strict locking = Yes

[creditx]
 path = /b/creditx
 valid users = @IT, @credit
 write list = @IT, @credit
 force user = @credit
 force group = @credit
 read only = No
 create mask = 0777
 directory mask = 0777

[Disk_Img]
 path = /b/Disk_Img
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh, at barbarah, at joanb

 write list = @IT
 force user = @IT
 force group = @IT
 read only = No
 create mask = 0777
 directory mask = 0777

[docs]
 path = /b/docs
 guest account = guest
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh, at barbarah, at joanb

 write list = @IT
 force user = @IT
 force group = @IT
 create mask = 0777
 directory mask = 0777

[iso9000]
 path = /b/iso9000
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh, at barbarah, at joanb

 write list = @QA, @IT
 force group = @IT
 read only = No
 create mask = 0777
 directory mask = 0777

[international]
 path = /b/international
 valid users = @IT, at intsales
 write list = @IT, at intsales
 force group = @intsales
 read only = No
 create mask = 0777
 directory mask = 0777

[SLOGS]
 path = /usr/local/samba/lib
 valid users = @IT
 admin users = root, at IT
 write list = @IT
 force user = root
 force group = @IT
 read only = No

[robertb]
 path = /b/robertb
 valid users = @IT, at robertb
 write list = @IT, at robertb
 force user = robertb
 force group = @robertb
 create mask = 0777
 directory mask = 0777

[netlogon]
 path = /b/logon
 browseable = No

[swdev]
 path = /b/swdev
 guest account =
 valid users =
@IT, at robertb, at rolandg, at isadq, at sales, at intsales, at credit, at QA, at deptheads, at data, at wh

 write list = @IT
 force group = @IT
 read only = No
 create mask = 0777
 directory mask = 0777
 status = No





More information about the samba mailing list