Lines Matching refs:service
177 char *service = NULL;
180 if ((r = sshpkt_get_cstring(ssh, &service, NULL)) != 0 ||
187 if (strcmp(service, "ssh-userauth") == 0) {
195 /* XXX all other service requests are denied */
199 (r = sshpkt_put_cstring(ssh, service)) != 0 ||
204 debug("bad service request %s", service);
205 ssh_packet_disconnect(ssh, "bad service request %s", service);
210 free(service);
263 char *user = NULL, *service = NULL, *method = NULL, *style = NULL;
271 (r = sshpkt_get_cstring(ssh, &service, NULL)) != 0 ||
274 debug("userauth-request for user %s service %s method %s", user, service, method);
285 if (authctxt->pw && strcmp(service, "ssh-connection")==0) {
297 authctxt->service = xstrdup(service);
299 mm_inform_authserv(service, style);
307 strcmp(service, authctxt->service) != 0) {
308 ssh_packet_disconnect(ssh, "Change of username or service "
310 authctxt->user, authctxt->service, user, service);
337 free(service);