-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not rely on Samba to generate a new system SID and make randomized SID persistent across server changes. This is to help prevent admin foot-shooting when they choose to make major server changes that force Samba to regnerate a new SID and thus invalidate their share ACLs. on production servers. Since local user / group RID values are deterministic based on the id key for user / group accounts, populate `sid` key in user.query and group.query extend methods. Apply similar logic to short-circuit SID conversion. The nt_name key provides little value to API consumers and so remove for account entries. Remove subprocess call to `net groupmap` in favor of using our tdb utilities to directly alter the group_mapping.tdb file. This generally performs better and avoids having to synchronize group mappings during group CRUD methods.
- Loading branch information
Showing
16 changed files
with
946 additions
and
485 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.