The organization unit does not exist?

Dec 4, 2008 at 2:35 PM
Hello everybody,
Using MOSS, I tryed to install the SP Account provision and found some dificult.

Following the .pdf steps, I:
  1. Insert the SafeControls into WebConfig
  2. Insert a Key into <appsettings> (with the value LastName)
  3. I have no email template defined, soo I didn't do this step
  4. Ran the install.bat. All the operations had sucess.
  5. Deployed the wsp in Sharepoint Central administration under the site collection that was suppose to be used.
  6. After, activated the site collection features "Change your password" and "Create a new user account".
  7. The links was succesfully created (Create a new user and  Site Collection AD settings)
  8. When I tryed to configure the AD settings, I get the following error:
The organization unit does not exist.

I have the following configurations on my machine:
Machine Name: Servidor
Machine Domain:
Orgazination Unit: Sharepoint

I put the following informations under the fields:
Active directory connection string:  LDAP://servidor/OU=SharepointUsers, DC=bit, DC=com
Organization Unit: SharepointUser

I certified that the Organisation Unit was write right.

Obs: I don't know if it matter, but I got, before this step, the error "File Not Found". I fixed it adding the assembly "OrbitOne.SharePoint.Provision.WebParts.dll" to the GAC manually. After that, I keep the steps.

Someone know how can I fix it ?

Thank you,

Pablo Bertrão

Dec 5, 2008 at 1:23 PM
Edited Dec 5, 2008 at 2:29 PM
For the guys who had the same problem, here is the answer.

the command LDAP should not show the servername, it need to show the domain name.
the OU in command LDAP isn't necessary, because the OU is provided in second field.

The right ldap command is:

LDAP://, DC=com

In my case, it was
First field: LDAP:// DC=bit, DC=com
Second field: SharepointUsers

Thank you,

Pablo Bertrão
Mar 24, 2009 at 7:34 PM

Does his web part work if you are using machine accounts? I am trying to test this on the microsoft provided development VPC's. They are not running active directory.

Machine Name: SPVM
Machine Domain: Workgroup