Today I want to join the freenas9.3 into my Active Directory.Unfortunately,I got error.Here is what I do:
1. Istall a windows server 2008R2,and start the ntp service.
2.Add the Active Directory service in the windows server and it will add the DNS service,too.
3.Install freenas9.3,and configure the IP.
4.login the web interface,set the DNS and NTP of freenas to the windows server 2008R2.
5.Add a volum.
6. Add a cifs share with default configure.
7. configure the cifs service in service -> cifs ,uncheck Local Master and Time Server for Domain.
8. configure the Active Directory in Directory -> Active Directory .
Domain Name: mytest.com
Domain Account Name: administrator
Domain Account Password:mypassword
Enable : check
And then click the save button.
It return a error {'desc': "Can't contact LDAP server"}.the first time.And then when I click the save button the second time,it dosen't post any error in the webUI. But there is no AD user in the table of view user. And the console of freenas show some error:
Counld not fetch our SID - did we join?
unable to initialize domain list
freenas nmbd: STATUS=daemon 'nmdb' finished starting up and ready to serve connectionsGot SIGTERM: going down...
And then I login the freenas shell run wbinfo -u ,wbinfo -g and wbinfo -t. It show the AD user and group and no error. And then I run net ads info -S mytest.com -U administrator ,It show no error. But when I run net ads join -S mytest.com -U administrator ,I get some error:
kinit succeeded but ads_sasl_spnego_krb5_bind failed: Server not found in kerberos database
Failed to join domain: failed to connect to AD: Server not found in kerberos database.
And there is a computer in the AD name freenas.
Is there anyting wrong to me?
Anyone can solve my problem?
Thanks
1. Istall a windows server 2008R2,and start the ntp service.
2.Add the Active Directory service in the windows server and it will add the DNS service,too.
3.Install freenas9.3,and configure the IP.
4.login the web interface,set the DNS and NTP of freenas to the windows server 2008R2.
5.Add a volum.
6. Add a cifs share with default configure.
7. configure the cifs service in service -> cifs ,uncheck Local Master and Time Server for Domain.
8. configure the Active Directory in Directory -> Active Directory .
Domain Name: mytest.com
Domain Account Name: administrator
Domain Account Password:mypassword
Enable : check
And then click the save button.
It return a error {'desc': "Can't contact LDAP server"}.the first time.And then when I click the save button the second time,it dosen't post any error in the webUI. But there is no AD user in the table of view user. And the console of freenas show some error:
Counld not fetch our SID - did we join?
unable to initialize domain list
freenas nmbd: STATUS=daemon 'nmdb' finished starting up and ready to serve connectionsGot SIGTERM: going down...
And then I login the freenas shell run wbinfo -u ,wbinfo -g and wbinfo -t. It show the AD user and group and no error. And then I run net ads info -S mytest.com -U administrator ,It show no error. But when I run net ads join -S mytest.com -U administrator ,I get some error:
kinit succeeded but ads_sasl_spnego_krb5_bind failed: Server not found in kerberos database
Failed to join domain: failed to connect to AD: Server not found in kerberos database.
And there is a computer in the AD name freenas.
Is there anyting wrong to me?
Anyone can solve my problem?
Thanks
Last edited: