smbclient -k //debian5/sharedir can not work with a trusted domain user

jinyunshuai jinyunshuai at
Tue Jun 21 08:40:19 MDT 2011

Hi ,
I have a problem:
I have two domains which trusted each other(samba1.test, samba2.test)
1) the samba server(host name is debian5) joined to samba1,  and login with samba2's user.
2)run "smbclient -k  //debian5/sharedir "  , it is failed and get follows error message:
ads_krb5_mk_req: smb_krb5_get_credentials failed forcifs/debian5 at SAMBA2.TEST (Server not found in Kerberos database)
cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: Server not found in Kerberos database
session setup failed: SUCCESS - 0
I  have tested on samba-3.5.8 with above steps, that did not have this issue.
is it an intentional change? or new bug?

thanks in advance!

More information about the samba-technical mailing list