[Samba] Trouble of setting samba with join AD

Rowland Penny rowlandpenny at googlemail.com
Thu Apr 2 02:17:39 MDT 2015


On 02/04/15 09:12, Adhi N. Wirawan wrote:
> Hi there,
>
>   
>
> I manage to setup samba with the Kerberos, if i check with
>
>   
>
> #host -t SRV _ldap._tcp.test.sg
>
> _ldap._tcp.test.sg has SRV record 0 0 389 4ecapsvsg6.test.sg.
>
>   
>
> #host -t SRV _kerberos._udp.test.sg
>
> _kerberos._udp.test.sg has SRV record 0 0 88 4ecapsvsg6.test.sg.
>
>   
>
> #host -t A 4ECAPSVSG6.test.sg
>
> 4ECAPSVSG6.test.sg has address 10.153.64.5
>
>   
>
> But unfortunately i just can't join to AD,  if i enter
>
>   
>
> #smbclient -L 4ecapsvsg6 -U%
>
> Sharename       Type       Comment
>
>          ---------       ----       -------
>
>          IPC$            IPC        IPC Service
>
>   
>
> #smbclient //4ecapsvsg6/netlogon -UAdministrator%"Pa$$worD" -c 'ls'
>
> Connection to \\4ecapsvsg6\netlogon failed - NT_STATUS_LOGON_FAILURE
>
>   
>
> And if i try :
>
>   
>
> #sudo net ads join
>
> Failed to join domain: failed to find DC for domain TEST
>
>   
>
> #sudo net ads join -S 4ECAPSVSG6 -U administrator%"Pa$$worD"
>
> Failed to join domain: failed to lookup DC info for domain 'TEST.SG' over
> rpc: No such domain
>
>   
>
> Is there any steps i'm missing here ?
>

Yes, you forgot to tell us just how you installed samba, what you 
installed it on and what you are trying to join to.

Sorry but we are not mind readers!

Rowland




More information about the samba mailing list