Tal Girhish
Cadet
- Joined
- Aug 18, 2014
- Messages
- 9
Hi guys,
I'm very hopeless..
I've searched the whole web and I couldn't find any post that had the same problem like I have.
Can't get FreeNAS to sync with my domain-controller.
I've also tried this thread and it wasn't helpful
I'm running a 2008R2/2003 mixed domain, and the FreeNAS runs on an ESXi host.
I've followed all of the steps that in the 9.2.1 Users Guide :
but after some research on the web I'm starting to think about problems with my DNS server or Kerberos.
Although i must say that my entire network works great with my current DNS and DC server,
And I also run "DCDIAG" to monitor problems and i didn't found any.
I tried to sync FreeNAS with the first DC and with the second one with configuring it at the "Advanced" tab under the Directory Services configuration screen and it also didn't work.
I get at the top of the screen "The service could not be started"
Details :
* FreeNAS version: 9.2.1
* 16GB RAM
*Domain functional level - 2003
The following is from the latest freenas i've installed:
What am I doing wrong?!
As to the FreeNAS guide, Connecting FreeNAS to Active Directory should be very simple action.
That's why I'm so frustrated,
Please help me!!!
I'm very hopeless..
I've searched the whole web and I couldn't find any post that had the same problem like I have.
Can't get FreeNAS to sync with my domain-controller.
I've also tried this thread and it wasn't helpful
I'm running a 2008R2/2003 mixed domain, and the FreeNAS runs on an ESXi host.
I've followed all of the steps that in the 9.2.1 Users Guide :
- pinged the domain name of the Active Directory domain controller from Shell on the FreeNAS
- Updated DNS server and default gateway settings in Network → Global
Configuration - Added a DNS record for the FreeNAS system on the Windows server and verify that I can ping
the hostname of the FreeNAS system from the domain controller - configured an NTP Server (My PDC)
- And also configured the Services → Directory Services → Active Directory properly.
but after some research on the web I'm starting to think about problems with my DNS server or Kerberos.
Although i must say that my entire network works great with my current DNS and DC server,
And I also run "DCDIAG" to monitor problems and i didn't found any.
I tried to sync FreeNAS with the first DC and with the second one with configuring it at the "Advanced" tab under the Directory Services configuration screen and it also didn't work.
I get at the top of the screen "The service could not be started"
Details :
* FreeNAS version: 9.2.1
* 16GB RAM
*Domain functional level - 2003
The following is from the latest freenas i've installed:
Code:
Aug 19 15:06:23 FREENAS ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py stop cifs Aug 19 15:06:23 FREENAS notifier: Stopping winbindd. Aug 19 15:06:23 FREENAS winbindd[15665]: STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsGot sig[15] terminate (is_parent=1) Aug 19 15:06:23 FREENAS winbindd[15666]: [2014/08/19 15:06:23.878419, 0] ../source3/winbindd/winbindd.c:234(winbindd_sig_term_handler) Aug 19 15:06:23 FREENAS winbindd[15666]: Got sig[15] terminate (is_parent=0) Aug 19 15:06:23 FREENAS notifier: Waiting for PIDS: 15665. Aug 19 15:06:23 FREENAS notifier: Stopping smbd. Aug 19 15:06:23 FREENAS notifier: Waiting for PIDS: 15661. Aug 19 15:06:23 FREENAS notifier: Stopping nmbd. Aug 19 15:06:23 FREENAS nmbd[15657]: [2014/08/19 15:06:23.887207, 0] ../source3/nmbd/nmbd.c:57(terminate) Aug 19 15:06:23 FREENAS nmbd[15657]: Got SIGTERM: going down... Aug 19 15:06:23 FREENAS notifier: Waiting for PIDS: 15657. Aug 19 15:06:23 FREENAS ActiveDirectory: /usr/sbin/service ix-kerberos quietstart Aug 19 15:06:24 FREENAS ix-kerberos: generate_krb5_conf: krbhost=dc-pituah.pituah.iaf, kpwdhost=dc-pituah.pituah.iaf, domainname=pituah.iaf Aug 19 15:06:24 FREENAS ActiveDirectory: /usr/sbin/service ix-nsswitch quietstart Aug 19 15:06:24 FREENAS ActiveDirectory: /usr/sbin/service ix-kinit quietstart Aug 19 15:06:36 FREENAS ActiveDirectory: /usr/sbin/service ix-kinit status Aug 19 15:06:37 FREENAS ActiveDirectory: /usr/sbin/service ix-samba quietstart Aug 19 15:06:38 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc' Aug 19 15:06:38 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpZNJJF7 -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb Aug 19 15:06:38 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list Aug 19 15:06:38 FREENAS ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py start cifs Aug 19 15:06:39 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc' Aug 19 15:06:40 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpqfQCP5 -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb Aug 19 15:06:40 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list Aug 19 15:06:40 FREENAS notifier: Performing sanity check on Samba configuration: OK Aug 19 15:06:40 FREENAS notifier: Starting nmbd. Aug 19 15:06:40 FREENAS notifier: Starting smbd. Aug 19 15:06:40 FREENAS nmbd[19164]: [2014/08/19 15:06:40.414330, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:06:40 FREENAS nmbd[19164]: STATUS=daemon 'nmbd' finished starting up and ready to serve connectionssend_host_announcement: type 809b03 for host FREENAS on subnet 192.168.108.10 for workgroup PITUAH.IAF Aug 19 15:06:40 FREENAS notifier: Starting winbindd. Aug 19 15:06:40 FREENAS smbd[19168]: [2014/08/19 15:06:40.473203, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:06:40 FREENAS smbd[19168]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionswaiting for connections Aug 19 15:06:40 FREENAS winbindd[19172]: [2014/08/19 15:06:40.517408, 0] ../source3/winbindd/winbindd_util.c:634(init_domain_list) Aug 19 15:06:40 FREENAS winbindd[19172]: Could not fetch our SID - did we join? Aug 19 15:06:40 FREENAS winbindd[19172]: [2014/08/19 15:06:40.517761, 0] ../source3/winbindd/winbindd.c:1204(winbindd_register_handlers) Aug 19 15:06:40 FREENAS winbindd[19172]: unable to initialize domain list Aug 19 15:06:40 FREENAS ActiveDirectory: /usr/sbin/service ix-activedirectory quietstart Aug 19 15:06:42 FREENAS nmbd[19164]: [2014/08/19 15:06:42.431999, 0] ../source3/nmbd/nmbd_mynames.c:36(my_name_register_failed) Aug 19 15:06:42 FREENAS nmbd[19164]: my_name_register_failed: Failed to register my name FREENAS<20> on subnet 192.168.108.10. Aug 19 15:06:42 FREENAS nmbd[19164]: [2014/08/19 15:06:42.432142, 0] ../source3/nmbd/nmbd_namelistdb.c:320(standard_fail_register) Aug 19 15:06:42 FREENAS nmbd[19164]: standard_fail_register: Failed to register/refresh name FREENAS<20> on subnet 192.168.108.10 Aug 19 15:06:42 FREENAS nmbd[19164]: [2014/08/19 15:06:42.432201, 0] ../source3/nmbd/nmbd_mynames.c:36(my_name_register_failed) Aug 19 15:06:42 FREENAS nmbd[19164]: my_name_register_failed: Failed to register my name FREENAS<03> on subnet 192.168.108.10. Aug 19 15:06:42 FREENAS nmbd[19164]: [2014/08/19 15:06:42.432253, 0] ../source3/nmbd/nmbd_namelistdb.c:320(standard_fail_register) Aug 19 15:06:42 FREENAS nmbd[19164]: standard_fail_register: Failed to register/refresh name FREENAS<03> on subnet 192.168.108.10 Aug 19 15:06:42 FREENAS nmbd[19164]: [2014/08/19 15:06:42.432303, 0] ../source3/nmbd/nmbd_mynames.c:36(my_name_register_failed) Aug 19 15:06:42 FREENAS nmbd[19164]: my_name_register_failed: Failed to register my name FREENAS<00> on subnet 192.168.108.10. Aug 19 15:06:42 FREENAS nmbd[19164]: [2014/08/19 15:06:42.432352, 0] ../source3/nmbd/nmbd_namelistdb.c:320(standard_fail_register) Aug 19 15:06:42 FREENAS nmbd[19164]: standard_fail_register: Failed to register/refresh name FREENAS<00> on subnet 192.168.108.10 Aug 19 15:06:51 FREENAS ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py stop cifs Aug 19 15:06:52 FREENAS notifier: winbindd not running? (check /var/run/samba/winbindd.pid). Aug 19 15:06:52 FREENAS notifier: Stopping smbd. Aug 19 15:06:52 FREENAS notifier: Waiting for PIDS: 19168. Aug 19 15:06:52 FREENAS notifier: Stopping nmbd. Aug 19 15:06:52 FREENAS nmbd[19164]: [2014/08/19 15:06:52.404142, 0] ../source3/nmbd/nmbd.c:57(terminate) Aug 19 15:06:52 FREENAS nmbd[19164]: Got SIGTERM: going down... Aug 19 15:06:52 FREENAS notifier: Waiting for PIDS: 19164. Aug 19 15:06:52 FREENAS ActiveDirectory: /usr/sbin/service ix-kerberos quietstop Aug 19 15:06:52 FREENAS ActiveDirectory: /usr/sbin/service ix-nsswitch quietstop Aug 19 15:06:52 FREENAS ActiveDirectory: /usr/sbin/service ix-pam quietstop Aug 19 15:06:52 FREENAS ActiveDirectory: /usr/sbin/service ix-kinit forcestop Aug 19 15:06:52 FREENAS ActiveDirectory: /usr/sbin/service ix-activedirectory forcestop Aug 19 15:06:54 FREENAS ActiveDirectory: /usr/sbin/service ix-cache quietstop & Aug 19 15:06:55 FREENAS ActiveDirectory: /usr/sbin/service samba_server forcestop Aug 19 15:06:55 FREENAS ActiveDirectory: /usr/sbin/service ix-samba start Aug 19 15:06:56 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc' Aug 19 15:06:56 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpxOGz8j -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb Aug 19 15:06:56 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list Aug 19 15:06:56 FREENAS ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py start cifs Aug 19 15:06:57 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc' Aug 19 15:06:57 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpxYHNRw -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb Aug 19 15:06:57 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list Aug 19 15:06:57 FREENAS notifier: Performing sanity check on Samba configuration: OK Aug 19 15:06:57 FREENAS notifier: Starting nmbd. Aug 19 15:06:57 FREENAS notifier: Starting smbd. Aug 19 15:06:57 FREENAS nmbd[21556]: [2014/08/19 15:06:57.930537, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:06:57 FREENAS nmbd[21556]: STATUS=daemon 'nmbd' finished starting up and ready to serve connectionssend_host_announcement: type 819a03 for host FREENAS on subnet 192.168.108.10 for workgroup PITUAH.IAF Aug 19 15:06:57 FREENAS notifier: Starting winbindd. Aug 19 15:06:57 FREENAS smbd[21560]: [2014/08/19 15:06:57.984932, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:06:57 FREENAS smbd[21560]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionswaiting for connections Aug 19 15:06:58 FREENAS winbindd[21566]: [2014/08/19 15:06:58.021395, 0] ../source3/winbindd/winbindd_cache.c:3196(initialize_winbindd_cache) Aug 19 15:06:58 FREENAS winbindd[21566]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 Aug 19 15:06:58 FREENAS winbindd[21566]: [2014/08/19 15:06:58.024433, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:06:58 FREENAS winbindd[21567]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections[21566]: list trusted domains Aug 19 15:06:58 FREENAS ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py stop cifs Aug 19 15:06:59 FREENAS notifier: Stopping winbindd. Aug 19 15:06:59 FREENAS winbindd[21566]: STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsGot sig[15] terminate (is_parent=1) Aug 19 15:06:59 FREENAS winbindd[21567]: [2014/08/19 15:06:59.596753, 0] ../source3/winbindd/winbindd.c:234(winbindd_sig_term_handler) Aug 19 15:06:59 FREENAS winbindd[21567]: Got sig[15] terminate (is_parent=0) Aug 19 15:06:59 FREENAS notifier: Waiting for PIDS: 21566. Aug 19 15:06:59 FREENAS notifier: Stopping smbd. Aug 19 15:06:59 FREENAS notifier: Waiting for PIDS: 21560. Aug 19 15:06:59 FREENAS notifier: Stopping nmbd. Aug 19 15:06:59 FREENAS nmbd[21556]: [2014/08/19 15:06:59.604905, 0] ../source3/nmbd/nmbd.c:57(terminate) Aug 19 15:06:59 FREENAS nmbd[21556]: Got SIGTERM: going down... Aug 19 15:06:59 FREENAS notifier: Waiting for PIDS: 21556. Aug 19 15:06:59 FREENAS ActiveDirectory: /usr/sbin/service ix-kerberos quietstop Aug 19 15:06:59 FREENAS ActiveDirectory: /usr/sbin/service ix-nsswitch quietstop Aug 19 15:06:59 FREENAS ActiveDirectory: /usr/sbin/service ix-pam quietstop Aug 19 15:06:59 FREENAS ActiveDirectory: /usr/sbin/service ix-kinit forcestop Aug 19 15:06:59 FREENAS ActiveDirectory: /usr/sbin/service ix-activedirectory forcestop Aug 19 15:07:01 FREENAS ActiveDirectory: /usr/sbin/service ix-cache quietstop & Aug 19 15:07:02 FREENAS ActiveDirectory: /usr/sbin/service samba_server forcestop Aug 19 15:07:02 FREENAS ActiveDirectory: /usr/sbin/service ix-samba start Aug 19 15:07:03 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc' Aug 19 15:07:03 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmpZ_6j6T -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb Aug 19 15:07:03 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list Aug 19 15:07:03 FREENAS ActiveDirectory: /usr/local/bin/python /usr/local/www/freenasUI/middleware/notifier.py start cifs Aug 19 15:07:04 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /sbin/sysctl -n 'kern.maxfilesperproc' Aug 19 15:07:04 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/pdbedit -d 0 -i smbpasswd:/tmp/tmp38qxBd -s /usr/local/etc/smb4.conf -e tdbsam:/var/etc/private/passdb.tdb Aug 19 15:07:04 FREENAS generate_smb4_conf.py: [common.pipesubr:58] Popen()ing: /usr/local/bin/net groupmap list Aug 19 15:07:04 FREENAS notifier: Performing sanity check on Samba configuration: OK Aug 19 15:07:04 FREENAS notifier: Starting nmbd. Aug 19 15:07:04 FREENAS notifier: Starting smbd. Aug 19 15:07:04 FREENAS nmbd[23312]: [2014/08/19 15:07:04.969282, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:07:04 FREENAS nmbd[23312]: STATUS=daemon 'nmbd' finished starting up and ready to serve connectionssend_host_announcement: type 819a03 for host FREENAS on subnet 192.168.108.10 for workgroup PITUAH.IAF Aug 19 15:07:05 FREENAS notifier: Starting winbindd. Aug 19 15:07:05 FREENAS smbd[23316]: [2014/08/19 15:07:05.025069, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:07:05 FREENAS smbd[23316]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionswaiting for connections Aug 19 15:07:05 FREENAS winbindd[23320]: [2014/08/19 15:07:05.061265, 0] ../source3/winbindd/winbindd_cache.c:3196(initialize_winbindd_cache) Aug 19 15:07:05 FREENAS winbindd[23320]: initialize_winbindd_cache: clearing cache and re-creating with version number 2 Aug 19 15:07:05 FREENAS winbindd[23320]: [2014/08/19 15:07:05.064353, 0] ../lib/util/become_daemon.c:136(daemon_ready) Aug 19 15:07:05 FREENAS winbindd[23321]: STATUS=daemon 'winbindd' finished starting up and ready to serve connections[23320]: list trusted domains Aug 19 15:07:06 FREENAS nmbd[23312]: [2014/08/19 15:07:06.991961, 0] ../source3/nmbd/nmbd_mynames.c:36(my_name_register_failed) Aug 19 15:07:06 FREENAS nmbd[23312]: my_name_register_failed: Failed to register my name FREENAS<20> on subnet 192.168.108.10. Aug 19 15:07:06 FREENAS nmbd[23312]: [2014/08/19 15:07:06.992083, 0] ../source3/nmbd/nmbd_namelistdb.c:320(standard_fail_register) Aug 19 15:07:06 FREENAS nmbd[23312]: standard_fail_register: Failed to register/refresh name FREENAS<20> on subnet 192.168.108.10 Aug 19 15:07:06 FREENAS nmbd[23312]: [2014/08/19 15:07:06.992140, 0] ../source3/nmbd/nmbd_mynames.c:36(my_name_register_failed) Aug 19 15:07:06 FREENAS nmbd[23312]: my_name_register_failed: Failed to register my name FREENAS<03> on subnet 192.168.108.10. Aug 19 15:07:06 FREENAS nmbd[23312]: [2014/08/19 15:07:06.992193, 0] ../source3/nmbd/nmbd_namelistdb.c:320(standard_fail_register) Aug 19 15:07:06 FREENAS nmbd[23312]: standard_fail_register: Failed to register/refresh name FREENAS<03> on subnet 192.168.108.10 Aug 19 15:07:06 FREENAS nmbd[23312]: [2014/08/19 15:07:06.992244, 0] ../source3/nmbd/nmbd_mynames.c:36(my_name_register_failed) Aug 19 15:07:06 FREENAS nmbd[23312]: my_name_register_failed: Failed to register my name FREENAS<00> on subnet 192.168.108.10. Aug 19 15:07:06 FREENAS nmbd[23312]: [2014/08/19 15:07:06.992295, 0] ../source3/nmbd/nmbd_namelistdb.c:320(standard_fail_register) Aug 19 15:07:06 FREENAS nmbd[23312]: standard_fail_register: Failed to register/refresh name FREENAS<00> on subnet 192.168.108.10
What am I doing wrong?!
As to the FreeNAS guide, Connecting FreeNAS to Active Directory should be very simple action.
That's why I'm so frustrated,
Please help me!!!