Lines Matching +defs:user +defs:attr
65 #define NEW_ATTR(p, i, attr, val) \
67 p[i] = new_attr(attr, (val)); \
179 * int ldap_user_to_authenticate(user, rep, auth_user, privileged)
185 * we can't determine whether the user is "privileged" in the LDAP
187 * user had privileges. For our purposes, we say that the user is
188 * privileged if he/she is attempting to change another user's
192 ldap_user_to_authenticate(char *user, pwu_repository_t *rep,
200 if (strcmp(user, "root") == 0)
203 if ((pw = getpwnam_from(user, rep, REP_LDAP)) == NULL)
237 STRDUP_OR_ERR(*auth_user, user, res);
248 STRDUP_OR_RET(*auth_user, user);
256 * we want 'user' to be authenticated.
267 /* hmm. can't find name of current user...??? */
284 * retrieve attributes specified in "item" for user "name".
621 * passwd attr array and break.
632 * shadowFlag, in the shadow attr array.
815 * user has no password, otherwise the user
1002 /* Fill in the user name and password */
1141 char *dn; /* dn of user whose attributes we are changing */
1142 char *binddn; /* dn of user who is performing the change */
1155 * convert name of user whose attributes we are changing
1176 * the requested change. We need to send the name of the user
1179 * If this is executed by a normal user changing his/her own
1182 * Specific case if the user who is executing this piece
1184 * with the DN of the user we want to change the passwd of.
1188 * create a dn for the user who is executing this code