Error connecting FreeNAS to AD

Status
Not open for further replies.

marcelst

Cadet
Joined
Aug 21, 2015
Messages
7
Hi,

I'm trying to connect FreeNAs to AD but I get this error:
"Unable to find domain controllers for nvf.local."


In /var/log/debug.log I can see:

May 26 20:02:33 freenas manage.py: [common.freenasldap:1157] FreeNAS_ActiveDirectory_Base.get_SRV_records: looking up SRV records for _ldap._tcp.dc._msdcs.nvf.local
May 26 20:03:03 freenas manage.py: [common.freenasldap:1169] FreeNAS_ActiveDirectory_Base.get_SRV_records: no SRV records for _ldap._tcp.dc._msdcs.nvf.local found, fail!
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] Traceback (most recent call last):
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] File "/usr/local/www/freenasUI/../freenasUI/common/freenasldap.py", line 1159, in get_SRV_records
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] answers = resolver.query(host, 'SRV')
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] File "/usr/local/lib/python2.7/site-packages/dns/resolver.py", line 981, in query
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] raise_on_no_answer, source_port)
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] File "/usr/local/lib/python2.7/site-packages/dns/resolver.py", line 901, in query
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] timeout = self._compute_timeout(start)
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] File "/usr/local/lib/python2.7/site-packages/dns/resolver.py", line 739, in _compute_timeout
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] raise Timeout
May 26 20:03:03 freenas manage.py: [common.freenasldap:12] Timeout


I can ping the server as you can see, and the resolution is fine:

[root@freenas /var/log]# ping srvlotus2.nvf.local

PING srvlotus2.nvf.local (10.0.10.11): 56 data bytes
64 bytes from 10.0.10.11: icmp_seq=0 ttl=128 time=0.109 ms

[root@freenas /var/log]# ping nvf.local
PING nvf.local (10.0.10.11): 56 data bytes
64 bytes from 10.0.10.11: icmp_seq=0 ttl=128 time=0.080


Any ideas? Any other log whre I can find more information about which can be the issue here?

Thanks a lot!
 
D

dlavigne

Guest
You shouldn't be getting a traceback. Is this on 201605240427? If not, does an upgrade to that version fix it? If it still occurs on that version, please create a bug report at bugs.freenas.org and post the issue number here.
 

marcelst

Cadet
Joined
Aug 21, 2015
Messages
7
New problem...

Every time I reboot the FreeNAS I get this alert:

"ActiveDirectory did not bind to the domain"

So I have to manually go to: Directory, set the password and, check enable and click Save. Then it connects to AD until next reboot..

Is that a normal behavior?
 
D

dlavigne

Guest
Nope. If you're at the latest and its doing that please create a bug report at bugs.freenas.org and post the issue number here.
 

Mirfster

Doesn't know what he's talking about
Joined
Oct 2, 2015
Messages
3,215
Status
Not open for further replies.
Top