Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Cross-domain SyncFolders
Last Post 02/09/2011 7:31 AM by Chrickel. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Chrickel
New Member
New Member
Posts:44


--
10/28/2010 5:06 PM

Hi Peter,

I want to sync a huge folder which is located on a server in a different domain than the DNN-Server is. (In fact, our american partners have setup a server in our ESX environment. This virtual server is connected through VPN to the USA. On this server their main share is replicated through DFS).
Some of our (local domain) accounts are trusted in their domain, also a new AD-user I created for exactly the reason aof syncing folders.
I impersonated our DNN's application pool to this account to make syncing work.

When I first hit the "Sync all Sync folders in portal" I get the error message:

Failed folder sync. Message: There are currently no logon servers available to service the logon request. , Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at System.IO.DirectoryInfo.GetDirectories(String searchPattern, SearchOption searchOption) at System.IO.DirectoryInfo.GetDirectories() at Bring2mind.DNN.Modules.DMX.Framework.SyncFolderSynchronizer.ᜀ(String A_0, Int32 A_1) at Bring2mind.DNN.Modules.DMX.Framework.SyncFolderSynchronizer.Run(String SourceFolder, Int32 CollectionId, Boolean Recurse) at Bring2mind.DNN.Modules.DMX.Framework.SyncFolders.RunCode(PortalSettings& PortalSettings, HttpResponse& output, NameValueCollection parameters)

For a trial I impersonated the app pool to my own account (My account is also trusted and I do have access from my Windows sessions without the need of enetering any credentials anywhere) - but comes out with the same error.

The UNC path is like \\server.theirdomain.lcl\Share$ - typing this path in Windows explorer works.

Any Ideas on this?

Thanks in advance!

 

-Chris

 

Chrickel
New Member
New Member
Posts:44


--
10/28/2010 6:13 PM
SOLVED!

My American colleague wasn't as ready as he thought to be :-)
Now the first sync is running - transfer of some TBs...

-Chris
efoiadmin
New Member
New Member
Posts:4


--
02/09/2011 3:14 AM
Chrickel,

How do you impersonate a domain account in DotNetNuke? I've got an issue with domain credentials and I'm trying to figure this out.
efoiadmin
New Member
New Member
Posts:4


--
02/09/2011 3:14 AM
Chrickel,

How do you impersonate a domain account in DotNetNuke? I've got an issue with domain credentials and I'm trying to figure this out.
Chrickel
New Member
New Member
Posts:44


--
02/09/2011 7:31 AM
Hi Chad,

In IIS manager navigate to Application Pools and select the one that is running your DNN installation.
Click advanced settings, now you can set the account in Process Model -> Identity.

But I'm quite sure you'll be running into other troubles with switching this to another account - I've spent days troubleshooting this and all problems were gone when I switched back to ApplicationPoolIdentity.

I solved my issue by adding the AD's machine account (for example YOUR-DOMAIN\Intranetserver$) to the read and list permissions of the folders to be synced. Works flawlessly in our case (... but our intranet server is also a domain member - I read in another thread that yours is not...) and we're syncing about 3.8TB with this.

Best from cold cold Switzerland,

-Chris


You are not authorized to post a reply.