Home | History | Annotate | Download | only in cups

Lines Matching refs:username

61   char *username;
166 * Nope, see if we should retry the current username:password...
180 /* Default username */
187 if (httpGetSubField(http, HTTP_FIELD_WWW_AUTHENTICATE, "username",
267 "username=\"%s\", realm=\"%s\", nonce=\"%s\", uri=\"%s\", "
347 userbuf[256]; /* Kerberos username */
348 const char *username, /* Username string */
369 username = cupsUser();
370 if (!strchr(username, '@'))
372 snprintf(userbuf, sizeof(userbuf), "%s@%s", username, http->gsshost);
373 username = userbuf;
378 identity.username = (char *)username;
751 * domain socket; if so, specify "PeerCred username" as the authentication
771 const char *username; /* Current username */
773 username = cupsUser();
775 if ((pwd = getpwnam(username)) != NULL && pwd->pw_uid == getuid())
777 httpSetAuthString(http, "PeerCred", username);