AD on freenas problem to join from clients

Status
Not open for further replies.

mullcom

Explorer
Joined
Apr 29, 2012
Messages
67
https://bugs.freenas.org/issues/7918#change-36371

LINKS
http://doc.freenas.org/9.3/freenas_directoryservice.html

Hello i have working alot to get this working with AD on freenas.

Whot i am doing on the freenas i canot get Windows client to join Freenas AD.
I get this messeage.
Note: This information is intended for a network administrator. If you are not your network's administrator, notify the administrator that you received this information, which has been recorded in the file C:\Windows\debug\dcdiag.txt.

DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain "toit.local":
The query was for the SRV record for _ldap._tcp.dc._msdcs.toit.local
The following domain controllers were identified by the query:
freenas.toit.local

However no domain controllers could be contacted.
Common causes of this error include:
- Host (A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses.
- Domain controllers registered in DNS are not connected to the network or are not running.

When i ping Domain (toit.local) i get hits.

Some ather things i have done.
Command: wbinfor -t

checking the trust secret for domain TOIT via RPC calls failed
error code was NT_STATUS_ACCESS_DENIED (0xc0000022)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret

net ads testjoin
Failed to open /var/db/samba4/private/secrets.tdb
Join to domain is not valid: Access denied

sudo klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: Administrator@TOIT.LOCAL

Issued Expires Principal
Feb 12 20:30:00 >>>Expired<<< krbtgt/TOIT.LOCAL@TOIT.LOCAL

sudo net ads testjoin -U admin
ads_connect: No logon servers
Join to domain is not valid: No logon servers

I have test to se if i can se the shares. and i can and i can join over network to freenas with domain acount Administrator.

So freenas is on AD but i cant join it. :S
 
Last edited:
Status
Not open for further replies.
Top