From a Linux host, I want to add Kerberos principals to an Active Directory controller running on Windows Server 2008R2. This can be done with net ads join, but that doesn't give me copntrol over the enctype of the keytab entries it creates. It can also be done with ldapmodify, but that seems just too raw.
The tool msktutil might be just what I need.
Unfortunately, it has issues.
The package offered on the webpage doesn't install on Ubuntu Precise. It complains:
root@host:~# dpkg -i msktutil_0.4-2_amd64.deb
<snip>
dpkg: dependency problems prevent configuration of msktutil:
msktutil depends on libkrb53 (>= 1.6.dfsg.2); however:
Package libkrb53 is not installed.
<snip>
root@host:~# apt-get install libkrb53
<snip>
Package libkrb53 is not available, but is referred to by another package.
<snip>
E: Package 'libkrb53' has no installation candidate
So it probably must be packaged for Precise instead of packaged for Debian proper and then used on Ubuntu. I download either the latest release, 4.1, or HEAD, but in either case
the tarball is that of a native Debian package (with the debian/
directory already built in,
build commands that should IMHO have been in the Makefile
are in debian/rules
instead, and
./configure
, nor is that built during packaging.
Building from source doesn't work either.
Even after running autoreconf to rebuild ./configure
, running ./configure fails:
root@host:~# ./configure
<snip>
checking whether com_err.h needs extern "C"... configure: error: Couldn't get error_message to work.
And even with an ad-hoc fix for that, the binaries fail to link, with lots of undefined references.
So either I completely misunderstand the way the package should be built, or this Ubuntu bug is still valid, and the package doesn't build, or even compile, on Precise.
Furthermore, bugs.debian.org shows no maintainer on the package, so if I'm to get it, I'll have to jump in and fix it myself.