Use k_getpw{name,uid} and strtok_r
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1051 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -415,7 +415,7 @@ rd_and_store_for_creds(inbuf, ticket, lusername)
|
||||
return(retval);
|
||||
}
|
||||
|
||||
if (!(pwd = (struct passwd *) k_getpwnam(lusername))) {
|
||||
if (!(pwd = k_getpwnam(lusername))) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user