Samba/NT authentification or trust account prob.

Cyriac REMY remy at
Thu Apr 29 11:17:09 GMT 1999


Well.... I need help to do smthing with Samba 2.0.3-19990228

Let me explain... Ive two servers : one NT and one Linux... Each servers
control one domain :
==> NT server  MYNT : control DOM1
==> Lin. server  MYLIN : control DOM2

when I configure smb.conf like other classics smb.conf files, I can see
my server on network
explorer on my NT workstation named NTWKS (global network ==> two
domains DOM1 and
DOM2 and when I clic on DOM2, I can see MYLIN and I can connect and see
shared directories)

Ok but now I want to switch NTWKS from DOM1 to DOM2, ssssoooo I go to
network config in
control panel and clic on domain radio button and type DOM2 and I see a
message like :
be sure your computer has an account on this domain (Im french, so Ive
french message but it's
smthing like that) but Ive created an account for NTWKS on MYLIN with
adduser NTWKS$ and smbpasswd -a -m NTWKS.... ?!?!?

And I see on my log file :

[1999/04/27 15:17:28, 5] passdb/smbpass.c:getsmbfilepwent(258)
  getsmbfilepwent: returning passwd entry for user  NTWKS$, uid 506
[1999/04/27 15:17:28, 10] passdb/passdb.c:iterate_getsmbpwnam(156)
  found by name: NTWKS$
[1999/04/27 15:17:28, 7] passdb/smbpass.c:endsmbfilepwent(81)
  endsmbfilepwent: closed password file.
[1999/04/27 15:17:28, 4] smbd/password.c:smb_password_ok(400)
  Checking SMB password for user NTWKS$
[1999/04/27 15:17:28, 5] smbd/password.c:smb_password_ok(410)
  use last SMBnegprot challenge
[1999/04/27 15:17:28, 4] smbd/password.c:smb_password_ok(427)
  smb_password_ok: Checking NT MD4 password
[1999/04/27 15:17:28, 4] smbd/password.c:smb_password_ok(431)
  NT MD4 password check succeeded
[1999/04/27 15:17:28, 4] smbd/reply.c:session_trust_account(439)
  session_trust_account: Wksta trust account NTWKS$ denied by server
[1999/04/27 15:17:28, 3] smbd/error.c:error_packet(127)

So what happend ?????

At last, I want to add DOM2 in the login NT Box to let users choose
between the two domains...

Can you help me ??? :)  Thanks

Cyriac REMY
remy at

More information about the samba mailing list