[ubuntu-uk] Samba Shares
Cornelius Mostert
corneliusmostert at googlemail.com
Fri Sep 3 01:13:23 BST 2010
Ok I am now on the brink of reinstalling as I have tried all I can think
of...
My samba now looks like this
------------------------------
# Samba config file created using SWAT
# from UNKNOWN (0.0.0.0)
# Date: 2010/09/02 23:31:22
[global]
workgroup = rsServer
netbios name = rs0002
server string = %h server (Samba, Ubuntu)
bind interfaces only = Yes
obey pam restrictions = Yes
pam password change = Yes
unix password sync = Yes
log level = 1
log file = /var/log/samba/log.%m
max log size = 1000
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
[Music Store]
inherit owner = Yes
writeable = yes
path = /data/NetworkShares/temp1
force directory mode = 3777
comment = Shared Music Area
directory mask = 3777
valid users = test1, at cAdmin
-----------------------------------
I have users:
cAdmin
test1
I have linux groups:
cAdmin
I have these lines in my groups file in /etc:
cAdmin:x:1000:cAdmin,test1
sambashare:x:122:cAdmin - I did not create this group (I think)
I have this on the shared folder:
drwxrwsrwt 2 cAdmin cAdmin 4096 2010-09-02 23:51 temp1
Now when I try to access my share \\192.168.2.3 from XP it popes up a log on
box
If I use cAdmin as user and the correct password then I see a list of Shares
(currently only the Music Store) I then can double click on the share and
have full access rights.
HOWEVER
If I use test1 as user and the correct password then I see a list of Shares
(currently only the Music Store) NOW if I double click on the share it state
that the share could not be accessed and that I might not have the correct
permissions...
This is now doing my head in!!
- The test1 user IS in the cAdmin group
- The folder belongs to the cAdmin user and cAdmin group AND allow anyone
else full access
- Valid users are test1 user AND cAdmin group
BUT only the cAdmin user can access the particular share even thought both
users can see the share
--
_________________________________________
Cornelius Mostert
Senior IT Specialist
United Kingdom: 075 2233 4818
International: 0044 75 2233 4818
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20100903/c420d7e5/attachment.htm
More information about the ubuntu-uk
mailing list