Home | History | Annotate | Download | only in ftpd

Lines Matching defs:curname

212 static char	*curname;		/* current USER name */
213 static size_t curname_len; /* length of curname (include NUL) */
502 curname = malloc(curname_len);
503 if (curname == NULL) {
507 curname[0] = '\0';
933 strlcpy(curname, name, curname_len);
936 permitted = checkuser(_NAME_FTPUSERS, curname, 1, 0, &class);
942 if (checkuser(_NAME_FTPCHROOT, curname, 0, 0, NULL)
994 reply(530, "User %s may not use FTP.", curname);
997 remoteloghost, curname);
1011 if (skey_haskey(curname) == 0) {
1014 myskey = skey_keyinfo(curname);
1017 curname);
1020 reply(331, "Password required for %s.", curname);
1425 remoteloghost, curname);
3889 * pw maybe be updated to a new user if PAM_USER changes from curname.
3898 ftpd_cred_t auth_cred = { curname, 0 };
3902 e = pam_start("ftpd", curname, &conv, &pamh);
3939 curname, e);
3969 curname, pw->pw_name);
3970 (void)strlcpy(curname, pw->pw_name,