Can anyone help here?
I want my fileserver to be a login controller for a fleet of win98
machines.
All I want is when the users log in in the morning to their machines the
fileserver sends the file startup.bat
which contains this command:
net use x: \\fileserver\group
mapping x drive to the group folder on the fileserver. This script lives
in /home/netlogon/scripts/
I can run the startup.bat file by hand and it works perfectly. For some
reason it does not automatically.
Here is my smb.conf any thoughts would be appreciated.
#======================= Global Settings
=====================================
[global]
workgroup = WORKGROUP
server string = LordandMaster
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = user
password level = 8
username level = 8
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 66
domain master = yes
preferred master = yes
domain logons = yes
dns proxy = no
map to guest = never
null passwords = no
add user script = /usr/sbin/adduser -s /bin/false -g popusers -c
"smb account %u" %u
delete user script = /usr/sbin/deluser %u
dead time = 0
debug level = 9
logon path = \\fileserver\netlogon
logon home = \\fileserver\netlogon
logon script = scripts\startup.bat
wins support = no
preserve case = no
case sensitive = no
short preserve case = no
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
public = no
only user = no
# Un-comment the following and create the netlogon directory for Domain
Logons
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = yes
writable = yes
public = yes
share modes = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = no
writable = no
printable = yes
[Group]
comment = Forms, notices software etc
path = /home/samba/Group
public = yes
writable = yes
printable = no
create mask = 0777
[Production]
comment = Production Files
path = /home/samba/Production
public = yes
writable = yes
printable = no
create mask = 0777
[Devel]
comment = Devel Files
path = /home/samba/Devel
public = yes
writable = yes
printable = no
create mask = 0777
[Content]
comment = Content Group Files
path = /home/samba/Content
public = yes
writable = yes
printable = no
create mask = 0777
[Admin]
comment = Admin Group
path = /home/samba/Admin
public = yes
writable = yes
printable = no
create mask = 0777
[Databases]
comment = Databases
path = /home/samba/Databases
public = yes
writable = yes
printable = no
create mask = 0777
[Finance]
comment = Financials - private
path = /home/samba/Finance
valid users = bmiles mahendrat dominique patrickd
public = yes
writable = yes
printable = no
create mask = 0777
[LostandFound]
comment = Junk to be removed
path = /home/samba/lostandfound
public = yes
writable = yes
printable = no
create mask = 0777