Hi,
I am trying to execute a logon script when a user access the domain. For
some reason the following is not executing. I don't want to enable
roaming profiles so I have set 'logon home' and logon path' to null
- I
thought perhaps that this was causing a problem; but it hasn't made a
difference. I also verified that my logon.bat is a DOS formatted file.
Here's my smb.conf (FC4, Samba 3.0.14a):
# Global parameters
[global]
unix charset = LOCALE
workgroup = STRATA-G
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend = ldapsam:ldap://sg-pdc.strata-g.com
enable privileges = Yes
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 137 138 139 445
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
add user script = /opt/IDEALX/sbin/smbldap-useradd -m "%u"
delete user script = /opt/IDEALX/sbin/smbldap-userdel "%u"
add group script = /opt/IDEALX/sbin/smbldap-groupadd -p "%g"
delete group script = /opt/IDEALX/sbin/smbldap-groupdel "%g"
add user to group script = /opt/IDEALX/sbin/smbldap-groupmod -m "%u"
"%g"
delete user from group script = /opt/IDEALX/sbin/smbldap-groupmod -x
"%u" "%g"
set primary group script = /opt/IDEALX/sbin/smbldap-usermod -g "%g"
"%u"
add machine script = /opt/IDEALX/sbin/smbldap-useradd -w "%u"
logon script = scripts\logon.bat
logon path logon drive = Z:
logon home domain logons = Yes
preferred master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=strata-g,dc=com
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=People
ldap suffix = dc=strata-g,dc=com
ldap user suffix = ou=People
idmap backend = ldap:ldap://sg-pdc.strata-g.com
idmap uid = 10000-20000
idmap gid = 10000-20000
printer admin = root, chrisr
map acl inherit = Yes
[homes]
comment = %U Home Directory
path = /mnt/home/%U
valid users = %S
read only = No
browseable = No
[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root, chrisr
Am I missing something really elementary??!
thanks,
-c.