OUga huquqlarni topshirish uchun dsacls yordam dasturidan foydalanishingiz mumkin . Masalan:
dsacls "ou=users,ou=msk, dc=winitpro,dc=ru" /I:S /G "WINITPRO\HELPDESK:CA;Reset Password;user" "WINITPRO\HELPDESK:WP;pwdLastSet;user" "WINITPRO\HELPDESK:WP;lockoutTime;user
PowerShell-dan foydalanib, tashkilot konteyneriga huquqlarni ham belgilashingiz mumkin (ushbu misolda parolni tiklash huquqlari berilgan):
$ou = "AD:\OU=test,DC=test,DC=com"
$group = Get-ADGroup helpdesk
$sid = new-object System.Security.Principal.SecurityIdentifier $group.SID
$ResetPassword = [GUID]"00299570-246d-11d0-a768-00aa006e0529"
$UserObjectType = "bf967aba-0de6-11d0-a285-00aa003049e2"
$ACL = get-acl $OU
$RuleResetPassword = New-Object System.DirectoryServices.ActiveDirectoryAccessRule ($sid, "ExtendedRight", "Allow", $ResetPassword, "Descendents", $UserObjectType)
$ACL.AddAccessRule($RuleResetPassword)
Set-Acl -Path $OU -AclObject $ACL
Xuddi shunday, PowerShell-dan foydalanib, siz AD tashkiliy konteynerlariga boshqa huquqlarni topshirishingiz mumkin.
Do'stlaringiz bilan baham: |