Accessing SMB shares without a user logged in on Server (2 Viewers)

riggnix

Portal Pro
September 8, 2009
95
25
Home Country
Austria Austria
Hi!

I'm trying to get media import working for network shares without a user logged in on the server.
I'm using a dedicated server and multiple clients.
Version: Weekly snapshot (2015-02-22)

When a user is logged in on the server, everthing works as expected. MP2-Server uses the credentials of the logged in user.

I tried setting the network credentials to exactly the user who is usally logged in, but I can't seem to get it working.

In the Server Logs i found the following:
Code:
[2015-03-18 16:32:14,440] [44999392] [61       ] [INFO ] - ImporterWorker: Refresh for path '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien', MediaCategories: 'Series,Video', including subdirectories requested...
[2015-03-18 16:32:14,471] [44999423] [117      ] [INFO ] - ImporterWorker: Scheduled ImportJob(#4) (Activated) (Path ='{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien', ImportJobType='Refresh', IncludeSubdirectories='True')
[2015-03-18 16:32:15,039] [44999991] [117      ] [INFO ] - ImporterWorker.ImportJob(#4): Activated
[2015-03-18 16:32:15,516] [45000468] [53       ] [WARN ] - ImporterWorker.ImportJob(#4).DirectoryUnfoldBlock: Error while processing PendingImportResource '{03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien/American Dad/' (parent directory={03dd2da6-4da8-4d3e-9e55-80e3165729a3}:////RIGGNIX/Serien)
System.ArgumentNullException: Der Wert darf nicht NULL sein.
Parametername: source
   bei System.Linq.Enumerable.Select[TSource,TResult](IEnumerable`1 source, Func`2 selector)
   bei MediaPortal.Extensions.ResourceProviders.NetworkNeighborhoodResourceProvider.NetworkNeighborhoodResourceAccessor.WrapLocalFsResourceAccessors(ICollection`1 localFsResourceAccessors)
   bei MediaPortal.Extensions.ResourceProviders.NetworkNeighborhoodResourceProvider.NetworkNeighborhoodResourceAccessor.GetChildDirectories()
   bei MediaPortal.Common.ResourceAccess.FileSystemResourceNavigator.GetChildDirectories(IFileSystemResourceAccessor directoryAccessor, Boolean showSystemResources)
   bei MediaPortal.Common.Services.MediaManagement.ImportDataflowBlocks.DirectoryUnfoldBlock.<ProcessDirectory>d__3.MoveNext()


There is one of these for every folder in the network share.
Is there a special way to enter the network credentails, or is this a bug (I just put in the the windows user name and password, without domain)?



Regards,
RiggniX
 
Last edited:

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,553
    3,934
    Lehmden
    Home Country
    Germany Germany
    Hi.
    This is a bug, but a fixed one. The work on this nearly is finished and the testing version is doing well. Only some cleanups need to be done. This will make it most likely into the next weekly.
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    Yep, just sitting at an Airport waiting for my flight and using the time to finish that part... Let's see if I can get it ready until Friday. Will be tough but I'll try...
     

    riggnix

    Portal Pro
    September 8, 2009
    95
    25
    Home Country
    Austria Austria
    Just saw the 2015-04-03 build. Is this fix in there? If not, can I help somehow?

    I tried finding out via the GitHub history, but there are so many commits, I don't really know what to look for ;)
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    Yep, it's in there :D
    When you try it, please remember that you have to re-enter your network credentials under Settings->ServerSettings->Network Credentials
    Have fun!
     

    Users who are viewing this thread

    Top Bottom