Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Can't delete user(s) from a Windows local group

$
0
0
Any ideas what the issue may be with deleting a user/member from a windows local group? group {'remove from Administrators': name => 'Administrators', ensure => absent, auth_membership => false, members => $mymembers, } This is the result. Almost seems like it's trying to remove the actual group? Error: Could not set 'absent' on ensure: (in OLE method `Delete': ) OLE error code:8007055B in Active Directory Cannot perform this operation on built-in accounts. HRESULT error code:0x80020009 Exception occurred. at 25:/etc/puppetlabs/code/environments/production/modules/localgroup/manifests/fallback.pp Wrapped exception: (in OLE method `Delete': ) OLE error code:8007055B in Active Directory Cannot perform this operation on built-in accounts. HRESULT error code:0x80020009 Exception occurred. Error: /Stage[main]/localgroup::Fallback/Group[SPT Support remove from Administrators]/ensure: change from present to absent failed: Could not set 'absent' on ensure: (in OLE method `Delete': ) OLE error code:8007055B in Active Directory Cannot perform this operation on built-in accounts. HRESULT error code:0x80020009 Exception occurred. at 25:/etc/puppetlabs/code/environments/production/modules/localgroup/manifests/fallback.pp

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>