char **out_fcmd;
{
struct passwd *pwd;
- char * kuser;
char *princname;
int k5login_flag =0;
int k5users_flag =0;
krb5_error_code retval;
char * line;
-char * fprinc, *cmd;
+char * fprinc;
char * lp;
krb5_boolean loc_found = FALSE;
char ** tmp_fcmd;
char * path_ptr, *path;
char * lp, * tc;
-krb5_boolean found = FALSE;
int i=0;
tmp_fcmd = (char **) calloc (MAX_CMD, sizeof(char *));
*out_fcmd = tmp_fcmd;
return TRUE;
}else{
- int size;
- char * cmd_path_str = "";
-
/* must be either full path or just the cmd name */
if (strchr(fcmd, '/')){
err = (char *) calloc((strlen(fcmd) +200) ,sizeof(char));
char * cc_def_name;
char * cc_other_name;
krb5_error_code retval=0;
-krb5_cc_cursor cur;
-krb5_creds creds, temp_tktq, temp_tkt;
-int code= 0;
krb5_creds ** cc_def_creds_arr = NULL;
krb5_creds ** cc_other_creds_arr = NULL;
-uid_t eff_uid, eff_gid;
struct stat st_temp;
cc_other = (krb5_ccache *) calloc(1, sizeof (krb5_ccache));
krb5_principal temp_principal;
krb5_creds ** ccs_creds_arr = NULL;
int i=0;
-uid_t eff_uid, eff_gid;
struct stat st_temp;
ccs_name = krb5_cc_get_name(ccs);
{
int i = 0;
-int j = 0;
krb5_error_code retval = 0;
krb5_creds ** temp_creds= NULL;
-krb5_boolean cmp;
krb5_boolean temp_stored = FALSE;
char * cc_def_name;
char * cc_other_name;
krb5_error_code retval=0;
-krb5_cc_cursor cur;
-krb5_creds creds, temp_tktq, temp_tkt;
-int code= 0;
krb5_creds ** cc_def_creds_arr = NULL;
krb5_creds ** cc_other_creds_arr = NULL;
-uid_t eff_uid, eff_gid;
struct stat st_temp;
cc_other = (krb5_ccache *) calloc(1, sizeof (krb5_ccache));
krb5_error_code retval;
char * line, * fprinc, * lp, ** temp_list = NULL;
int count = 0, chunk_count = 1;
- int i =0;
if (!(temp_list = (char **) malloc( CHUNK * sizeof(char *)))){
return errno;
{
struct passwd *pwd;
- FILE *fp;
- int count = 0, chunk_count = 1;
- int k5login_flag =0, i=0;
+ int k5login_flag =0;
int k5users_flag =0;
FILE * login_fp, * users_fp;
char ** k5login_list = NULL, ** k5users_list = NULL;
krb5_boolean *found;
{
krb5_error_code retval =0;
-char * client_name;
krb5_principal temp_client, best_client = NULL;
int i = 0, j=0, cnelem, pnelem;
krb5_boolean got_one;
{
krb5_principal kdc_server;
-krb5_creds tgt, tgtq;
-krb5_ticket * target_tkt;
krb5_error_code retval;
-char * client_name;
krb5_boolean temp_found = FALSE;
char * cc_source_name;
struct stat st_temp;
krb5_boolean *found;
{
-krb5_principal kdc_server;
krb5_creds tgt, tgtq;
-krb5_ticket * target_tkt;
krb5_error_code retval;
-char * client_name;
*found = FALSE;
krb5_ccache cc;
int *path_passwd;
{
-krb5_principal client, server, temp_client;
+krb5_principal client, server;
krb5_creds tgt, tgtq, cred;
krb5_creds **tgts = NULL; /* list of ticket granting tickets */
krb5_ticket * target_tkt; /* decrypted ticket for server */
-int default_client = 1 ;
-struct passwd *pw = NULL;
krb5_error_code retval =0;
-char ** k5login_plist = NULL;
int got_it = 0;
-char * client_name;
krb5_boolean zero_password;
*path_passwd = 0;
krb5_creds tgt, tgtq;
krb5_ticket * target_tkt;
krb5_error_code retval;
-char * client_name;
memset((char *) &tgtq, 0, sizeof(tgtq));
memset((char *) &tgt, 0, sizeof(tgt));
krb5_principal *client;
{
krb5_error_code retval =0;
-char * client_name;
krb5_principal temp_client, best_client = NULL;
int i = 0, nelem;
krb5_ccache cc_target = NULL;
char * cc_target_tag = NULL;
char * target_user = NULL;
-char * source_user, *p;
+char * source_user;
char * local_realm_name = NULL;
krb5_ccache cc_source = NULL;
char * cc_target_tag_tmp=NULL;
char * cmd = NULL, * exec_cmd = NULL;
int errflg = 0;
-uid_t eff_uid, eff_gid;
krb5_boolean auth_val;
krb5_boolean authorization_val = FALSE;
int path_passwd = 0;
int pargc;
char ** pargv;
struct stat st_temp;
-int temp_debug;
krb5_boolean stored = FALSE;
krb5_principal kdc_server;
krb5_boolean zero_password;