[Samba] Samba aka PDC and W2k problem

Andrew Khlebutin andrey at hm.perm.ru
Sat Sep 14 14:36:00 GMT 2002


I  have  Samba  2.2.5  installed  as a domain controller and there are
around  ten PCs(Win2k sp2 and 3) in this domain. Everything works fine
and recently I tried to add two extra PCs in this domain, but Win2k PC
generates  an  error  message  saying  "The  following  error occurred
attempting  to  join the domain "hm": No mapping between account names
and security IDs was done".

As  usual  I  added  those  PCs as Machine Trust Account'ed into samba
passwd  file  by  executing  "smbpasswd  -a  -m alex" so now there are
records for _each_ PC in the /usr/local/private/smbpasswd file:
=========================cut smbpasswd================================
alex$:20002:19ABB5C851CE7A54AAD3B435B51404EE:FD5117F72B251C2CB9A7A6669B8BD0A6:[W          ]:LCT-3D8301DF
andrew$:20000:7733BFECC3A7D081AAD3B435B51404EE:651DE33D6CDF9231B43056FF7071601F:[W          ]:LCT-3D8301B7:
=========================cut smbpasswd================================

To  avoid any possible problems I recreated Machine Trust Account's in
system  /etc/passwd and smbpasswd files. Though I did everything alike
the previous PCs added into domain these new PCs(win2ksp3) didn't want
to join the domain :(.

If  I leave these PCs in the workgroup with the same name as my domain
name  not  adding  them  into  domain  WINS  name resolution continues
working  and  ping'ing  any  PCs  in the domain by their NetBIOS names
works just fine. Network browsing is still working.

Also  I  looked  into these PCs Win2k log files and I saw no errors at
all ...

Are there any ideas of what I'm doing wrong and what I have to do?

P.S:  FreeBSD  4.7-PRERELEASE  #0:  Tue  Sep  3  19:31:22  YEKST 2002,
samba updated up to 2.2.6.p2.

Best regards,
Andrew Khlebutin

=======================cat smb.conf==================================
    netbios name = hmserv
    workgroup = hm
    server string = PDC
    os level = 65
    preferred master = yes
    domain master = yes
    local master = yes
    wins support = yes
    dns proxy = yes
    security = domain
    encrypt passwords = yes
    domain logons = yes
    enhanced browsing = yes
=======================cat smb.conf==================================

More information about the samba mailing list