1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

Can't use a separate smb accounts for each profile.

Report any issues you might have in here
kusanagy
Posts: 6
Joined: 21 Oct 2017, 03:03

Can't use a separate smb accounts for each profile.

Post by kusanagy » 21 Oct 2017, 03:09

I want to use a separate smb accounts for each profile.

example)
profileA uses smb account "userA".
profileB uses smb account "userB".

I tried it several times, but it seems to use either smb account.
By the way, I using MrMC v3.2.0 on iPad.

Can I use such a way with MrMC?

User avatar
amet
Team MrMC
Posts: 1499
Joined: 26 Oct 2015, 16:59

Re: Can't use a separate smb accounts for each profile.

Post by amet » 21 Oct 2017, 05:30

Smb accounts are tied in with sources, if you use source 1 with user A on profile 1 and create the database, then profile 2 will have its own database where you setup source 2 with user B

In theory it should work, I have never tested it though :)

User avatar
davilla
Team MrMC
Posts: 2343
Joined: 26 Oct 2015, 17:01

Re: Can't use a separate smb accounts for each profile.

Post by davilla » 21 Oct 2017, 11:55

what is source path for both ?

kusanagy
Posts: 6
Joined: 21 Oct 2017, 03:03

Re: Can't use a separate smb accounts for each profile.

Post by kusanagy » 21 Oct 2017, 19:28

amet wrote:
21 Oct 2017, 05:30
Smb accounts are tied in with sources, if you use source 1 with user A on profile 1 and create the database, then profile 2 will have its own database where you setup source 2 with user B

In theory it should work, I have never tested it though :)
I thought that I would also succeed, but expected behavior could not be obtained :_)

kusanagy
Posts: 6
Joined: 21 Oct 2017, 03:03

Re: Can't use a separate smb accounts for each profile.

Post by kusanagy » 21 Oct 2017, 19:35

davilla wrote:
21 Oct 2017, 11:55
what is source path for both ?
I tried with file source and video source.

I will describe the tried case is as follow.

[ environment ]
-SMB server: QNAP NAS
-SMB account
userA/passA (for profileA)
userB/passB (for profileB)

[ tried case ]
1. Fresh install the MrMC Touch using AppStore.
2. Run the MrMC Touch app.
3. Create profile of "profileA" and "profileB".
All the settings used default values. (media info and media source are set to "separate", "fresh setting" and "fresh media sources".)

4. Load profile of "profileA".
4.1. Add the video source.
Navigate to "Media sources > Video > Add videos...".
Navigate to "Browse > Windows netowrk (SMB)" then select "home" directory on QNAP NAS.
Enter username(userA) and password(passA), and check "Remember for this path", and tap the OK.

4.2. Tap the registered "home".
-> The home direcotry of "userA" is displayed. (Expected behavior)

5. Load profile of "profileB".
5.1. Add the video source.
Navigate to "Media sources > Video > Add videos...".
Navigate to "Browse > Windows netowrk (SMB)" then select "home" directory on QNAP NAS.
-> The input directory of "username" is not displayed and the home directory of "userA" is displayed.
(Unexpected behavior)

Tap the OK then registerd "home".

5.2. Tap the registerd "home".
-> The home directory of "userA" is displayed.

5.3. Add the video source (using "Add network location")
Navigate to "Media sources > Video > Add videos...".
Navigate to "Browse > Add network location...
Enter Server name, Shared folder, and username(userB) and password(passB) then tap the OK.
-> When the registered location is selected, home directory of "userB" is displayed, so I registered it as "home2".

5.4. Tap the registerd "home2".
-> The home directory of "userB" is displayed.

5.5. Add the video source (directory that "userB" can not access)
Navigate to "Media sources > Video > Add videos...".
Navigate to "Browse > Windows netowrk (SMB)" then select the directory of QNAP NAS that "userB" can not access.
->The entry screen for username is displayed, but "userA" has been entered for username, not "userB". (Unexpected behavior)


By the way, create new profile and attempting add the video source will use username of "userA".

Please confirm about this situation.

User avatar
davilla
Team MrMC
Posts: 2343
Joined: 26 Oct 2015, 17:01

Re: Can't use a separate smb accounts for each profile.

Post by davilla » 21 Oct 2017, 20:00

user/pass is associated with server/mount point. A source is associated with server/mount point/path. It's been that way for decades.

This is basically trying to associate multiple user/pass with the same server/mount point. The 1st match gets user A all the time.

We are reviewing the code base to see if we can associate a user/pass -> server/mount point according to profile.

User avatar
davilla
Team MrMC
Posts: 2343
Joined: 26 Oct 2015, 17:01

Re: Can't use a separate smb accounts for each profile.

Post by davilla » 22 Oct 2017, 15:15

Are you wanting the same share point for both users?
Describe the content organization on the qnap.

kusanagy
Posts: 6
Joined: 21 Oct 2017, 03:03

Re: Can't use a separate smb accounts for each profile.

Post by kusanagy » 24 Oct 2017, 14:10

davilla wrote:
22 Oct 2017, 15:15
Are you wanting the same share point for both users?
Describe the content organization on the qnap.
In my QNAP, access is restricted for each subfolder as follows.
/movie/sub-folderA (All user has read access)
/movie/sub-folderB (Only userA has read access)
/movie/sub-folderC (Only userB has read access)
I'd like to mount of /movie folder on both users and control access with user/pass.

I think that the same thing can be done by the following method, but I would like to use NAS side access control if possible.
-Mount for each subfolder.
-Lock setting each users.

kusanagy
Posts: 6
Joined: 21 Oct 2017, 03:03

Re: Can't use a separate smb accounts for each profile.

Post by kusanagy » 10 Nov 2017, 21:10

What happened to the review results on this behavior?
Are you planning to enhance it?
Please teach me the current situation.

User avatar
davilla
Team MrMC
Posts: 2343
Joined: 26 Oct 2015, 17:01

Re: Can't use a separate smb accounts for each profile.

Post by davilla » 11 Nov 2017, 12:46

kusanagy wrote:
10 Nov 2017, 21:10
What happened to the review results on this behavior?
Are you planning to enhance it?
Please teach me the current situation.
Changing how the code base works regarding user/pass and shares would be difficult. User/pass are looked up via share path.

You would have to setup two shares for each.

User A:
/movie/sub-folderA
/movie/sub-folderB

User B:
/movie/sub-folderA
/movie/sub-folderC

Then sub-folderA and sub-folderB would show up for User A, sub-folderA and sub-folderC for user B.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests