[Samba] Please assist in examination my samba log

Andrew Khlebutin andrey at hm.perm.ru
Wed Sep 18 14:44:01 GMT 2002


Hello,

I  have 2.2.6.p2 installed as a PDC 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 -am hm3" so now there are records
for _each_ PC in the /usr/local/private/smbpasswd file:
=========================cut smbpasswd================================
...
hm3$:20006:66FD7474B2A116C1AAD3B435B51404EE:6761A1A8AE44999D976C26FCCEDDC0E1:[W          ]:LCT-3D886D4D:
...
=========================cut smbpasswd================================

I  tried  to localize the problem by examining samba logs (log level =
10), but I couldn't :-(.

I have not found any errors except this one:
[2002/09/18 18:45:40, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain HM

What can cause this problem?
Are there any ideas of how can I localize the problem?

P.S:  FreeBSD  4.7-PRERELEASE  #0:  Tue  Sep  3  19:31:22  YEKST 2002,

Full log of joining a PC to the domain can be found here
http://hm.perm.ru/Andrew/log.hm3.bz2, size 17894. 
============================log.hm3==================================
[2002/09/18 18:45:35, 3] smbd/negprot.c:reply_negprot(426)
  Selected protocol NT LM 0.12
...
[2002/09/18 18:45:40, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2002/09/18 18:45:40, 3] smbd/reply.c:reply_sesssetup_and_X(858)
  Domain=[hm]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2002/09/18 18:45:40, 3] smbd/reply.c:reply_sesssetup_and_X(868)
  sesssetupX:name=[root]
[2002/09/18 18:45:40, 6] param/loadparm.c:lp_file_list_changed(2285)
  lp_file_list_changed()
  file /usr/local/etc/smb.conf -> /usr/local/etc/smb.conf  last mod_time: Wed Sep 18 18:35:18 2002

[2002/09/18 18:45:40, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain HM
[2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1344)
  pdb_getsampwnam: search by name: root
[2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(167)
  startsmbfilepwent_internal: opening file /usr/local/private/smbpasswd
[2002/09/18 18:45:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(436)
  getsmbfilepwent: returning passwd entry for user root, uid 0
[2002/09/18 18:45:40, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(256)
  endsmbfilepwent_internal: closed password file.
[2002/09/18 18:45:40, 10] passdb/pdb_smbpasswd.c:pdb_getsampwnam(1386)
  pdb_getsampwnam: found by name: root
[2002/09/18 18:45:40, 4] smbd/password.c:smb_password_ok(475)
  smb_password_ok: Checking SMB password for user root
[2002/09/18 18:45:40, 5] smbd/password.c:smb_password_ok(489)
  smb_password_ok: challenge received
[2002/09/18 18:45:40, 4] smbd/password.c:smb_password_ok(499)
  smb_password_ok: Checking NT MD4 password
[2002/09/18 18:45:40, 4] smbd/password.c:smb_password_ok(501)
  smb_password_ok: NT MD4 password check succeeded
[2002/09/18 18:45:40, 7] param/loadparm.c:lp_servicenumber(3581)
  lp_servicenumber: couldn't find root
[2002/09/18 18:45:40, 7] param/loadparm.c:lp_servicenumber(3581)
  lp_servicenumber: couldn't find root
============================log.hm3==================================

-- 
Best regards,
Andrew Khlebutin




More information about the samba mailing list