diff options
-rw-r--r-- | src/db/sysdb.h | 1 | ||||
-rw-r--r-- | src/db/sysdb_ranges.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index ed00c165..35888977 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -43,7 +43,6 @@ #define SYSDB_TMPL_RANGE_BASE SYSDB_RANGE_CONTAINER",cn=%s,"SYSDB_BASE #define SYSDB_SUBDOMAIN_CLASS "subdomain" -#define SYSDB_RANGE_CLASS "idrange" #define SYSDB_USER_CLASS "user" #define SYSDB_GROUP_CLASS "group" #define SYSDB_NETGROUP_CLASS "netgroup" diff --git a/src/db/sysdb_ranges.c b/src/db/sysdb_ranges.c index adbabf7b..f49a184f 100644 --- a/src/db/sysdb_ranges.c +++ b/src/db/sysdb_ranges.c @@ -75,7 +75,7 @@ errno_t sysdb_get_ranges(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, } ret = ldb_search(sysdb->ldb, tmp_ctx, &res, basedn, LDB_SCOPE_ONELEVEL, - attrs, "objectclass=%s", SYSDB_RANGE_CLASS); + attrs, "objectclass=%s", SYSDB_ID_RANGE_CLASS); if (ret != LDB_SUCCESS) { ret = EIO; goto done; |