Unable to connect to domain after upgrade from 11.2.7 to 11.3

MikeUK

Cadet
Joined
Feb 3, 2020
Messages
9
Hi

I am new to freeNas but as really pleased how easy it was to get 11.2.7 to join my ubuntu Active directory. :)

I upgraded to 11.3 and now can no longer join the domain "Attempt to connect to netlogon share failed with error: [EFAULT] could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE could not obtain winbind domain name! failed to call wbcPingDc: WBC_ERR_WINBIND_NOT_AVAILABLE."

Anyone able to point me in the right direction?

Thanks

Mike
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,544
Hi

I am new to freeNas but as really pleased how easy it was to get 11.2.7 to join my ubuntu Active directory. :)

I upgraded to 11.3 and now can no longer join the domain "Attempt to connect to netlogon share failed with error: [EFAULT] could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE could not obtain winbind domain name! failed to call wbcPingDc: WBC_ERR_WINBIND_NOT_AVAILABLE."

Anyone able to point me in the right direction?

Thanks

Mike
This typically means that the winbindd service is stopped. Try "service winbindd onestart"
 

MikeUK

Cadet
Joined
Feb 3, 2020
Messages
9
Hi Thanks for that, I tried that and it did not work. I have since re-installed and had smilar issues, the only way i could get it to work was to
use the following
in the directory service tab, set the allow dns update to unchecked, and set the
sqlite3 /data/freenas-v1.db "UPDATE directoryservice_activedirectory SET ad_enable=1"
service ix-hostname start <- error (service does not exist in rc.d or local-startup)
service ix-kerberos start
service ix-kinit start
klist
service ix-pre-samba start <- error (service does not exist in rc.d or local-startup)
net -k -d 5 ads join [this generates verbose output of the domain join] which worked with dns updates unchecked
At this point it complained about the workgroup still being set to work group changed that and tried again and joined the domain correctly
service samba_server restart
service ix-nsswitch start
service ix-pam start <- error (service does not exist in rc.d or local-startup)
service ix-cache start <-error (service does not exist in rc.d or local-startup)
service winbindd onestart

Hope this is of use to anyone else having issues
 

etbte

Cadet
Joined
Mar 13, 2020
Messages
1
Hi Thanks for that, I tried that and it did not work. I have since re-installed and had smilar issues, the only way i could get it to work was to
use the following
in the directory service tab, set the allow dns update to unchecked, and set the
sqlite3 /data/freenas-v1.db "UPDATE directoryservice_activedirectory SET ad_enable=1"
service ix-hostname start <- error (service does not exist in rc.d or local-startup)
service ix-kerberos start
service ix-kinit start
klist
service ix-pre-samba start <- error (service does not exist in rc.d or local-startup)
net -k -d 5 ads join [this generates verbose output of the domain join] which worked with dns updates unchecked
At this point it complained about the workgroup still being set to work group changed that and tried again and joined the domain correctly
service samba_server restart
service ix-nsswitch start
service ix-pam start <- error (service does not exist in rc.d or local-startup)
service ix-cache start <-error (service does not exist in rc.d or local-startup)
service winbindd onestart

Hope this is of use to anyone else having issues
Thank you very much, this appears to have solved my SMB/AD issues post 11.2->11.3 upgrade.
 

xhk416x

Cadet
Joined
Jan 20, 2019
Messages
2
Hi Thanks for that, I tried that and it did not work. I have since re-installed and had smilar issues, the only way i could get it to work was to
use the following
in the directory service tab, set the allow dns update to unchecked, and set the
sqlite3 /data/freenas-v1.db "UPDATE directoryservice_activedirectory SET ad_enable=1"
service ix-hostname start <- error (service does not exist in rc.d or local-startup)
service ix-kerberos start
service ix-kinit start
klist
service ix-pre-samba start <- error (service does not exist in rc.d or local-startup)
net -k -d 5 ads join [this generates verbose output of the domain join] which worked with dns updates unchecked
At this point it complained about the workgroup still being set to work group changed that and tried again and joined the domain correctly
service samba_server restart
service ix-nsswitch start
service ix-pam start <- error (service does not exist in rc.d or local-startup)
service ix-cache start <-error (service does not exist in rc.d or local-startup)
service winbindd onestart

Hope this is of use to anyone else having issues

my man! Just upgraded yesterday as I moved from a VM to a dedicated R720XD. My old pool/datasets/shares worked fine but a new one was throwing all kinds of permission issues. this fixed it right up.
 
Joined
May 31, 2021
Messages
6
Same issue in version TrueNAS-12.0-U3.1 in fresh installation (no upgrade) in connection with Windows Server 2008 R2. MikeUK's solution fixes winbnnd and smbd and everything works fie again, but it doesn't survive a reboot.
 
Top