[Samba] 2.2.7a logon script will not run

Rich Forman rforman at grayassociates.net
Sun Feb 23 20:07:24 GMT 2003


I just tried upgrading from 2.2.3 to 2.2.7a on my PDC (2.2.17 kernel).  The
logon script that I have been using all along without any problems quits
executing w/ 2.2.7a.  I can manually map the netlogon share after logging in
and manually run the script and everything work fine.  No error messages
appear in the log files.  My smb.conf file is included.  Don't know quite
where to go with this one.  Any suggestion would help.  All client machines
are NT4 or W2K.  Thanks in advance.

[global]

#Server Parameters
netbios name = SERVER
server string = Samba %v

#Domain Parameters
workgroup = GRAY1
encrypt passwords = yes
domain logons = yes
os level = 65
preferred master = true
domain master = true
guest ok = yes
domain admin group = @adm
# domain admin users = rich andy
add user script = /usr/sbin/adduser -n -g machines -c NTMachine -d
/dev/null -s /bin/false %m$
time server = yes

# Set to use local profiles
logon script = scripts\logon.bat
logon home =
logon drive =
logon path =

# Name Server Support
wins support = yes
name resolve order = wins hosts lmhosts bcast

# Security Options
security = user
bind interfaces only = yes
interfaces = 192.168.100.1/255.255.255.0 127.0.0.1
hosts allow = 192.168.100.

# Debuggin Information
log level = 1
log file = /var/log/samba/%m.log
max log size = 50
debug timestamp = yes

# Performance Tweaks
getwd cache = yes
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
IPTOS_LOWDELAY
dead time = 15
keep alive = 60
# lpq cache = 30

# Printing
printer admin = root, rich, @adm
printcap name = /etc/printcap
load printers = yes

[homes]
comment = Home Directories
browsable = no
writeable = yes
read only = no
#create mode = 0777

[netlogon]
path = /usr/local/samba/netlogon
browsable = no
writeable = yes
guest ok = no
valid users = @users @adm @sec
create mask = 777
directory mask = 777
inherit permissions = yes



More information about the samba mailing list