new _kadm5_setup_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8062 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997-1999 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997-2000 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -56,7 +56,7 @@ modify_principal(void *server_handle,
|
|||||||
ret = context->db->fetch(context->context, context->db, 0, &ent);
|
ret = context->db->fetch(context->context, context->db, 0, &ent);
|
||||||
if(ret)
|
if(ret)
|
||||||
goto out;
|
goto out;
|
||||||
ret = _kadm5_setup_entry(&ent, mask, princ, mask, NULL, 0);
|
ret = _kadm5_setup_entry(context, &ent, mask, princ, mask, NULL, 0);
|
||||||
if(ret)
|
if(ret)
|
||||||
goto out2;
|
goto out2;
|
||||||
ret = _kadm5_set_modifier(context, &ent);
|
ret = _kadm5_set_modifier(context, &ent);
|
||||||
|
Reference in New Issue
Block a user