[Samba] Everyone group difference between ACL/no ACLs.

Tom Dickson tdickson at inostor.com
Tue Jul 22 20:18:37 GMT 2003


Hello!

I'm running Samba 2.2.8a on top of a ext3 filesystem with ACLs enabled.
(kernel 2.4.20-gentoo-r2)

With ACLs disabled (i.e., mount /dev/hdd1 /mnt/floppy (no -o ACL)), the
Security box under windows 2000 works like I want it to with respect to the
Everyone group; If I want the Linux permissions to be, say, 770 (rwxrwx---),
I can select everyone and hit "Remove." The everyone group goes away, and
the Linux world permissions are set to --- or 0. This is what a Windows
administrator would expect, and group with no permissions doesn't appear in
the dialog. This also works for the Linux primary group.

However, if I enable ACLs (i.e., mount /dev/hdd1 /mnt/floppy -o ACL), then
the Security box works like it did with Samba 2.2.5 - the "Remove" button
does nothing. The everyone group pops right back up. I've done a debug level
10 dump, but it's all Greek to me (included below). If I try to remove the
primary group, the same symptoms occur.

If I manually (though Linux) change the permissions to 770, then the
Everyone group will not appear in the Security dialog.

Am I missing a simple config option?

Thank you!

smb.conf follows:

[global]
   workgroup = dorm
   netbios name = mp3box
   server string = Big Bad Music
   printcap name = lpstat
   load printers = no
   printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
   guest account = nobody
   security = share
   encrypt passwords = yes
   smb passwd file = /etc/samba/private/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   wins support = yes
[share1]
   comment = share1
   path = /mnt/floppy/share1
   read only = no
   guest ok = no
   write list = bombcar, tdickson
   admin users = bombcar
   inherit acls = yes

log follows (logged into smbd as user bombcar which = root)





[2003/07/22 13:11:44, 10] smbd/process.c:async_processing(118)
  async_processing: Doing async processing.
[2003/07/22 13:11:44, 5] smbd/oplock.c:receive_local_message(108)
  receive_local_message: doing select with timeout of 1 ms
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_check_notify(99)
  kernel_check_notify: kernel change notify on . fd[0]=24
(signals_received=2)
[2003/07/22 13:11:44, 10]
smbd/notify.c:process_pending_change_notify_queue(161)
  process_pending_change_notify_queue: dir . changed !
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(94)
  error string = Interrupted system call
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(113)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(518)
  write_socket(13,75)
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(521)
  write_socket(13,75) wrote 75
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_check_notify(99)
  kernel_check_notify: kernel change notify on . fd[0]=20
(signals_received=1)
[2003/07/22 13:11:44, 10]
smbd/notify.c:process_pending_change_notify_queue(161)
  process_pending_change_notify_queue: dir . changed !
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(94)
  error string = Interrupted system call
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(113)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(518)
  write_socket(13,75)
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(521)
  write_socket(13,75) wrote 75
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1
[2003/07/22 13:11:44, 10]
lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 84
[2003/07/22 13:11:44, 6] smbd/process.c:process_smb(845)
  got message type 0x0 of len 0x54
[2003/07/22 13:11:44, 3] smbd/process.c:process_smb(846)
  Transaction 1488 of length 88
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(275)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=18439
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(281)
  smb_tid=3
  smb_pid=1340
  smb_uid=0
  smb_mid=9857
  smt_wct=23
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[0]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[1]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[2]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[3]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[4]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[5]=8192 (0x2000)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[6]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[7]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[8]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[9]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[10]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[11]=21504 (0x5400)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[12]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[13]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[14]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[15]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[16]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[17]=1024 (0x400)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[18]=4 (0x4)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[19]=3 (0x3)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[20]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[21]=9836 (0x266C)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[22]=1 (0x1)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(291)
  smb_bcc=3
[2003/07/22 13:11:44, 10] lib/util.c:dump_data(1541)
  [000] 00 00 00                                          ...
[2003/07/22 13:11:44, 3] smbd/process.c:switch_message(685)
  switch message SMBnttrans (pid 1556)
[2003/07/22 13:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 100) - sec_ctx_stack_ndx = 0
[2003/07/22 13:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(334)
  3 user groups:
  100 10 407
[2003/07/22 13:11:44, 5] smbd/uid.c:change_to_user(202)
  change_to_user uid=(0,0) gid=(0,100)
[2003/07/22 13:11:44, 3] smbd/vfs.c:vfs_ChDir(574)
  vfs_ChDir to /mnt/floppy/share1
[2003/07/22 13:11:44, 10] smbd/nttrans.c:reply_nttrans(1923)
  reply_nttrans: setup_count = 8
[2003/07/22 13:11:44, 10] lib/util.c:dump_data(1541)
  [000] 03 00 00 00 6C 26 01 00                           ....l&..
[2003/07/22 13:11:44, 3] smbd/nttrans.c:call_nt_transact_notify_change(1557)
  call_nt_transact_notify_change
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_register_notify(189)
  kernel change notify on . (ntflags=0x3 flags=0x1e) fd=20
[2003/07/22 13:11:44, 3] smbd/nttrans.c:call_nt_transact_notify_change(1569)
  call_nt_transact_notify_change: notify change called on directory name = .
[2003/07/22 13:11:44, 10]
lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 84
[2003/07/22 13:11:44, 6] smbd/process.c:process_smb(845)
  got message type 0x0 of len 0x54
[2003/07/22 13:11:44, 3] smbd/process.c:process_smb(846)
  Transaction 1489 of length 88
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(275)
  size=84
  smb_com=0xa0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=18439
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(281)
  smb_tid=3
  smb_pid=1340
  smb_uid=0
  smb_mid=9922
  smt_wct=23
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[0]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[1]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[2]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[3]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[4]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[5]=8192 (0x2000)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[6]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[7]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[8]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[9]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[10]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[11]=21504 (0x5400)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[12]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[13]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[14]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[15]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[16]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[17]=1024 (0x400)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[18]=4 (0x4)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[19]=3 (0x3)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[20]=0 (0x0)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[21]=9836 (0x266C)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[22]=1 (0x1)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(291)
  smb_bcc=3
[2003/07/22 13:11:44, 10] lib/util.c:dump_data(1541)
  [000] 00 00 00                                          ...
[2003/07/22 13:11:44, 3] smbd/process.c:switch_message(685)
  switch message SMBnttrans (pid 1556)
[2003/07/22 13:11:44, 4] smbd/uid.c:change_to_user(113)
  change_to_user: Skipping user change - already user
[2003/07/22 13:11:44, 10] smbd/nttrans.c:reply_nttrans(1923)
  reply_nttrans: setup_count = 8
[2003/07/22 13:11:44, 10] lib/util.c:dump_data(1541)
  [000] 03 00 00 00 6C 26 01 00                           ....l&..
[2003/07/22 13:11:44, 3] smbd/nttrans.c:call_nt_transact_notify_change(1557)
  call_nt_transact_notify_change
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_register_notify(189)
  kernel change notify on . (ntflags=0x3 flags=0x1e) fd=23
[2003/07/22 13:11:44, 3] smbd/nttrans.c:call_nt_transact_notify_change(1569)
  call_nt_transact_notify_change: notify change called on directory name = .
[2003/07/22 13:11:44, 10] smbd/process.c:async_processing(118)
  async_processing: Doing async processing.
[2003/07/22 13:11:44, 5] smbd/oplock.c:receive_local_message(108)
  receive_local_message: doing select with timeout of 1 ms
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_check_notify(99)
  kernel_check_notify: kernel change notify on . fd[0]=23
(signals_received=2)
[2003/07/22 13:11:44, 10]
smbd/notify.c:process_pending_change_notify_queue(161)
  process_pending_change_notify_queue: dir . changed !
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(94)
  error string = Interrupted system call
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(113)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(518)
  write_socket(13,75)
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(521)
  write_socket(13,75) wrote 75
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_check_notify(99)
  kernel_check_notify: kernel change notify on . fd[0]=20
(signals_received=1)
[2003/07/22 13:11:44, 10]
smbd/notify.c:process_pending_change_notify_queue(161)
  process_pending_change_notify_queue: dir . changed !
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(94)
  error string = Interrupted system call
[2003/07/22 13:11:44, 3] smbd/error.c:error_packet(113)
  error packet at smbd/notify.c(55) cmd=160 (SMBnttrans) NT code 0x0000010c
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(518)
  write_socket(13,75)
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(521)
  write_socket(13,75) wrote 75
[2003/07/22 13:11:44, 3] smbd/notify_kernel.c:kernel_remove_notify(144)
  kernel_remove_notify: fd=-1
[2003/07/22 13:11:44, 10]
lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 36
[2003/07/22 13:11:44, 6] smbd/process.c:process_smb(845)
  got message type 0x0 of len 0x24
[2003/07/22 13:11:44, 3] smbd/process.c:process_smb(846)
  Transaction 1490 of length 40
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(275)
  size=36
  smb_com=0xa4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=18439
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(281)
  smb_tid=3
  smb_pid=1340
  smb_uid=0
  smb_mid=9857
  smt_wct=0
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/07/22 13:11:44, 3] smbd/process.c:switch_message(685)
  switch message SMBntcancel (pid 1556)
[2003/07/22 13:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/07/22 13:11:44, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/07/22 13:11:44, 3] smbd/nttrans.c:reply_ntcancel(1521)
  reply_ntcancel: cancel called on mid = 9857.
[2003/07/22 13:11:44, 10]
lib/util_sock.c:read_smb_length_return_keepalive(559)
  got smb length of 41
[2003/07/22 13:11:44, 6] smbd/process.c:process_smb(845)
  got message type 0x0 of len 0x29
[2003/07/22 13:11:44, 3] smbd/process.c:process_smb(846)
  Transaction 1491 of length 45
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(275)
  size=41
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=18439
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(281)
  smb_tid=3
  smb_pid=65279
  smb_uid=0
  smb_mid=9985
  smt_wct=3
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[0]=9836 (0x266C)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[1]=65535 (0xFFFF)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(286)
  smb_vwv[2]=65535 (0xFFFF)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/07/22 13:11:44, 3] smbd/process.c:switch_message(685)
  switch message SMBclose (pid 1556)
[2003/07/22 13:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 100) - sec_ctx_stack_ndx = 0
[2003/07/22 13:11:44, 3] smbd/sec_ctx.c:set_sec_ctx(334)
  3 user groups:
  100 10 407
[2003/07/22 13:11:44, 5] smbd/uid.c:change_to_user(202)
  change_to_user uid=(0,0) gid=(0,100)
[2003/07/22 13:11:44, 3] smbd/reply.c:reply_close(3178)
  close directory fnum=9836
[2003/07/22 13:11:44, 5] smbd/files.c:file_free(346)
  freed files structure 9836 (0 used)
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(275)
  size=35
  smb_com=0x4
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(281)
  smb_tid=3
  smb_pid=65279
  smb_uid=0
  smb_mid=9985
  smt_wct=0
[2003/07/22 13:11:44, 5] lib/util.c:show_msg(291)
  smb_bcc=0
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(518)
  write_socket(13,39)
[2003/07/22 13:11:44, 6] lib/util_sock.c:write_socket(521)
  write_socket(13,39) wrote 39




More information about the samba mailing list