summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/pdb_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index d67e04ec9c4..6b6b1061cbc 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -1219,7 +1219,7 @@ bool pdb_id_to_sid(struct unixid *id, struct dom_sid *sid)
ret = pdb->id_to_sid(pdb, id, sid);
- if (ret == true) {
+ if (ret) {
idmap_cache_set_sid2unixid(sid, id);
}