FreeNAS 9.3 became disconnected from the Windows Domain

Status
Not open for further replies.
Joined
May 22, 2015
Messages
3
Build FreeNAS-9.3-STABLE-201505130355
Platform Intel(R) Celeron(R) CPU 1037U @ 1.80GHz
Memory 8011MB

1-1.5 years ago I built this server with freeNAS 9.1 it was tough for me to get it integrated with Windows AD, last year I updated to 9.3 it's integration failed. After a day or two I fumbled my way back to it's integration. Earlier this week we had an internet VPN outage and the sites was disconnected from AD for 2.5 days. once the internet connection was fixed the FreeNAS server was no longer connected to AD.

When I try to add it back or test for connectivity the below code is what I receive. Is there a way I can revert FreeNAS 9.3 back to it's pre AD integration?

CODE[
[root@MHDNAS1] ~# sqlite3 /data/freenas-v1.db "update directoryservice_activedirectory set ad_enable=1;"
[root@MHDNAS1] ~# echo $?
0
[root@MHDNAS1] ~# service ix-kerberos start
[root@MHDNAS1] ~# service ix-nsswitch start
[root@MHDNAS1] ~# service ix-kinit start
[root@MHDNAS1] ~# service ix-kinit status
[root@MHDNAS1] ~# echo $?
0
[root@MHDNAS1] ~# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: ldap@DOMAIN.COM

Issued Expires Principal
Feb 4 11:51:39 Feb 4 21:51:39 krbtgt/DOMAIN.COM@DOMAIN.COM
[root@MHDNAS1] ~# python /usr/local/www/freenasUI/middleware/notifier.py start cifs
True
[root@MHDNAS1] ~# service ix-activedirectory start
False
Failed to leave domain: Unable to fetch domain sid: are we joined?
winbindd not running? (check /var/run/samba/winbindd.pid).
smbd not running? (check /var/run/samba/smbd.pid).
nmbd not running? (check /var/run/samba/nmbd.pid).
True
[root@MHDNAS1] ~# service ix-activedirectory status
[root@MHDNAS1] ~# echo $?
1
[root@MHDNAS1] ~# python /usr/local/www/freenasUI/middleware/notifier.py restart cifs
True
[root@MHDNAS1] ~# service ix-pam start
[root@MHDNAS1] ~# service ix-cache start &
[1] 72845
[root@MHDNAS1] ~#
[1] Done service ix-cache start
[root@MHDNAS1] ~# wbinfo -t
checking the trust secret for domain DOMAIN via RPC calls failed
error code was NT_STATUS_NO_SUCH_DOMAIN (0xc00000df)
failed to call wbcCheckTrustCredentials: WBC_ERR_AUTH_ERROR
Could not check secret
]
/CODE
 
D

dlavigne

Guest
Did you make any headway with this? If not, does upgrading to the latest SU fix it?
 
Joined
May 22, 2015
Messages
3
Thanks for the follow up,

The answer was not discovered before I did a factory restore on the settings. I then imported the ZFS volumes and set everything back up per the FreeNAS instructions. It is working now, but I have no idea how/why it quit working in the first place.

This post can be closed as the issue was resolved by performing a factory reset to the system.
 
Status
Not open for further replies.
Top