Xanchez
9th March 2006, 12:17
Hi forum.
I have used the guide to get samba working as domain controller, worked fine, thx ;)
Now i am trying to create a share that is variable according to the group membership.
My share looks like this:
[gruppe]
comment = All Users
path = /home/shares/%g
valid users = @regnskab @produktion
create mask = 0660
directory mask = 0771
force group = regnskab
writable = yes
My problem is, that it looks like the command "force group" redefines %g.
I have tried several combinations, but i can't seem to not define any group in "force group".
I have tried deleting that line, without any result.
I would like the share to work lige this:
[gruppe]
comment = All Users
path = /home/shares/%g
valid users = @regnskab @produktion
create mask = 0660
directory mask = 0771
force group = %g
writable = yes
but it looks like "force group" has to be defined by a static value!?
My smb.conf can be found @ http://rafb.net/paste/results/DP7g4B35.html
Does anybody have an idea, how i can make this work?
Regards Xanchez.
I have used the guide to get samba working as domain controller, worked fine, thx ;)
Now i am trying to create a share that is variable according to the group membership.
My share looks like this:
[gruppe]
comment = All Users
path = /home/shares/%g
valid users = @regnskab @produktion
create mask = 0660
directory mask = 0771
force group = regnskab
writable = yes
My problem is, that it looks like the command "force group" redefines %g.
I have tried several combinations, but i can't seem to not define any group in "force group".
I have tried deleting that line, without any result.
I would like the share to work lige this:
[gruppe]
comment = All Users
path = /home/shares/%g
valid users = @regnskab @produktion
create mask = 0660
directory mask = 0771
force group = %g
writable = yes
but it looks like "force group" has to be defined by a static value!?
My smb.conf can be found @ http://rafb.net/paste/results/DP7g4B35.html
Does anybody have an idea, how i can make this work?
Regards Xanchez.