I have a samba server (Fedora 9) that has been working fine for the past six months as a standalone server. Recently I decided to upgraded it to a Primary Domain Controller (PDC)
Everything is working fine. I was able to add all the machines to the domain. I was also able to log all users into the domain. Everyone has been assigned their logon drive. The only problem is with the netlogon share, the login scripts are not running automatically. You can, however, navigate to the netlogon share and execute the scripts manually.
Currently my short term solution consist of a shortcut to the netlogon script in the Start Menu, startup folder. The only problem with this is that whenever user log on for the first time to the domain on a given machine, I have to manually create the shortcut, which sometimes can be an inconvenience.
I have been yahooin, googleing, linuxquestioning, fedora foruming, etc. to no avail. Any help on this will be greatly appreciated.
My smb.conf file is as follows:
Code:
[global]
workgroup = CITYHALL
server string = Fedora 9
passdb backend = tdbsam
lanman auth = Yes
client lanman auth = Yes
log file = /var/log/samba/log.%m
max log size = 50
add user script = /usr/sbin/useradd "%u" -n -g users
delete user script = /usr/sbin/userdel "%u"
add group script = /usr/sbin/groupadd "%g"
delete group script = /usr/sbin/groupdel "%g"
delete user from group script = /usr/sbin/userdel "%u" "%g"
add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
logon script = %u.bat
logon path =
logon drive = H:
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
cups options = raw
[public]
comment = Common Folder
path = /oglala/Public
valid users = @office
read only = No
force create mode = 0777
force directory mode = 0777
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
share modes = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No