Searched defs:user_dir (Results 1 - 3 of 3) sorted by relevance

/sssd-io/src/providers/ipa/
H A Dipa_session.c448 char *user_dir; member in struct:ipa_pam_session_handler_state
469 const char *user_dir,
475 const char *user_dir,
513 &state->user_dir,
527 ret = ipa_deskprofile_rules_remove_user_dir(state->user_dir,
590 state->user_dir,
632 char *user_dir; local
650 user_dir = talloc_asprintf(tmp_ctx, IPA_DESKPROFILE_RULES_USER_DIR"/%s/%s",
652 if (user_dir == NULL) {
687 *_user_dir = talloc_steal(mem_ctx, user_dir);
697 ipa_pam_session_handler_save_deskprofile_rules( struct be_ctx *be_ctx, struct sss_domain_info *domain, const char *username, const char *user_dir, const char *hostname, uid_t uid, gid_t gid) argument
816 ipa_pam_session_handler_notify_deskprofile_client(uid_t uid, const char *user_dir, uint16_t prio) argument
[all...]
H A Dipa_deskprofile_rules_util.c980 ipa_deskprofile_rules_remove_user_dir(const char *user_dir, argument
1011 ret = sss_remove_subtree(user_dir);
1015 user_dir, ret, sss_strerror(ret));
1039 ret = sss_remove_tree(user_dir);
1045 user_dir, ret, sss_strerror(ret));
/sssd-io/src/tests/
H A Dkrb5_utils-tests.c102 char *user_dir; local
118 user_dir = talloc_asprintf(tmp_ctx, "%s/%s/user", cwd, TESTS_PATH);
120 fail_unless(user_dir != NULL, "talloc_asprintf failed.");
121 ret = mkdir(user_dir, 0700);
123 ret = chown(user_dir, uid, gid);
126 dn1 = talloc_asprintf(tmp_ctx, "%s/a", user_dir);
135 ret = chmod(user_dir, 0600);
141 ret = chmod(user_dir, 0700);
152 RMDIR(user_dir);
252 dirname = talloc_asprintf(tmp_ctx, "%s/%s/user_dir",
[all...]

Completed in 807 milliseconds