RE: Renaming principals causes them to disappear

2015-02-05 Thread Paul B. Henson
> From: Greg Hudson > Sent: Wednesday, February 04, 2015 11:46 AM > > For a one-off, you could write a C program which gets a principal entry, > fixes up the salt, and puts it back without changing the name. You > could use the code for kadm5_rename_principal() in svr_principal.c as a > template.

Re: Renaming principals causes them to disappear

2015-02-04 Thread Greg Hudson
On 02/03/2015 10:00 PM, Paul B. Henson wrote: > Hmm, that's a bummer, I was just about to avail of rename_principal > functionality with an LDAP backend as part of a realm rename we have coming > up :(. I was planning to rename everything and then rename it back in order > to hardcode the correct s

Re: Renaming principals causes them to disappear

2015-02-03 Thread Rasmus Borup Hansen
> On 03 Feb 2015, at 20:20, Greg Hudson wrote: > > The fix is not completely trivial, so I may not get to it immediately. > When I do have a fix prepared, I would guess that you will need to > rebuild from source in order to take advantage of it, as getting a fix > pulled up to an Ubuntu stable r

RE: Renaming principals causes them to disappear

2015-02-03 Thread Paul B. Henson
> From: Greg Hudson > Sent: Tuesday, February 03, 2015 11:20 AM > > I have duplicated this problem; rename_principal breaks all the time > with LDAP, but works with BDB. This has likely been the case since Hmm, that's a bummer, I was just about to avail of rename_principal functionality with an

Re: Renaming principals causes them to disappear

2015-02-03 Thread Greg Hudson
On 02/03/2015 08:09 AM, Rasmus Borup Hansen wrote: > I'm trying to find all the steps necessary for successfully changing a > username on our system, and it appears that when I try to rename the > corresponding principal using kadmin, the principal just disappears (see the > transcript below).