33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
From c61b3f050d82785525c845b839f545b5114b47f5 Mon Sep 17 00:00:00 2001
|
|
From: Jakub Hrozek <jhrozek@redhat.com>
|
|
Date: Mon, 30 Mar 2015 12:18:23 +0200
|
|
Subject: [PATCH 66/99] sysdb: Add cache_expire to the default
|
|
sysdb_search_object_by_str_attr set
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
|
|
(cherry picked from commit ce6f3b6b2925d2c3ec02a76c3a1b6fbe4c7b145e)
|
|
---
|
|
src/db/sysdb_ops.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c
|
|
index 37529fd12c2c5c6896a2ca71293a61f93ba0eee3..ea786d59158eb8a82952c7e457ea83286abbf2c4 100644
|
|
--- a/src/db/sysdb_ops.c
|
|
+++ b/src/db/sysdb_ops.c
|
|
@@ -3543,7 +3543,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;
|
|
--
|
|
2.4.0
|
|
|