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:
parent
af4c3734b5
commit
896d4fac98
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user