Lines Matching refs:pw_name
255 afp_versions[afp_version_index].av_name, pwd->pw_name);
273 pwd->pw_name, pwd->pw_uid, addr_net, addr_node, nodename);
279 fprintf(fp, "%s:%d\n", pwd->pw_name, mypid);
287 fprintf(fp, "%s:%d\n", pwd->pw_name, mypid);
310 LOG(log_info, logtype_afpd, "admin login -- %s", pwd->pw_name );
334 sprintf( hostname, "%s@%s", pwd->pw_name, clientname );
336 if( sia_become_user( NULL, argc, argv, hostname, pwd->pw_name,
345 LOG(log_error, logtype_afpd, "login: %s %s", pwd->pw_name, strerror(errno) );
351 LOG(log_error, logtype_afpd, "login: %s %s", pwd->pw_name, strerror(errno) );
404 if (initgroups(pwd->pw_name, pwd->pw_gid) < 0)
405 LOG(log_error, logtype_afpd, "initgroups(%s, %d): %s", pwd->pw_name, pwd->pw_gid, strerror(errno));
408 LOG(log_error, logtype_afpd, "login: %s getgroups: %s", pwd->pw_name, strerror(errno));
420 LOG(log_error, logtype_afpd, "login: %s getgroups: %s", pwd->pw_name, strerror(errno));