Darin Bawden
2003-Feb-24 14:16 UTC
[Samba] RE: 2.2.7a logon script will not run (Rich Forman)
Rich, Within the past 6 or 8 months, I to have upgraded my Samba to 2.2.7a. My Conf file is similar to yours, except for your script path. What I have is a global parameter of "logon script=" and then a [netlogon] share for the script path. with that setup, I'm able to map drivers, set the time, run liveupdate automatically and run "Automatic Updates" on my W2K machines. Hope this helps (I'm still new to a lot of this) Darin Bawden -----Original Message----- Date: Sun, 23 Feb 2003 12:07:24 -0800 From: "Rich Forman" <rforman@grayassociates.net> To: <samba@lists.samba.org> Subject: [Samba] 2.2.7a logon script will not run Message-ID: <000001c2db77$2eed25c0$1264a8c0@forman> In-Reply-To: <20030223120044.EAB002C073@lists.samba.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: list Message: 5 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 7security = 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