[OpenAFS] Change user id ?

Marcus Watts mdw@spam.ifs.umich.edu
Wed, 31 Oct 2007 11:04:16 -0400


> Date:    Wed, 31 Oct 2007 15:44:31 BST
> To:      openafs-info@openafs.org
> From:    Emmanuel Vadot <elbarto@staff.epita.fr>
> Subject: [OpenAFS] Change user id ?
> 
>  Hello afs user,
> 
>  Is there a way to change the id of a user in the protection database ?
>  For now the only way I've found is to delete then recreate the user.
> 
>  Thanks a lot.

Yes, there is a way.

Invoke PR_UpdateEntry with the PRUPDATE_ID bit set in entry->Mask,
and the new id in entry->id.

In recent openafs releases, call ubik_PR_UpdateEntry instead of
ubik_Call.

Be careful of any filesystem acl's, they won't be changed.

				-Marcus Watts