diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-21 23:41:42 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-24 18:23:15 +0200 |
commit | 95f5e7963a36b7b68859ce91ae4b232088bbaa09 (patch) | |
tree | b5216b8dc726d1539d9960a43957cb9da2e1ebd1 /src/db/sysdb_autofs.c | |
parent | 77f445dbaecc8e792e1ad42e3742800ad141bee0 (diff) | |
download | sssd-95f5e7963a36b7b68859ce91ae4b232088bbaa09.tar.gz sssd-95f5e7963a36b7b68859ce91ae4b232088bbaa09.tar.xz sssd-95f5e7963a36b7b68859ce91ae4b232088bbaa09.zip |
SYSDB: Remove unnecessary domain parameter from several sysdb calls
The domain can be read from the sysdb object. Removing the domain string
makes the API more self-contained.
Diffstat (limited to 'src/db/sysdb_autofs.c')
-rw-r--r-- | src/db/sysdb_autofs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/sysdb_autofs.c b/src/db/sysdb_autofs.c index bf4e9b172..c5ec4c8c6 100644 --- a/src/db/sysdb_autofs.c +++ b/src/db/sysdb_autofs.c @@ -31,8 +31,7 @@ sysdb_autofsmap_dn(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, const char *map_name) { - return sysdb_custom_dn(sysdb, mem_ctx, sysdb->domain->name, - map_name, AUTOFS_MAP_SUBDIR); + return sysdb_custom_dn(sysdb, mem_ctx, map_name, AUTOFS_MAP_SUBDIR); } static struct ldb_dn * |