(kauth): make sure we're using private protection level
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7079 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1995-1999 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -128,8 +128,13 @@ kauth(int argc, char **argv)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
memset (tktcopy.dat, 0, tktcopy.length);
|
memset (tktcopy.dat, 0, tktcopy.length);
|
||||||
ret = command("SITE KAUTH %s %s", name, p);
|
{
|
||||||
free(p);
|
int save;
|
||||||
|
save = set_command_prot(prot_private);
|
||||||
|
ret = command("SITE KAUTH %s %s", name, p);
|
||||||
|
free(p);
|
||||||
|
set_command_prot(save);
|
||||||
|
}
|
||||||
if(ret != COMPLETE){
|
if(ret != COMPLETE){
|
||||||
code = -1;
|
code = -1;
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user