init-creds (55682) | init-creds (178825) |
---|---|
1Currently, getting an initial ticket for a user involves many function 2calls, especially when a full set of features including password 3expiration and challenge preauthentication is desired. In order to 4solve this problem, a new api is proposed. 5 6typedef struct _krb5_prompt { 7 char *prompt; 8 int hidden; --- 79 unchanged lines hidden (view full) --- 88the function. 89 90If a pointer to a credential is specified, the initial credential is 91filled in. If the caller only wishes to do a simple password check 92and will not be doing any other kerberos functions, then a NULL 93pointer may be specified, and the credential will be destroyed. 94 95If the client name is non-NULL, the initial ticket requested will be | 1Currently, getting an initial ticket for a user involves many function 2calls, especially when a full set of features including password 3expiration and challenge preauthentication is desired. In order to 4solve this problem, a new api is proposed. 5 6typedef struct _krb5_prompt { 7 char *prompt; 8 int hidden; --- 79 unchanged lines hidden (view full) --- 88the function. 89 90If a pointer to a credential is specified, the initial credential is 91filled in. If the caller only wishes to do a simple password check 92and will not be doing any other kerberos functions, then a NULL 93pointer may be specified, and the credential will be destroyed. 94 95If the client name is non-NULL, the initial ticket requested will be |
96for that principal. Otherwise, the principal will be the the username | 96for that principal. Otherwise, the principal will be the username |
97specified by the USER environment variable, or if the USER environment 98variable is not set, the username corresponding to the real user id of 99the caller. 100 101If the password is non-NULL, then this string is used as the password. 102Otherwise, the prompter function will be used to prompt the user for 103the password. 104 --- 270 unchanged lines hidden --- | 97specified by the USER environment variable, or if the USER environment 98variable is not set, the username corresponding to the real user id of 99the caller. 100 101If the password is non-NULL, then this string is used as the password. 102Otherwise, the prompter function will be used to prompt the user for 103the password. 104 --- 270 unchanged lines hidden --- |