HomeSort by relevance Sort by last modified time
    Searched refs:authstate (Results 1 - 12 of 12) sorted by null

  /external/dropbear/
svr-auth.c 44 ses.authstate.failcount = 0;
54 memset(&ses.authstate, 0, sizeof(ses.authstate));
56 ses.authstate.authtypes |= AUTH_TYPE_PUBKEY;
60 ses.authstate.authtypes |= AUTH_TYPE_PASSWORD;
100 if (ses.authstate.authdone == 1) {
146 !(svr_opts.norootpass && ses.authstate.pw->pw_uid == 0) ) {
159 !(svr_opts.norootpass && ses.authstate.pw->pw_uid == 0) ) {
204 if (ses.authstate.username == NULL ||
205 strcmp(username, ses.authstate.username) != 0)
    [all...]
svr-authpasswd.c 49 passwdcrypt = ses.authstate.pw->pw_passwd;
52 spasswd = getspnam(ses.authstate.printableuser);
68 ses.authstate.printableuser);
92 ses.authstate.printableuser,
98 ses.authstate.printableuser,
cli-auth.c 37 memset(&ses.authstate, 0, sizeof(ses.authstate));
67 if (ses.authstate.authdone) {
180 ses.authstate.failcount++;
185 ses.authstate.authdone=0;
186 ses.authstate.authtypes=0;
202 ses.authstate.authtypes |= AUTH_TYPE_PUBKEY;
208 ses.authstate.authtypes |= AUTH_TYPE_INTERACT;
214 ses.authstate.authtypes |= AUTH_TYPE_PASSWORD;
232 ses.authstate.authdone = 1
    [all...]
svr-session.c 135 } else if (ses.authstate.authdone) {
139 ses.authstate.printableuser, format);
140 } else if (ses.authstate.printableuser) {
144 ses.authstate.printableuser, ses.authstate.failcount, format);
svr-authpubkey.c 108 ses.authstate.printableuser, fp, svr_ses.addrstring);
113 ses.authstate.printableuser, fp, svr_ses.addrstring);
169 ses.authstate.printableuser, svr_ses.addrstring);
181 len = strlen(ses.authstate.pw->pw_dir);
186 ses.authstate.pw->pw_dir);
269 if (ses.authstate.pw->pw_dir == NULL) {
273 if ((len = strlen(ses.authstate.pw->pw_dir)) == 0) {
280 strncpy(filename, ses.authstate.pw->pw_dir, len+1);
323 if (filestat.st_uid != ses.authstate.pw->pw_uid
334 if (!ses.authstate.perm_warn)
    [all...]
cli-service.c 74 if (ses.authstate.authdone != 1) {
svr-agentfwd.c 153 if ((setegid(ses.authstate.pw->pw_gid)) < 0 ||
154 (seteuid(ses.authstate.pw->pw_uid)) < 0) {
216 if ((setegid(ses.authstate.pw->pw_gid)) < 0 ||
217 (seteuid(ses.authstate.pw->pw_uid)) < 0) {
svr-authpam.c 198 userData.user = ses.authstate.printableuser;
224 ses.authstate.printableuser,
235 ses.authstate.printableuser,
243 ses.authstate.printableuser,
svr-service.c 59 if (ses.authstate.authdone != 1) {
svr-chansession.c 275 li = login_alloc_entry(chansess->pid, ses.authstate.username,
550 pty_setowner(ses.authstate.pw, chansess->tty);
607 ses.authstate.printableuser, chansess->cmd);
610 ses.authstate.printableuser);
786 li= login_alloc_entry(getpid(), ses.authstate.username,
798 len = strlen(ses.authstate.pw->pw_dir) + 11;
801 snprintf(hushpath, len, "%s/hushlogin", ses.authstate.pw->pw_dir);
911 if ((setgid(ses.authstate.pw->pw_gid) < 0) ||
912 (initgroups(ses.authstate.pw->pw_name,
913 ses.authstate.pw->pw_gid) < 0))
    [all...]
process-packet.c 100 if ( !ses.authstate.authdone && type > MAX_UNAUTH_PACKET_TYPE ) {
session.h 151 struct AuthState authstate; /* Common amongst client and server, since most member in struct:sshsession

Completed in 538 milliseconds