Skip to content

Commit

Permalink
SYSDB: Update filter for get object by id
Browse files Browse the repository at this point in the history
Resolves:
https://fedorahosted.org/sssd/ticket/3283

Reviewed-by: Pavel Březina <pbrezina@redhat.com>
(cherry picked from commit 2a2014d)
  • Loading branch information
Lukas Slebodnik committed Feb 21, 2018
1 parent 4814454 commit 353853d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/sysdb.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
#define SYSDB_SID_FILTER "(&(|("SYSDB_UC")("SYSDB_GC"))("SYSDB_SID_STR"=%s))"
#define SYSDB_UUID_FILTER "(&(|("SYSDB_UC")("SYSDB_GC"))("SYSDB_UUID"=%s))"
#define SYSDB_NAME_FILTER "(&(|("SYSDB_UC")("SYSDB_GC"))(|("SYSDB_NAME_ALIAS"=%s)("SYSDB_NAME"=%s)))"
#define SYSDB_ID_FILTER "(&(|("SYSDB_UC")("SYSDB_GC"))(|("SYSDB_UIDNUM"=%u)("SYSDB_GIDNUM"=%u)))"
#define SYSDB_ID_FILTER "(|(&("SYSDB_UC")("SYSDB_UIDNUM"=%u))(&("SYSDB_GC")("SYSDB_GIDNUM"=%u)))"
#define SYSDB_USER_CERT_FILTER "(&("SYSDB_UC")%s)"

#define SYSDB_HAS_ENUMERATED "has_enumerated"
Expand Down

0 comments on commit 353853d

Please sign in to comment.