Samba shares windows

Samba shares windows

Postby brinka123 » Sat Jan 19, 2013 8:58 am

Something what I don't understand.

fvdw software has users and shares
For the shares permissions can be set for all users.

When I map a network drive in windows computer to a share, I only can do this when the share is public....

Do I have to map drives with admin-nas or the user???

When it is admin-nas, how are the rights arranged for the share......??
brinka123
Donator VIP
Donator VIP
 
Posts: 126
Joined: Sat Nov 17, 2012 3:06 pm

Re: Samba shares windows

Postby fvdw » Sat Jan 19, 2013 10:47 am

I can do that with any share not matter if it is a public or private one

the only thing is you need to use a username (and password) of a a user that has at least read access access to the share. If those are not the same as those that you used to login to windows then windows will ask you a username and password. What you fill in must be a known user on the NAS that has access to the share you want to connect to.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Samba shares windows

Postby Jocko » Sat Jan 19, 2013 11:14 am

an additional note with fvdw's those :
brinka123 wrote:Do I have to map drives with admin-nas or the user???

the admin-nas account is not a samba account : just a web account to allow the administrator access to the web-interface (and also with webdav).
So you must map the share with an user account which set the permissions (write or read)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Samba shares windows

Postby brinka123 » Sun Jan 20, 2013 9:09 am

For example I have the fvdw share created.I added a user Peter with a Password. When I open fvdw share in File Share Management I see user Peter. Click Full access. Save settings.

When in windows I map the network drive to fvdw, it asks a user and password. I type Peter and Password. Windows doesn't map the drive. Only when I set the share to public it maps.

Is this Windows XP problem? Other network drive I have works fine with shares etc....

I checked the samba password file on the Networkspace2, it contains the users and I see entries to the public share... I expected entries to all shares the user has access to....???? Or not??

Previously I had all shares public, but nzbget produces files under root account. Can't delete them from the windows side...So I have to arrange users...
brinka123
Donator VIP
Donator VIP
 
Posts: 126
Joined: Sat Nov 17, 2012 3:06 pm

Re: Samba shares windows

Postby fvdw » Sun Jan 20, 2013 10:59 am

brinka123 wrote:For example I have the fvdw share created.I added a user Peter with a Password. When I open fvdw share in File Share Management I see user Peter. Click Full access. Save settings.

When in windows I map the network drive to fvdw, it asks a user and password. I type Peter and Password. Windows doesn't map the drive. Only when I set the share to public it maps.

Is this Windows XP problem? Other network drive I have works fine with shares etc....

I checked the samba password file on the Networkspace2, it contains the users and I see entries to the public share... I expected entries to all shares the user has access to....???? Or not??

Previously I had all shares public, but nzbget produces files under root account. Can't delete them from the windows side...So I have to arrange users...


First be aware that Linux uses case sensitive usernames and passwords, so Peter is not equal to peter.

I think you refer to the samba configuration file, yes that should list entries for all shares and which users have access. I Use windows 7 but as said I can map every share even those which require a different username then I used to login to windows, of course in that case during mapping I need to set the appropriate username/password

It should work also in XP
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Samba shares windows

Postby brinka123 » Sun Jan 20, 2013 1:51 pm

Tested it on other windows 7 laptop. Same issue... I realy don't understand this issue... Can only map public shares...
Workgroup is OK....
brinka123
Donator VIP
Donator VIP
 
Posts: 126
Joined: Sat Nov 17, 2012 3:06 pm

Re: Samba shares windows

Postby fvdw » Sun Jan 20, 2013 2:10 pm

Try if it works with crating a user on the NAS with same username and password as on windows and give it at least read access

below an example that it should work drive z:\ is mapped to a privat share with other username then the one used to log in to windows

netwerk-connection.JPG
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Samba shares windows

Postby fvdw » Sun Jan 20, 2013 2:19 pm

this is how I do it

open window to make network connection

netwerk-connection1.JPG


fill in the path and hit complete

if my username and password used to login to windows doesn't allow access it gives an authentication window and I fill in a user and password that has access and then it makes the connection
netwerk-connection2.JPG
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Samba shares windows

Postby brinka123 » Sun Jan 20, 2013 2:23 pm

I found it.

You can't map to a protected share when other shares are mapped already by a windows client.

I removed all mappings from a laptop, mapped to one protected share on this laptop. This works!!!
Mapping to 1 or more unprotected is also possible this is what I normally have (a movie and a documents share).

But mapping to unprotected and 1 protected is not possible !!!!
You can check this.

I thougt I was going to be stupid but I think this is windows...
brinka123
Donator VIP
Donator VIP
 
Posts: 126
Joined: Sat Nov 17, 2012 3:06 pm


Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: Bing Bot and 11 guests