summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/passdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index cfa39685e3..616ebf2252 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -1249,7 +1249,7 @@ BOOL local_sid_to_gid(gid_t *pgid, const DOM_SID *psid, enum SID_NAME_USE *name_
the GROUP_MAP object */
become_root();
- pdb_getgrsid(&group, *psid);
+ ret = pdb_getgrsid(&group, *psid);
unbecome_root();
if ( !ret ) {