Freenas not connecting to Windows AD

Hello,

I’ve just installed a Freenas server to join onto our Windows 2016 Active Directory but it just doesn’t seem to be joining the AD.

There is no errors, it just says “Settings saved” and that’s it, nothing appears in the AD in “Computers” or anywhere on the AD.

I’ve also noticed that there isn’t anything the DNS server either and the server is set with a static IP with all the correct DNS servers.

Any ideas?

Regards,
James

When you say FreeNAS, what version have you installed? Did you mean TrueNAS CORE?

1 Like

Hello,

Sorry I should have put that onto the initial post, I’m running FreeNAS-11.3-U5

I know its been changed to TrueNAS but that’s what I have installed, unless I’ve installed the wrong version completely, I haven’t installed another one for a while.

Regards,
James

Regards,
James

The current recommended version of TrueNAS is 13.0-U6.1

Oh right OK, thank you for that, is the AD connection better on this version.

Do I need to completely flatten this server and rebuild from scratch again or can I upgrade? It has no data on it at the moment?

Regards,
James

Well it’s more that if you have issues, you will likely get better help if you are on a recent version. Lots of improvements were made over the years, docs will also be up to date for the latest versions.

You can upgrade from your install to 12.0-U8.1 and then to 13.0-U6.1:

If this option for 12.0-U8.1 is not in the UI update options you can access the update file at:
https://download-core.sys.truenas.net/ (Navigate to 12.0 > Stable > U8.1 to download the manual tar file)

Thanks ABain, I’ll try upgrading and see if that helps :slight_smile:

I’ll message back when I have an update.

Regards,
James

1 Like

Hello,

I’ve managed to update from 11.3 to 12.0 and then to 13.0-U6 and then ran a normal update, so I am on TrueNAS version 13.0-U6.2.

Tried adding to the domain again and its still not appearing, I remembered having to add manual DNS records and I think manually add the server into AD as well before, is this still something I need to do?

Regards,
James

No.
Make sure that the TN DNS Servers are pointing at your AD DNS Servers and it should just work

Also make sure that the time on the TN Server matches time on AD DC’s

Hello,

The time matches the Domain controller and the DNS servers have been set in the DNS server section as well.

Regards,
James

Then it should just work - and does here

What version of Windows Server?

We’re running a Windows Server 2016 domain controller, the DC is also the primary DNS and secondary DNS is a Windows Server 2012 R2.

Regards,
James

Its OK, I’ve managed to do it now and its joined the domain.

I haven’t installed a new TrueNAS server for a while, it had a moment, I didn’t think to tick the option “Enable (Requires password or Kerberos principal” before saving the settings :flushed: :flushed: :see_no_evil: :see_no_evil:

Sorry guys but thank you for assistance on the updated version regardless :slight_smile: :slight_smile:

Regards,
James

1 Like

I know Nugent$ haha.

So another issue is, I can see the AD users and groups via the shell windows with wbinfo -u & wbinfo -g

But they are not appearing in the GUI interface if I want to select them.

Regards,
James

Its OK, I’ve sorted it again, there was just a bit of delay for the groups and users to appear and reboot after joining the domain helped as well.

Thank you everyone.