Diskdoc
October 7th, 2008, 02:06 PM
Hi!
I'm having trouble allowing only members of a group access to a share. Have tried "valid users = +larare" and "valid users = @larare". Something wrong with the backend?
Tried to peek in the log file and saw this, among other stuff:
[2008/10/07 15:56:29, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: authentication for user [administrator] -> [administrator] -> [administrator] succeeded
[2008/10/07 15:56:29, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/10/07 15:56:29, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/10/07 15:56:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/10/07 15:56:29, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2008/10/07 15:56:29, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/10/07 15:56:29, 2] auth/auth_util.c:create_local_nt_token(914)
create_local_nt_token: Failed to create BUILTIN\Administrators group!
This is the share in /etc/smb.conf:
[Test]
path = /home/GRUPPER/lärare/Test/
comment = Testutdelning för lärare
;force group = larare
;create mask = 0660
;directory mask = 0771
valid users = @larare
read only = no
guest ok = no
How can I get group-level access control on this share? Does Samba respect secondary groups if the user belongs to multiple groups?
I'm having trouble allowing only members of a group access to a share. Have tried "valid users = +larare" and "valid users = @larare". Something wrong with the backend?
Tried to peek in the log file and saw this, among other stuff:
[2008/10/07 15:56:29, 2] auth/auth.c:check_ntlm_password(309)
check_ntlm_password: authentication for user [administrator] -> [administrator] -> [administrator] succeeded
[2008/10/07 15:56:29, 3] smbd/sec_ctx.c:push_sec_ctx(208)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/10/07 15:56:29, 3] smbd/uid.c:push_conn_ctx(358)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/10/07 15:56:29, 3] smbd/sec_ctx.c:set_sec_ctx(241)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/10/07 15:56:29, 3] groupdb/mapping.c:pdb_create_builtin_alias(723)
pdb_create_builtin_alias: Could not get a gid out of winbind
[2008/10/07 15:56:29, 0] auth/auth_util.c:create_builtin_administrators(792)
create_builtin_administrators: Failed to create Administrators
[2008/10/07 15:56:29, 2] auth/auth_util.c:create_local_nt_token(914)
create_local_nt_token: Failed to create BUILTIN\Administrators group!
This is the share in /etc/smb.conf:
[Test]
path = /home/GRUPPER/lärare/Test/
comment = Testutdelning för lärare
;force group = larare
;create mask = 0660
;directory mask = 0771
valid users = @larare
read only = no
guest ok = no
How can I get group-level access control on this share? Does Samba respect secondary groups if the user belongs to multiple groups?