56 |
seteuid(ruid); /* Drop root privileges. */ |
seteuid(ruid); /* Drop root privileges. */ |
57 |
#endif |
#endif |
58 |
|
|
59 |
setlocale(LC_CTYPE, ""); |
setlocale(LC_ALL, ""); |
60 |
|
|
61 |
f = 0; |
f = 0; |
62 |
home = getenv("HOME"); |
home = getenv("HOME"); |
161 |
|
|
162 |
r = greeting_response(&sockpri); |
r = greeting_response(&sockpri); |
163 |
|
|
|
if (check_capabilities(&sockpri)) |
|
|
continue; |
|
|
|
|
164 |
#ifdef DEBUG |
#ifdef DEBUG |
165 |
test(&sockpri); |
test(&sockpri); |
166 |
#endif |
#endif |
167 |
|
|
168 |
|
if (check_capabilities(&sockpri)) |
169 |
|
continue; |
170 |
|
|
171 |
log_info(LOG_ACCOUNT, ca->key); |
log_info(LOG_ACCOUNT, ca->key); |
172 |
|
|
173 |
if (r != RESPONSE_PREAUTH) { |
if (r != RESPONSE_PREAUTH) { |