Ben SysAdmin
Cadet
- Joined
- Apr 9, 2014
- Messages
- 5
Hi all,
I try to connect my freenas 9.2.1 to my samba4 AD domain.
I checked the forum on how to troubleshoot AD issue, I found this
My trouble is when I start ix-activedirectory I got:
Using short domain name -- CompagnyMTL
Joined 'FREENAS' to dns domain 'mtl.Compagny.com'
DNS Update for localhost.my.domain failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL
I can see the host FREENAS in my ldap computer so I know the server join the domain
I can see user with wbinfo -u and I can see user under permission but not under users.
if I restart directory services from the webgui the service fail to restart and I don't see users anymore.
I'm little confuse about this... Anyone can point me to the good direction.
THX
I try to connect my freenas 9.2.1 to my samba4 AD domain.
I checked the forum on how to troubleshoot AD issue, I found this
sqlite /data/freenas-v1.db "update services_services set srv_enable = 1 where srv_service = 'directoryservice'"
service ix-kerberos start
service ix-kinit start
service ix-kinit status
echo $? # this should be 0
klist # this should show kerberos tickets
service ix-pam start
service ix-nsswitch start
service ix-samba start
service ix-activedirectory start
service ix-activedirectory status
echo $? # this should be 0
service samba restart
My trouble is when I start ix-activedirectory I got:
Using short domain name -- CompagnyMTL
Joined 'FREENAS' to dns domain 'mtl.Compagny.com'
DNS Update for localhost.my.domain failed: ERROR_DNS_UPDATE_FAILED
DNS update failed: NT_STATUS_UNSUCCESSFUL
I can see the host FREENAS in my ldap computer so I know the server join the domain
I can see user with wbinfo -u and I can see user under permission but not under users.
if I restart directory services from the webgui the service fail to restart and I don't see users anymore.
I'm little confuse about this... Anyone can point me to the good direction.
THX