[Samba] ANSWER: my experiences with PDC
Szanto Peter
szanto-peter at observer.hu
Tue Feb 11 09:59:37 GMT 2003
So here comes a fully functional skeleton for win2K,9x,NT, without ldap,
pam, etc
I got the problem with the nmbd restarting (wins forget the netbios names).
Samba PDC instant guide by skylark
(Samba PDC HOWTO, Using Samba as PDC by IBM DeveloperWorks)
smb.conf:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
[global]
workgroup = skynet
netbios name = skybox
server string = Skybox (%v)
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
os level = 64
preferred master = yes
local master = yes
domain master = yes
security = user
encrypt passwords = yes
domain logon = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
logon home = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
logon script = netlogon.bat
add user script = useradd -d /dev/null -g pdc_machines -s /bin/false -M %u
unix password sync = yes
passwd program = passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*passwd: *all*authetication*tokens*updated*successfully*
[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[netlogon]
path = /home/netlogon
read only = yes
write list = szabop skylark
[homes]
comment = Home Directories
browseable = no
writeable = yes
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
group -g 200 pdc_admins
group -g 201 pdc_machines
mkdir -m 0775 /home/netlogon
chown root.pdc_admins /home/netlogon
mkdir /home/samba /home/samba/profiles
chmod 1757 /home/samba/profiles
useradd domainuser
passwd domainuser (xxx)
smbpasswd -a domainuser (xxx)
More information about the samba
mailing list