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: Code: [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: Code: [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.
The "force group" variable in smb.conf is optional. If you remove it the files where written with the group the logged in user belongs to
It seems like it is not optional... When i remove the line, login is no further possible... I am now taking another approach to the problem, but i am still interrested in finding a solution for the original problem