(2014-03-10, 15:19)Bobins Wrote: You are not alone....I'm new to the Raspberry Pi and XBMC so stuggling with not being familiar with its operation. I have a Windows 2012 r2 server with all my music, video and picture files in shares. The shares require a valid account.
I managed to get a share connected for the Video and Music (with user name and password) however when I tried to connect the Pictures share got the "Operation not permitted" error. Went back to try the Video & Music folders and they too now produce the error. Everything I try now to connect to the shares fails with the error. If I browse the network I can see the Workgroup and my server but any attempt to browse the server to select a share brings up the error. Scrathing my head on this one.
Did you manage to resolve your problem?
Possibly you're trying to log into different shares on the same server using different usernames and passwords ? The way Samba works (as far as I understand) is that all connections to the same server must use the same username and password - the SMB protocol doesn't allow the same client to simultaneously connect to one share on a server with one username and password and a different share on the same server with a different username and password. This applies between two windows boxes too.
Another potential issue is that the SMB browser in XBMC is not very reliable and it sometimes wont browse the share list of a server even though it can connect to the individual shares.
What I'd suggest is delete all the video sources in XBMC you've added for the server that is giving you problems and restart XBMC. When you try to add the shares back in, don't browse to them through SMB->workgroup etc, manually type:
smb://servername/sharename
Where servername is an IP address or hostname (IP address is more reliable so use it if the server has a static IP) and sharename is the name of the share you're trying to connect to. At this point it should prompt for a username and password so enter these in. Remember you need a username and password that has access permissions to ALL the shares and files within those shares.
(It's ok to specify sub folders within the same share with multiple video source entries - for example smb://servername/sharename/Movies and then smb://servername/sharename/TV Shows as separate source entries)
Add your next source pointing to the same server the same way - it shouldn't prompt you for a username and password this time, however if it does make sure you use the same one as before.
I had very similar problems to you (but not to a Windows server, to a Mac) and the above fixed it for me.