diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-07 21:34:24 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:53:01 +0100 |
commit | 777f5bc1fb5f2ba4267de83843beee51090eb8d5 (patch) | |
tree | e50bb73fe7fadfcbbe011800d1dd1945ef5279f8 /src/db/sysdb_ops.c | |
parent | 363ce75bfe2f73198e1ae7feeed97b6009ae24b8 (diff) | |
download | sssd-777f5bc1fb5f2ba4267de83843beee51090eb8d5.tar.gz sssd-777f5bc1fb5f2ba4267de83843beee51090eb8d5.tar.xz sssd-777f5bc1fb5f2ba4267de83843beee51090eb8d5.zip |
Add domain argument to sysdb_cache_password()
Diffstat (limited to 'src/db/sysdb_ops.c')
-rw-r--r-- | src/db/sysdb_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index b8682608c..3da1d74bb 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -1945,6 +1945,7 @@ int sysdb_remove_group_member(struct sysdb_ctx *sysdb, /* =Password-Caching====================================================== */ int sysdb_cache_password(struct sysdb_ctx *sysdb, + struct sss_domain_info *domain, const char *username, const char *password) { @@ -1988,7 +1989,7 @@ int sysdb_cache_password(struct sysdb_ctx *sysdb, if (ret) goto fail; - ret = sysdb_set_user_attr(sysdb, sysdb->domain, + ret = sysdb_set_user_attr(sysdb, domain, username, attrs, SYSDB_MOD_REP); if (ret) { goto fail; |