Avec ce fichier smb.conf j'arrive à intégrer mes stations Windows 2000 SP2 à mon domaine COMMUN, sans aucune modif sur les postes W2K, et avec Samba 2.2.1a:
-----------
[global]
netbios name = W
workgroup = COMMUN
server string = Serveur Linux - Mandrake 7.0
security = user
hosts allow = 127. 192.168.
interfaces = eth0 cipcb*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote browse sync = 192.168.0.255 192.168.2.255 192.168.100.255
remote announce = 192.168.0.255 192.168.2.255 192.168.100.255
log file = /opt/samba/var/log.%m
max log size = 50
domain master = yes
local master = yes
preferred master = yes
os level = 65
encrypt passwords = yes
domain logons = yes
logon path = \\%N\profiles\%u
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
domain admin group = albator root
wins support = yes
[netlogon]
path = /opt/samba/lib/netlogon
writeable = no
write liste = ntadmin
[profiles]
path = /opt/samba/ntprofile
writeable = yes
create mask = 0600
directory mask = 0700
[tmp]
path = /tmp
public = yes
writable = yes
--------------------------
Les lignes indispensables ou très utiles sont:
netbios name
workgroup
security
domain master
local master
preferred master
os level
encrypt passwords
domain logons
logon path
add user script
domain admin group
ainsi que les partages [netlogon] et [profiles].
Dans les sources de samba, tu as une doc:
docs/htmldocs/Samba-PDC-HOWTO.html
Bon courage !