[Samba] Error join Samba: error setting trust account password

Fernando Xavier fernando.xavier at gmail.com
Sat Apr 12 15:28:15 GMT 2008


I'm trying join client in samba server. But, get this error:

[2008/04/12 12:18:53, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(304)
  error setting trust account password: NT code 0x1c010002
Unable to join domain PDCSERVER.

The password is correct (when i type wrong password the error message
changes) and my network is:

- Client: 192.168.0.X
- PDC Server:
- Wireless Router: (wan port)

If i type the command net rpc testjoin

[2008/04/12 12:24:57, 0] rpc_client/cli_pipe.c:get_schannel_session_key(2449)
  get_schannel_session_key: could not fetch trust account password for
domain 'PDCSERVER'
[2008/04/12 12:24:57, 0] utils/net_rpc_join.c:net_rpc_join_ok(70)
  net_rpc_join_ok: failed to get schannel session key from server
SERVIDOR1 for domain PDCSERVER. Error was
Join to domain 'PDCSERVER' is not valid

Any idea?



==========Configuration files=============

Client smb.conf

workgroup = PDCSERVER
netbios name = julio
winbind use default domain = yes
obey pam restrictions = yes
security = DOMAIN
password server = (already tried "PDCSERVER" too)
encrypt passwords = true
wins server =
winbind uid = 10000-20000
winbind gid = 10000-20000
template shell = /bin/bash
template homedir = /home/%U
winbind separator = +
printing = cups
invalid users = teste

Server smb.conf

workgroup = PDCSERVER
netbios name = SERVIDOR1
netbios aliases = servidor1
server string = SERVIDOR1
domain master = Yes
preferred master = Yes
local master = yes
domain logons = yes
logon script = netlogon.bat
logon home = \\%L\%U\.profiles
#logon path = \\%L\profiles\%U
logon path =
security = user
encrypt passwords = yes
os level = 100
wins support = yes
logon drive = H:

More information about the samba mailing list