Link to home
Start Free TrialLog in
Avatar of Jack Dee
Jack Dee

asked on

OU With Spaces. DN errorr. NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0

When using JavaScript to write and Microsoft Active Directory Distinguished Name (DN), how should the spaces in an OU name be written?
Example: var from = "CN=TestSvrName,OU=Server Admin Groups,OU=AdminGroups,OU=Admin,DC=COMPANY,DC=COM";
Notice the spaces between Server Admin and Groups.
My code is returning error: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
My code is returning error: NameErr: DSID-03100238, problem 2001 (NO_OBJECT), data 0

could you post that code?
Avatar of Jack Dee
Jack Dee

ASKER

Thanks. Turns out there was a one letter typo in the code. The quotes work for the spaces though.