Lines Matching refs:password
50 unsigned char *password=NULL;
62 krb5_set_error_message(context, st, gettext("LDAP bind password value missing"));
68 if ((st=krb5_ldap_readpassword(context, ldap_context, &password)) != 0) {
69 prepend_err_str(context, gettext("Error reading password from stash: "), st, st);
73 /* Check if the returned 'password' is actually the path of a certificate */
74 if (!strncmp("{FILE}", (char *)password, 6)) {
75 /* 'password' format: <path>\0<password> */
76 ldap_context->service_cert_path = strdup((char *)password + strlen("{FILE}"));
82 if (password[strlen((char *)password) + 1] == '\0')
85 ldap_context->service_cert_pass = strdup((char *)password +
86 strlen((char *)password) + 1);
93 free(password);
95 ldap_context->bind_pwd = (char *)password;
98 krb5_set_error_message(context, st, gettext("Error reading password from stash"));
104 /* NULL password not allowed */
107 krb5_set_error_message(context, st, gettext("Service password length is zero"));
147 /* password based simple bind */