MrDave2017
Cadet
- Joined
- Jul 21, 2017
- Messages
- 7
Need some help with my FreeNAS 11.0 U1 install and joining it to my Active Directory.
There has to be something I'm missing that I can't find.
I can join the domain with no issues. Then after reboot the "testjoin" fails and it tries to rejoin and fails to join. Then if the AD connection is enabled again in the web ui or if the troubleshooting steps located here http://doc.freenas.org/11/directoryservice.html#if-the-system-will-not-join-the-domain and run joins the domain just fine.
The AD Object is being created in my AD. When i have to force it to rejoin the object is moved back to the default OU
Very confused on why this is happening any help would be great.
I have some log snipits below to try to explain better what is happening.
Result of setting up the AD section in the web UI, joins domain w/o issue:
After a reboot the join is lost:
There has to be something I'm missing that I can't find.
I can join the domain with no issues. Then after reboot the "testjoin" fails and it tries to rejoin and fails to join. Then if the AD connection is enabled again in the web ui or if the troubleshooting steps located here http://doc.freenas.org/11/directoryservice.html#if-the-system-will-not-join-the-domain and run joins the domain just fine.
The AD Object is being created in my AD. When i have to force it to rejoin the object is moved back to the default OU
Very confused on why this is happening any help would be great.
I have some log snipits below to try to explain better what is happening.
Result of setting up the AD section in the web UI, joins domain w/o issue:
Code:
Jul 21 12:15:52 FreeNAS ActiveDirectory: /usr/sbin/service ix-hostname quietstart Jul 21 12:15:53 FreeNAS ActiveDirectory: /usr/sbin/service ix-kerberos quietstart default MYDOMAIN Jul 21 12:15:55 FreeNAS ActiveDirectory: /usr/sbin/service ix-nsswitch quietstart Jul 21 12:15:55 FreeNAS ActiveDirectory: /usr/sbin/service ix-ldap quietstart Jul 21 12:15:55 FreeNAS ActiveDirectory: /usr/sbin/service ix-kinit quietstart Jul 21 12:15:56 FreeNAS ActiveDirectory: kerberos_start: /usr/bin/kinit --renewable --password-file=/tmp/tmp.KS4LJ91c FreenasUser@MYDOMAIN Jul 21 12:15:58 FreeNAS ActiveDirectory: kerberos_start: Successful Jul 21 12:15:58 FreeNAS ActiveDirectory: /usr/sbin/service ix-kinit status Jul 21 12:15:58 FreeNAS ActiveDirectory: kerberos_status: klist -t Jul 21 12:15:58 FreeNAS ActiveDirectory: kerberos_status: Successful Jul 21 12:15:58 FreeNAS ActiveDirectory: /usr/local/bin/python /usr/local/bin/midclt call notifier.start cifs Jul 21 12:16:03 FreeNAS ActiveDirectory: /usr/sbin/service ix-activedirectory quietstart Jul 21 12:16:05 FreeNAS ActiveDirectory: activedirectory_start: checking if we are joined already Jul 21 12:16:05 FreeNAS ActiveDirectory: AD_testjoin_domain: net -k ads testjoin MyDomain -S MyDomain-dc-1.MyDomain -p 389 Jul 21 12:16:06 FreeNAS ActiveDirectory: AD_testjoin_domain: Failed Jul 21 12:16:06 FreeNAS ActiveDirectory: activedirectory_start: trying to join domain Jul 21 12:16:06 FreeNAS ActiveDirectory: AD_join_domain: net -k ads join MyDomain -S MyDomain-dc-1.MyDomain -p 389 Jul 21 12:16:08 FreeNAS ActiveDirectory: AD_join_domain: Successful Jul 21 12:16:08 FreeNAS ActiveDirectory: /usr/sbin/service ix-activedirectory status Jul 21 12:16:09 FreeNAS ActiveDirectory: activedirectory_status: checking status Jul 21 12:16:09 FreeNAS ActiveDirectory: AD_status_domain: net -k ads status MyDomain Jul 21 12:16:10 FreeNAS ActiveDirectory: AD_status_domain: Okay Jul 21 12:16:10 FreeNAS ActiveDirectory: /usr/local/bin/python /usr/local/bin/midclt call notifier.stop cifs Jul 21 12:16:12 FreeNAS ActiveDirectory: /usr/local/bin/python /usr/local/bin/midclt call notifier.start cifs Jul 21 12:16:17 FreeNAS ActiveDirectory: /usr/sbin/service ix-pam quietstart Jul 21 12:16:18 FreeNAS ActiveDirectory: /usr/sbin/service ix-cache quietstart & Jul 21 12:16:39 FreeNAS ActiveDirectory: kerberos_status: klist -t Jul 21 12:16:39 FreeNAS ActiveDirectory: kerberos_status: Successful Jul 21 12:16:40 FreeNAS ActiveDirectory: activedirectory_status: checking status Jul 21 12:16:40 FreeNAS ActiveDirectory: AD_status_domain: net -k ads status MyDomain Jul 21 12:16:41 FreeNAS ActiveDirectory: AD_status_domain: Okay
After a reboot the join is lost:
Code:
Jul 21 12:22:44 FreeNAS ActiveDirectory: activedirectory_start: checking if we are joined already Jul 21 12:22:44 FreeNAS ActiveDirectory: AD_testjoin_domain: net -k ads testjoin MyDomain -S MyDomain-dc-b.MyDomain -p 389 Jul 21 12:22:49 FreeNAS ActiveDirectory: AD_testjoin_domain: Failed Jul 21 12:22:49 FreeNAS ActiveDirectory: activedirectory_start: trying to join domain Jul 21 12:22:49 FreeNAS ActiveDirectory: AD_join_domain: net -k ads join MyDomain -S MyDomain-dc-b.MyDomain -p 389 Jul 21 12:22:50 FreeNAS ActiveDirectory: AD_join_domain: Failed Jul 21 12:22:50 FreeNAS ActiveDirectory: /usr/local/bin/python /usr/local/bin/midclt call notifier.stop cifs Jul 21 12:22:52 FreeNAS ActiveDirectory: /usr/sbin/service ix-kerberos quietstop Jul 21 12:22:52 FreeNAS ActiveDirectory: /usr/sbin/service ix-nsswitch quietstop Jul 21 12:22:52 FreeNAS ActiveDirectory: /usr/sbin/service ix-pam quietstop Jul 21 12:22:53 FreeNAS ActiveDirectory: /usr/sbin/service ix-activedirectory forcestop Jul 21 12:22:58 FreeNAS ActiveDirectory: activedirectory_stop: leaving domain Jul 21 12:23:02 FreeNAS /adtool: [common.pipesubr:66] Popen()ing: /usr/bin/kinit --renewable --password-file=/tmp/tmpmnyiaekk FreenasUser@MYDOMAIN Jul 21 12:23:02 FreeNAS ActiveDirectory: /usr/sbin/service ix-cache quietstop & Jul 21 12:23:06 FreeNAS ActiveDirectory: /usr/sbin/service samba_server forcestop Jul 21 12:23:06 FreeNAS ActiveDirectory: /usr/sbin/service ix-pre-samba start Jul 21 12:23:09 FreeNAS ActiveDirectory: /usr/sbin/service ix-kinit forcestop Jul 21 12:23:09 FreeNAS ActiveDirectory: /usr/sbin/service ix-hostname quietstart
Last edited by a moderator: