pyad icon indicating copy to clipboard operation
pyad copied to clipboard

Python Active Directory Tools | *Not actively maintained*

Results 71 pyad issues
Sort by recently updated
recently updated
newest added

Hello im so new to python.I m able to create a user.But when i try to disable user.I didnt understand how can i show the Ad object.It writes (self) what...

Add support for ms-DS-User-Account-Control-Computed ( https://docs.microsoft.com/en-us/windows/desktop/ADSchema/a-msds-user-account-control-computed ), and add get_account_expired method which checks the calculated value. (First issue submission, also I'm working on this PR, let me know if I'm...

Hi, I don't work much with AD but I am trying to write a script that reads through a list of mac addresses in a txt file and adds a...

This is what I get: Traceback (most recent call last): File ".\ldap_test2.py", line 7, in q = adquery.ADQuery() File "C:\Program Files (x86)\Python\Python36-32\lib\site-packages\pyad\adquery.py", line 39, in __init__ self.__adodb_conn.Open("Provider=ADSDSOObject") File "", line...

What could be causing this issue? I created the user and it seems to have worked, but then delete fails: ``` In [30]: aduser.ADUser.from_cn("lrhazi-test").delete() --------------------------------------------------------------------------- AttributeError Traceback (most recent call...

i'm using pyad 0.5.20 to do many operations on active directories which user can specify their connection details for example: ` pyad.set_defaults(ldap_server="my.server", username=myusername, password=xxx,ssl=False,ldap_port=123)` And then i can for example...

In some situations, users still receive an error when a root domain is not available because the machine is not joined to a domain. You should be able to import...

Bug

PIP installation fails with 'pip install pyad' with the following result: Collecting pyad Downloading pyad-0.5.14.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line...

Code: computer = adcomputer.ADComputer.from_cn('WS-490') # computer.rename('WS-4900') Traceback (most recent call last): File "C:\Users\Administrator\Desktop\utility\test.py", line 25, in computer.rename('WS-4900') File "C:\Python27\lib\site-packages\pyad\adobject.py", line 419, in rename parent = self.parent_container File "C:\Python27\lib\site-packages\pyad\adobject.py", line 517,...

Bug

So i've set the defaults to the remote server and with the administrator username and password. `pyad.set_defaults(ldap_server="[server_ip]", username="administrator", password="[admin_password")` then i query the user and the container i want to...