diff options
author | Sumit Bose <sbose@redhat.com> | 2014-10-02 18:10:39 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-10-20 16:15:26 +0200 |
commit | a983272f1afa8dbae3ecd4425b04649601732a71 (patch) | |
tree | 7a7d49377fd903e202718a5c76c43e0c1154b0a7 /src/db | |
parent | afbe298d8d99c037056c1d3878812d98783309b0 (diff) | |
download | sssd-a983272f1afa8dbae3ecd4425b04649601732a71.tar.gz sssd-a983272f1afa8dbae3ecd4425b04649601732a71.tar.xz sssd-a983272f1afa8dbae3ecd4425b04649601732a71.zip |
sid2name: return name without views applied
Make sure that the original name of an object without any overrides
applied is returned by sid2name requests.
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/sysdb_ops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 1d51119d7..c88ff9b4b 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -3507,6 +3507,7 @@ errno_t sysdb_search_object_by_sid(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 }; struct ldb_dn *basedn; int ret; |