Active Directory joining issues

Status
Not open for further replies.
Joined
Dec 18, 2014
Messages
3
Currently on 9.3, ZFS2 (4 disks), 4 CIFS shares. I had AD integration working fine up until Monday on 9.2 where for some reason it started refusing authentication to the shares, telling me my username/password was incorrect (it wasn't). Tried restarting the directory services and CIFS service and it didn't fix the issue, so I thought I'd take the opportunity to upgrade to 9.3 and see if that fixed my problem. Now I can't even get the directory service started. I enter my domain information, tick enable and hit save. I then get an error message saying "the service could not be restarted". It won't join the domain. I've reset the computer account in AD too.

Tried following steps here: https://forums.freenas.org/index.php?threads/upgrading-to-9-2-b2-breaks-ad.16897/[1] in John Hixson's post about halfway down the page to no avail, the service status for ix-kinit shows as "1" instead of "0" and that's just in the first section. Manually starting won't change it to 0.

My smb4.conf file shows domain logons = yes but server role = standalone rather than member server. Manually setting the file to member server and then running net ads join domain.com errors with "this operation is only allowed for the PDC of the domain". I only have 1 domain controller in my environment.

I can get a Kerberos ticket if I run "kinit" and it shows up under "klist".
Ping to winbind is successful.
"Wbinfo -u" only shows the root account
"wbinfo -t" could not check secret, NT_STATUS_NO_SUCH_DOMAIN (0xc00000df), WBC_ERR_AUTH_ERROR.

What have I missed here? I'm not a complete Linux/UNIX novice but hardly an expert. This was working fine before.

Edit - Bug #7257 raised
 
Last edited:

David Buchanan

Dabbler
Joined
Dec 19, 2014
Messages
10
Hi Metal,

I recently upgraded from 9.2 to 9.3 and I was getting the same "NO_SUCH_DOMAIN" error you're getting.

After a lot of searching I came across this bug report which fixed it for me: https://bugs.pcbsd.org/issues/6632

I changed my subnet some time ago and never linked the new subnet to a site in AD, it appears having a subnet in AD Sites and Services is a requirement for 9.3 now.

Hope this helps you.

Thanks,
Dave
 
Joined
Dec 18, 2014
Messages
3
Thanks for the reply David, I'll give it a go over the next few days when I get some time and see if that fixes the problem
 
Joined
Dec 18, 2014
Messages
3
Still no luck, have linked my site to a subnet but still get "service failed to restart" upon attempting to start AD. Winbindd finishes starting up, then I get nmbd[2141]: Got SIGTERM: going down... then nothing.
 
Status
Not open for further replies.
Top