diff options
-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 8895b62c4..54cd714a4 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -3538,7 +3538,8 @@ static errno_t sysdb_search_object_by_str_attr(TALLOC_CTX *mem_ctx, TALLOC_CTX *tmp_ctx; const char *def_attrs[] = { SYSDB_NAME, SYSDB_UIDNUM, SYSDB_GIDNUM, ORIGINALAD_PREFIX SYSDB_NAME, - SYSDB_OBJECTCLASS, NULL }; + SYSDB_DEFAULT_ATTRS, + NULL }; struct ldb_dn *basedn; int ret; struct ldb_result *res = NULL; |