This is Daniel Berger's custom implementation of the original
Kerberos 1.7.0 or later, including admin header and library files.
krb5 = Krb5Auth::Krb5.new
keytab = Krb5Auth::Krb5::Keytab.new
kadm5 = Krb5Auth::Kadm5.new(:principal => 'foo/admin', :password => 'xxxx')
Krb5Auth::Kadm5.new(:principal => 'foo/admin', :password => 'xxxx') do |kadm5|
This fork heavily modifies the original krb5_auth library. Several new
classes and methods have been added.
With this fork you can create and delete principals, set and reset passwords,
set the default realm, and read keytab entries.
The code layout has been heavily modified as well. This fork uses separate
source files for each class, and uses rake-compiler to glue them all
together into a single build.
Lastly, this fork includes many more tests.
MIT vs Heimdal
This code was written for the MIT Kerberos library. It has not been tested
with the Heimdal Kerberos library.
Replace Struct::Principal with a Principal class with its own methods.
Create a separate class for the replay cache.
Better credentials cache support.
Ability to add and delete keytab entries.
OS X users will probably need to install Kerberos manually and specify
the dir-config option because it ships with old Kerberos header files,
and none of the admin headers or libraries by default.