Lines Matching refs:user
74 static int mkrecord(struct passwd_ctx *ctx, char *user)
85 ctx->out = apr_pstrcat(ctx->pool, user, ":", hash_str, NL, NULL);
113 " -D Delete the specified user." NL
114 " -v Verify password for the specified user." NL
160 struct passwd_ctx *ctx, unsigned *mask, char **user,
235 *user = apr_pstrdup(pool, argv[i++]);
236 if ((arg = strchr(*user, ':')) != NULL) {
279 char *user = NULL;
320 check_args(argc, argv, &ctx, &mask, &user, &pwfilename);
366 i = mkrecord(&ctx, user);
398 * one to the temporary file until we find the specified user.
421 * See if this is our user.
439 if (strcmp(user, scratch) != 0) {
444 /* We found the user we were looking for */
457 apr_file_printf(errfile, "Empty hash for user %s" NL,
458 user);
480 apr_file_printf(errfile, "User %s not found" NL, user);
484 apr_file_printf(errfile, "User %s not found" NL, user);
493 apr_file_printf(errfile, "Password for user %s correct." NL, user);
497 apr_file_printf(errfile, "password for user %s" NL, user);