This project has moved. For the latest updates, please go here.

Sync with active directory

Jun 28, 2013 at 5:38 PM
Hi guys.

I need to synchronize with the active directory.

I already configured the queues in MSMQ and SyncAD2Portal.exe passes this phase, however when starts the synchronization shows

"OU=MyOrg,DC=Nativ,DC=Local -> /Root/IMS/NATIV"

The documentation says that I need change the file

/Root/System/SystemPlugins/Tools/DirectoryServices/AD2PortalConfig.xml

However, I don't find this file in the web server (I find the file in the source files).

Where Do I find this file if SenseNet was installed in IIS with the web_installer?

Also

What Do I write in the <PortalPath> label in the xml file?
What Do I write in the <DeletedPortalObjectsPath> label in the xml file?
Jul 5, 2013 at 3:51 AM
Edited Jul 8, 2013 at 4:33 AM
/Root/System/SystemPlugins/Tools/DirectoryServices/AD2PortalConfig.xml
Login with admin/admin @ localhost (or what ever IIS binding you gave the site). Click the PRC and then click the root browser (top leftmost square button with a slash). From there on the left of your browser you can navigate to the xml file in question, make changes and save all, from that web page.

You won't find that file AD2PortalConfig.xml in the IIS web root folder or whereever you installed sensenet to, I believe it exists in the db only.

<PortalPath> and <AdPath> are very closely related. Please read closely: (Configuration)
(Edit: Especially Sync-tree definitions and the notes in red in that section.)

<DeletedPortalObjectsPath>/Root/IMS/Deleted</DeletedPortalObjectsPath>
(From documentation, just copied it)

I have been having many issues with the documentation myself (chicken and the egg stuff with the windows authentication and AD), I hope this helps :)