diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 01:09:05 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | 52c72ae8587d8d47393a891ccd4ef06bd4bef856 (patch) | |
tree | a396907f3550ca171c216540db61f1f9b6cdc8d1 /src/db/sysdb.c | |
parent | 3613cc1eba1337256a2d06ba7a84532156139ccd (diff) | |
download | sssd-52c72ae8587d8d47393a891ccd4ef06bd4bef856.tar.gz sssd-52c72ae8587d8d47393a891ccd4ef06bd4bef856.tar.xz sssd-52c72ae8587d8d47393a891ccd4ef06bd4bef856.zip |
Make sysdb_group_dn() require a domain explictly.
Diffstat (limited to 'src/db/sysdb.c')
-rw-r--r-- | src/db/sysdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c index b7951d32a..f7ca64019 100644 --- a/src/db/sysdb.c +++ b/src/db/sysdb.c @@ -172,7 +172,7 @@ struct ldb_dn *sysdb_user_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx, } struct ldb_dn *sysdb_group_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx, - const char *name) + struct sss_domain_info *dom, const char *name) { errno_t ret; char *clean_name; @@ -184,7 +184,7 @@ struct ldb_dn *sysdb_group_dn(struct sysdb_ctx *sysdb, TALLOC_CTX *mem_ctx, } dn = ldb_dn_new_fmt(mem_ctx, sysdb->ldb, SYSDB_TMPL_GROUP, - clean_name, sysdb->domain->name); + clean_name, dom->name); talloc_free(clean_name); return dn; |