LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   net rpc join failed in samba 3.4.5.unable to setup creds (NT_STATUS_ACCESS_DENIED (https://www.linuxquestions.org/questions/linux-server-73/net-rpc-join-failed-in-samba-3-4-5-unable-to-setup-creds-nt_status_access_denied-787556/)

annadaprasana 02-07-2010 06:31 AM

net rpc join failed in samba 3.4.5.unable to setup creds (NT_STATUS_ACCESS_DENIED
 


Hi experts,

I am using samba-3.4.5.I am trying for join samba server[on linux] to domain controller[windows2003], with security=domain in smb.conf.

net rpc join -U Administrator%MyPassword
But it fails with following debug messages.

rpccli_netlogon_set_trust_password: unable to setup creds (NT_STATUS_ACCESS_DENIED) !

rpc command function failed ! (NT_STATUS_ACCESS_DENIED)

......

get_schannel_session_key: could not fetch trust account password for domain 'MYDOMAIN'

net_rpc_join_ok: failed to get schannel session key for server MYSERVER for domain MYDOMAIN. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO.

unable to join domain MYDOMAIN

return code = -1.

Can you please help , where is the problem.

Thanks
Annada

acid_kewpie 02-08-2010 03:40 PM

Not a networking question. Moved to Linux - Server.

annadaprasana 02-10-2010 11:01 PM



Hi,

I could able to see the machine password in secrets.tdb is in different offset, where as it looks in different offset. So this fails with get_trust_pw_clear: could not fetch clear text trust account password for domain <mydomain>. I am trying with other old samba releases also, but all gives this error. Any idea would be appreciated.

Thanks

Annada


All times are GMT -5. The time now is 06:00 PM.