aboutsummaryrefslogtreecommitdiff
path: root/perl/lib/Wallet/Kadmin
AgeCommit message (Collapse)Author
2018-05-27Minor syslog updates in AD supportBill MacAllister
2018-05-27Update handling of long host namesBill MacAllister
2018-05-27Create unique account id for host keytabsBill MacAllister
It turns out that the length limitations apply to all keytabs, not just service keytabs. This change creates unique ids for hostnames that exceed the AD length limit.
2018-05-27Correction to AD handling of long service keytab IDsBill MacAllister
The account name for a service keytab cannot exceed 20 characters. The routine that was generating a unique id incorrectly attempted to perform an LDAP query. This change fixes that problem.
2018-05-27Correction to AD handling of long service keytab IDsBill MacAllister
The account name for a service keytab cannot exceed 20 characters. The routine that was generating a unique id incorrectly attempted to perform an LDAP query. This change fixes that problem.
2018-05-27Update AD keytab policiesBill MacAllister
* Make sure userPrincipalName is created for all keytabs and use it to search for entries in AD. * Allow the creation of any service principal. This requires making sure that the cn used to create AD entries for service accounts not be any longer than 20 characters.
2018-05-27Correct configuration reference in AD.pmBill MacAllister
Correct a variable reference that was causing AD keytab creation to fail. Update the debugging for shell command execution that makes debugging more rebust and highlights problems.
2018-05-27Add ad-keytab, update Wallet::ConfigBill MacAllister
* This ad-keytab is useful in the initial setup of AD as a keytab store for wallet. * Change configuration variables to correctly reflect that some values are relative distinguished names. * Add a configuration variable for the base distinguished name for ActiveDirectory.
2017-05-27correcting msktutil usage to support more enctypesepackorigan
with multiple enctypes specified, only the last one will actually take effect. If you wish to provide support for more then one, you need to add the values (0x04 + 0x08 + 0x10 = 0x1C). replacing the 3 lines with one line to enable all three. Note that the keytabs generated will have 3 line for each principal (one for each enctypes). See msktutil man page for further details on enctypes.
2016-01-23Update Perl module versions for 1.4Russ Allbery
2016-01-17Standardize Perl module versionsRuss Allbery
The versions of all of the wallet Perl modules now match the overall package version except for Wallet::Schema, which is used to version the database schema. Import the test from rra-c-util 5.10 and exclude Wallet::Schema from the tests. Go through all Perl modules and standardize the syntax for setting the version and indicating the required version of Perl. Fix a few other syntax issues while I'm in there.
2016-01-16Fix spelling errors and add stopwordsRuss Allbery
2016-01-16Add documentation of the Active Directory supportRuss Allbery
Also remove some configuration checks that aren't required, and unify handling of some configuration options.
2016-01-05Merge branch 'master' into ad-keytabsBill MacAllister
Conflicts: NEWS
2016-01-03Use _exit when failing to fork external commandsRuss Allbery
Failed kadmin commands were deleting the wallet database in the test suite due to an END block in the test programs. Use _exit to avoid this.
2015-12-29Add in missing use statement for Sys::SyslogBill MacAllister
2015-12-29Add error check for partially created AD keytabsBill MacAllister
The msktutil script does not always signal error conditions. This change implements a check that examines the output from msktutil and reports and error when the keytab creation fails to create the keytab but does create a computer entry in the directory. If an error is detected the directory entry is deleted leaving the directory in a clean state. Also, support has been added for output of debugging information to syslog using the AD_DEBUG configuration variable. Finally perltidy suggested changes were made to AD.pm.
2015-12-03Implement support for managed Active Directory keytabsBill MacAllister
This version implements Active Directory as the store for keytabs. The interface to Active Directory uses a combination of direct LDAP queries and the msktutil utility. This version does not support the wallet unchanging flag. Unchanging requires that a keytab be retrieved without changing the password/kvno which is not supported by msktutil.
2014-07-11Test for Perl strict and minimum versionRuss Allbery
Fix strictness issues across the whole code base, and ensure that all Perl scripts enable warnings. (Hopefully enabling warnings won't cause problems for the server.) Change-Id: I4dee49f7a6bcbeeee21d74bf61a1fd26514f832c Reviewed-on: https://gerrit.stanford.edu/1532 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>
2014-07-11Switch to Module::Build for the Perl moduleRuss Allbery
The wallet server now requires Perl 5.8 or later (instead of 5.006 in previous versions) and is now built with Module::Build instead of ExtUtils::MakeMaker. This should be transparent to anyone not working with the source code, since Perl 5.8 was released in 2002, but Module::Build is now required to build the wallet server. It is included in some versions of Perl, or can be installed separately from CPAN, distribution packages, or other sources. Also reorganize the test suite to use subdirectories. Change-Id: Id06120ba2bad1ebbfee3d8a48ca2f25869463165 Reviewed-on: https://gerrit.stanford.edu/1530 Reviewed-by: Russ Allbery <rra@stanford.edu> Tested-by: Russ Allbery <rra@stanford.edu>