I want to use realmd
to join an Active Directory domain from Ubuntu 14.04 LTS.
To do that I just installed realmd
and some dependencies with this command: aptitude install realmd sssd sssd-tools samba-common krb5-user
.
After the installation I tried to join my domain with the command realm --verbose join ad.example.com -U Administrator
it asked for the Administrator password but them crashed with this output:
* Resolving: _ldap._tcp.ad.example.com
* Performing LDAP DSE lookup on: 10.7.0.2
* Successfully discovered: ad.example.com
Password for Administrator:
* Unconditionally checking packages
* Resolving required packages
* Installing necessary packages: samba-common-bin
* LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.QARGGX -U Administrator ads join ad.example.com
Enter Administrator's password:DNS update failed: NT_STATUS_INVALID_PARAMETER
Using short domain name -- AD-EXAMPLE
Joined 'REALMD-TEST' to dns domain 'ad.example.com'
No DNS domain configured for realmd-test. Unable to perform DNS Update.
* LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.QARGGX -U Administrator ads keytab create
Enter Administrator's password:
realm: Couldn't join realm: Message did not receive a reply (timeout by message bus)
After those erros realmd
does not even work, any command issued with realmd
returns:
realm: Couldn't connect to realm service: Error calling StartServiceByName for
org.freedesktop.realmd: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildSignaled:
Process /usr/lib/dbus-1.0/dbus-daemon-launch-helper received signal 11
The file /etc/sssd/sssd.conf
appears to be created correctly and /etc/nsswitch.conf
modified accordingly. But this isn't sufficient to successfully join the domain.