From 9e2a098a0abed616d2db4fba2847083b7e118f3f Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 25 Feb 2004 23:12:29 +0000 Subject: Fix bug in previous global_sam_sid() commit. I broke the 'read from MACHINE.SID' file functionality. Also, before we print out the results of 'net getlocalsid' and 'net getdomainsid', ensure we have tried to read that file, or have generated one. Andrew Bartlett (This used to be commit 191b43159e7358541be9a3deac8c447885145442) --- source3/passdb/machine_sid.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source3/passdb/machine_sid.c') diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c index f52e7116b0..47b9e2d487 100644 --- a/source3/passdb/machine_sid.c +++ b/source3/passdb/machine_sid.c @@ -163,7 +163,6 @@ static DOM_SID *pdb_generate_sam_sid(void) /* Stored the old sid from MACHINE.SID successfully.*/ SAFE_FREE(fname); - SAFE_FREE(sam_sid); return sam_sid; } -- cgit