Closed doesitblend closed 6 years ago
@doesitblend I am able to reproduce this. I don't see an obvious fix right now, but as a workaround, you could use the short name like this:
configure_take_ownership:
lgpo.set:
- computer_policy:
SeTakeOwnershipPrivilege: Administrators
@lomeroe Do you see anything here? Everything looks right to me.
The policy's "name" in the module is incorrectly "Take ownership of files and other objects"
'SeTakeOwnershipPrivilege': {
'Policy': 'Take ownership of files and other objects',
'lgpo_section': self.user_rights_assignment_gpedit_path,
'Settings': None,
'LsaRights': {
'Option': 'SeTakeOwnershipPrivilege'
},
@lomeroe Crap. I went over that thing a hundred times (or so it seemed). Thanks! I should have caught that.
Description of Issue/Question
Trying to configure "Take ownership of files or other objects" and getting
Reviewing the code in
win_lgpo.py
it appears there is an entry for this policy to be configured. However, there are no settings for it. I think this may be the cause for the policy "Not Found" error. The code for this appears to be the same between thedevelop
branch and the2017.7.4
branch.Setup
Install the Python 3 version of 2017.7.4 minion on Windows Server 2016.
Try to execute the following state:
Versions Report