]> eyrie.org Git - kerberos/kadmin-remctl.git/commit
Fixed to kadmin_create default attributes in kadmin-backend-heim
authorJon Robertson <jonrober@stanford.edu>
Thu, 5 Aug 2010 04:21:39 +0000 (21:21 -0700)
committerJon Robertson <jonrober@stanford.edu>
Thu, 5 Aug 2010 04:27:27 +0000 (21:27 -0700)
commit33312e3cbc728b184fa3af9215f0d3ffd654d61e
tree87d3f8bc4700a824d3f7c91f1cf6cecab7292a47
parent1c5d0aba52075dd086b570bfca08f92081c9250c
Fixed to kadmin_create default attributes in kadmin-backend-heim

The code for creating a Kerberos principal was trying to get the default
set of attributes and then modify them before fully creating the account,
in order to properly create a disabled account.  However, the default
attributes seem to not be created until the principal is fully created,
so we actually lose the default attributes by doing so.  As a fix, hand
the routine our own default set of attributes.  This isn't optimal, but
it's better than nothing.
kadmin-backend-heim