Hi,
My first foray into the FreeNAS world. I've installed 9.10.2 and configured the basic network settings but I'm stuck trying to get the Domain Controller service configured so FreeNAS acts as Active Directory PDC.
I've entered the domain controller configuration based on the details given by Erez in this thread
https://forums.freenas.org/index.php?threads/setup-freenas-as-primary-domain-controller.41530/
But when I turn it on I get the following messages in /var/log/messages:
I'm guessing the 'Failed to provision domain' is fatal and then the rest of samba is starting in a half-cocked fashion because there is no domain controller.
I've hunted around on these forums and googled around samba configuration too but not got anywhere.
This post
https://forums.freenas.org/index.php?threads/freenas-as-samba-primary-domain-controler.18952/
suggests if it was working
A lot of the samba documentation discusses using
The messages seem to point to samba either not being able to find it's components or the configuration not being complete.
Can anyone point me in the right direction?
Thanks
My first foray into the FreeNAS world. I've installed 9.10.2 and configured the basic network settings but I'm stuck trying to get the Domain Controller service configured so FreeNAS acts as Active Directory PDC.
I've entered the domain controller configuration based on the details given by Erez in this thread
https://forums.freenas.org/index.php?threads/setup-freenas-as-primary-domain-controller.41530/
But when I turn it on I get the following messages in /var/log/messages:
Code:
Dec 28 16:14:57 maharet DomainController: /usr/sbin/service ix-kerberos quietstart Dec 28 16:14:57 maharet DomainController: /usr/sbin/service ix-resolv quietstart Dec 28 16:14:58 maharet DomainController: /usr/sbin/service ix-nsswitch quietstart Dec 28 16:14:58 maharet DomainController: /usr/sbin/service ix-pam quietstart Dec 28 16:14:58 maharet DomainController: /usr/local/bin/python /usr/local/bin/midclt call notifier.start cifs Dec 28 16:14:58 maharet notifier: Failed to provision domain Dec 28 16:14:58 maharet notifier: Unable to figure out SID, things are seriously jacked! Dec 28 16:14:58 maharet notifier: Unable to set SID to None Dec 28 16:14:58 maharet notifier: Performing sanity check on Samba configuration: OK Dec 28 16:14:58 maharet notifier: Starting samba. Dec 28 16:14:58 maharet notifier: pdb backend samba_dsdb did not correctly init (error was NT_STATUS_UNSUCCESSFUL) Dec 28 16:14:58 maharet notifier: WARNING: Could not open passdb Dec 28 16:14:59 maharet kernel: pid 42529 (winbindd), uid 0: exited on signal 6 (core dumped)
I'm guessing the 'Failed to provision domain' is fatal and then the rest of samba is starting in a half-cocked fashion because there is no domain controller.
I've hunted around on these forums and googled around samba configuration too but not got anywhere.
This post
https://forums.freenas.org/index.php?threads/freenas-as-samba-primary-domain-controler.18952/
suggests if it was working
net ads status
would give useful information but all I get is 'No logon servers'. net getlocalsid
givesCode:
pdb backend samba_dsdb did not correctly init (error was NT_STATUS_UNSUCCESSFUL) WARNING: Could not open passdb
A lot of the samba documentation discusses using
samba-tool
to create basic configuration but running this through SSH I get a traceback with the message ImportError: cannot import name dsdb_dnsThe messages seem to point to samba either not being able to find it's components or the configuration not being complete.
Can anyone point me in the right direction?
Thanks