1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix from Stefan "metze" Metzmacher <metze@metzemix.de> to prevent us

overwriting an old MACHINE.SID sid.
Jeremy.
This commit is contained in:
Jeremy Allison 0001-01-01 00:00:00 +00:00
parent af4c3734b5
commit 896d4fac98

View File

@ -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);