summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/machine_sid.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index af66471a39..6436a2cd05 100644
--- a/source3/passdb/machine_sid.c
+++ b/source3/passdb/machine_sid.c
@@ -139,6 +139,11 @@ BOOL pdb_generate_sam_sid(void)
return False;
}
}
+
+ /* Stored the old sid from MACHINE.SID successfully.
+ Patch from Stefan "metze" Metzmacher <metze@metzemix.de>*/
+ SAFE_FREE(fname);
+ return True;
}
SAFE_FREE(fname);