summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb_ops.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-09-21 20:01:28 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 18:18:30 +0200
commitf17d26a8db285622a5cd5f21c7488b62eedc2cf8 (patch)
tree76d03fe08802e2823f6ccc76cfcfca0e5a9cdb14 /src/db/sysdb_ops.c
parentc7efe2545f691fc81478e0cfe61a43bbc83acc72 (diff)
downloadsssd-f17d26a8db285622a5cd5f21c7488b62eedc2cf8.tar.gz
sssd-f17d26a8db285622a5cd5f21c7488b62eedc2cf8.tar.xz
sssd-f17d26a8db285622a5cd5f21c7488b62eedc2cf8.zip
AUTOFS: Add entry objects below map objects
https://fedorahosted.org/sssd/ticket/1506 Changes how the new autofs entry objects are handled. Instead of creating the entry on the cn=autofs,cn=custom level, the entry is created below the map it belongs to.
Diffstat (limited to 'src/db/sysdb_ops.c')
-rw-r--r--src/db/sysdb_ops.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
index 33abd06b2..52da27d3c 100644
--- a/src/db/sysdb_ops.c
+++ b/src/db/sysdb_ops.c
@@ -1790,21 +1790,6 @@ sysdb_group_membership_mod(struct sysdb_ctx *sysdb,
ret = ENOMEM;
goto done;
}
- } else if (type == SYSDB_MEMBER_AUTOFSENTRY) {
- /* FIXME - I don't like autofs specific stuff in sysdb_ops.c
- * Maybe we should introduce sysdb_common.c ?
- */
- member_dn = sysdb_autofsentry_dn(tmp_ctx, sysdb, member);
- if (!member_dn) {
- ret = ENOMEM;
- goto done;
- }
-
- group_dn = sysdb_autofsmap_dn(tmp_ctx, sysdb, group);
- if (!group_dn) {
- ret = ENOMEM;
- goto done;
- }
} else {
ret = EINVAL;
goto done;
@@ -3117,10 +3102,6 @@ errno_t sysdb_remove_attrs(struct sysdb_ctx *sysdb,
case SYSDB_MEMBER_SERVICE:
msg->dn = sysdb_svc_dn(sysdb, msg, sysdb->domain->name, name);
break;
-
- case SYSDB_MEMBER_AUTOFSENTRY:
- msg->dn = sysdb_autofsmap_dn(msg, sysdb, name);
- break;
}
if (!msg->dn) {
ret = ENOMEM;