Windows error 0x80072032, -2147016654

Detailed Error Information

DS_INVALID_DN_SYNTAX[1]

MessageAn invalid dn syntax has been specified.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code8242 (0x2032)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x00002032.

Questions

2votes
1answer

Python - pyad create user with a comma in their name

I'm trying to create a user using pyad, what I have working is: ou = pyad.adcontainer.ADContainer.from_dn('OU=Employees,DC=lan,DC=company,DC=com') name = ("doe john") newUser = pyad.aduser.ADUser.create(name, ou, password="password") However if I try and make the name to be doe, john (has a comma in it now): ou = pyad.adcontainer.ADContainer.from_dn('OU=Employees,DC=lan,DC=company,DC=com') name = ("doe, john") [...] read more
python
pyad

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0