guest account = nobody
....
public = yes
writeable = yes
write list = +smbadmin
force group = +smbadmin
force create mode = 775
force directory mode = 775
Detta fungerade utmärkt med den förra installationen jag använde (Gentoo, antagligen med Samba 2.x), men nu får jag..
find_forced_group: forced user nobody is not a member of forced group smbadmin. Disallowing access.
..i loggen, samt ett felmeddelande i Windows, när någon som inte är med i gruppen smbadmin/okänd användare ens försöker komma åt IPC$. Men plus-tecknet skall ju instruera Samba att kolla om användaren är med i gruppen FÖRE den försöker byter primärgrupp?
Någon som vet vad som gäller under Samba 3?
edit:
smb.conf man skrev:In Samba 2.0.5 and above this parameter has extended functionality in the following way. If the group name listed here has a '+' character prepended to it then the current user accessing the share only has the primary group default assigned to this group if they are already assigned as a member of that group. This allows an administrator to decide that only users who are already in a particular group will create files with group ownership set to that group. This gives a finer granularity of ownership assignment. For example, the setting force group = +sys means that only users who are already in group sys will have their default primary group assigned to sys when accessing this Samba share. All other users will retain their ordinary primary group.