auth_makeauth will fail when the caller is authenticated as nonroot.
You mean auth_makeauth inside ugids_verify_make_auth, right? Without being root, login makes ids of new user.
Isn't it right that password_check_{user,group}, used as default verify_fn function in ugids_verify_make_auth, get the needed authentication handles without login being root? The sequence is:
1. ugids_verify uses verify_fn to check passwords. The authentications are accumulated in svma_state.auths.
2. auth_makeauths is called with the same svma_state.auths, and that's why it succeeds.
Regards, ogi
_______________________________________________ Bug-hurd mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-hurd
