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

I have a script which gets run through devops daily and has been running daily for the past 6 months. The point of the script is to monitor group membership...

I'm trying to import Pyad and get the active user directory when i'm shown this error: > Traceback (most recent call last): > File ".\test.py", line 9, in > q.execute_query(...

Hi, I am trying to connect to an active directory and search for a user on my domain. But I am getting below error while searching using common name(from_cn) &...

Hello, I am trying to rename a global security group. It partially works. The Samaccountname isn't modified, the CN is. And I always have an error : Traceback (most recent...

If get_expiration is called and addomain is not imported, an AttributeError is raised: Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright",...

Required for pyad to work, seems like it should be a required dependency

Traceback (most recent call last): File "pyad\aduser.py", line 22, in set_password File "", line 2, in SetPassword pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2147016672), None) During handling...

Escape sequences \+ \* \( \) and \/ are invalid and produce a DeprecationWarning as of Python version 3.6.

`from pyad import * pyad.set_defaults(ldap_server="172.--------", username="ad.manager", password="*******") ou = pyad.adcontainer.ADContainer.from_dn("ou=POC, dc=SWINTERNAL, dc=LOCAL") pyad.aduser.ADUser.disable("test1") File "C:\Users\vd.gokkulkumar\AppData\Local\Programs\Python\Python37\lib\site-packages\pyad\adobject.py", line 385, in disable if self._ldap_adsi_obj.AccountDisabled == False: AttributeError: 'str' object has no attribute '_ldap_adsi_obj'`

Querying for IPv4Address attribute results in error. ``` from pyad import * import json q = adquery.ADQuery() q.execute_query( attributes = ["ipv4address"], where_clause = "objectClass = '*'", base_dn = "CN=Computers, DC=lab01,...