[Samba] Trouble of setting samba with join AD

Adhi N. Wirawan adhi at balicasa.net
Thu Apr 2 02:12:14 MDT 2015


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 ?

 

Please guide me thanks....



More information about the samba mailing list