[Samba] Crash after Update to 4.12.1 with vfs full_audit
Christian Naumer
cn at brain-biotech.de
Thu Apr 16 12:15:15 UTC 2020
Forgot to mention that this is on Centos 8. So maybe something different
than this:
https://www.spinics.net/lists/samba/msg163085.html
Regards
Christian
Am 16.04.20 um 13:45 schrieb Christian Naumer via samba:
> Hello alAl,
> after update of our test server to 4.12.1 from 4.11 it crashes. If the
> vfs module is removed from the config everthing works as before. Logs
> from the crash see here:
>
> .0.31:445]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: [2020/04/16 13:36:47.546559,
> 0] ../../source3/lib/util.c:830(smb_panic_s3)
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: PANIC (pid 6263):
> vfs_full_audit.c: name table not in sync with vfs_op_type enums
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]:
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: [2020/04/16 13:36:47.547045,
> 0] ../../lib/util/fault.c:265(log_stack_trace)
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: BACKTRACE: 32 stack frames:
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #0
> /usr/lib64/samba/libsamba-util.so.0(log_stack_trace+0x30) [0x7fa7829ebedc]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #1
> /usr/lib64/samba/libsmbconf.so.0(smb_panic_s3+0x24) [0x7fa78108a419]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #2
> /usr/lib64/samba/libsamba-util.so.0(smb_panic+0x2c) [0x7fa7829ebfdf]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #3
> /usr/lib64/samba/vfs/full_audit.so(+0x5ee4) [0x7fa769034ee4]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #4
> /usr/lib64/samba/vfs/full_audit.so(+0x9345) [0x7fa769038345]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #5
> /usr/lib64/samba/libsmbd-base-samba4.so(smb_vfs_call_connect+0x21)
> [0x7fa782621303]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #6
> /usr/lib64/samba/vfs/acl_xattr.so(+0x16d9) [0x7fa768e2c6d9]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #7
> /usr/lib64/samba/libsmbd-base-samba4.so(smb_vfs_call_connect+0x21)
> [0x7fa782621303]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #8
> /usr/lib64/samba/libsmbd-base-samba4.so(+0x1dd383) [0x7fa782639383]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #9
> /usr/lib64/samba/libsmbd-base-samba4.so(make_connection_smb2+0x53)
> [0x7fa78263a4f3]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #10
> /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_process_tcon+0x459)
> [0x7fa782650d8a]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #11
> /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_dispatch+0x12c1)
> [0x7fa782648a48]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #12
> /usr/lib64/samba/libsmbd-base-samba4.so(+0x1ee8ee) [0x7fa78264a8ee]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #13
> /usr/lib64/samba/libtevent.so.0(tevent_common_invoke_fd_handler+0x84)
> [0x7fa781c470e3]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #14
> /usr/lib64/samba/libtevent.so.0(+0xc659) [0x7fa781c4d659]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #15
> /usr/lib64/samba/libtevent.so.0(+0xa2a7) [0x7fa781c4b2a7]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #16
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0xa2) [0x7fa781c468f6]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #17
> /usr/lib64/samba/libtevent.so.0(tevent_common_loop_wait+0x21)
> [0x7fa781c46af1]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #18
> /usr/lib64/samba/libtevent.so.0(+0xa255) [0x7fa781c4b255]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #19
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_wait+0xa) [0x7fa781c46b4d]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #20
> /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x909) [0x7fa782637f5a]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #21
> /usr/sbin/smbd(+0xc83c) [0x556c4adbb83c]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #22
> /usr/lib64/samba/libtevent.so.0(tevent_common_invoke_fd_handler+0x84)
> [0x7fa781c470e3]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #23
> /usr/lib64/samba/libtevent.so.0(+0xc659) [0x7fa781c4d659]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #24
> /usr/lib64/samba/libtevent.so.0(+0xa2a7) [0x7fa781c4b2a7]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #25
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0xa2) [0x7fa781c468f6]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #26
> /usr/lib64/samba/libtevent.so.0(tevent_common_loop_wait+0x21)
> [0x7fa781c46af1]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #27
> /usr/lib64/samba/libtevent.so.0(+0xa255) [0x7fa781c4b255]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #28
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_wait+0xa) [0x7fa781c46b4d]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #29
> /usr/sbin/smbd(main+0x1d2c) [0x556c4adbd6ea]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #30
> /lib64/libc.so.6(__libc_start_main+0xf3) [0x7fa77e531873]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: #31
> /usr/sbin/smbd(_start+0x2e) [0x556c4adb5cde]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: [2020/04/16 13:36:47.547190,
> 0] ../../source3/lib/util.c:842(smb_panic_s3)
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: smb_panic(): calling panic
> action [/usr/share/samba/panic-action 6263]
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: [2020/04/16 13:36:47.552518,
> 0] ../../source3/lib/util.c:850(smb_panic_s3)
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: smb_panic(): action
> returned status 127
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: [2020/04/16 13:36:47.552570,
> 0] ../../source3/lib/dumpcore.c:318(dump_core)
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]: coredump is handled by
> helper binary specified at /proc/sys/kernel/core_pattern
> Apr 16 13:36:47 lx-sv-03 smbd_audit[6263]:
> Apr 16 13:36:47 lx-sv-03 systemd[1]: Started Process Core Dump (PID
> 6266/UID 0).
> Apr 16 13:36:47 lx-sv-03 smbd[6268]: [2020/04/16 13:36:47.987185, 4]
> ../../auth/auth_log.c:753(log_successful_authz_event_human_readable)
> Apr 16 13:36:47 lx-sv-03 smbd[6268]: Successful AuthZ: [SMB2,krb5]
> user [DOM-02]\[cn] [S-1-5-21-773202902-494389186-2375354597-2054] at
> [Thu, 16 Apr 2020 13:36:47.987041 CEST] Remote host
> [ipv4:10.0.8.5:55213] local host [ipv4:192.168.0.31:445]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: [2020/04/16 13:36:48.016156,
> 0] ../../source3/lib/util.c:830(smb_panic_s3)
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: PANIC (pid 6268):
> vfs_full_audit.c: name table not in sync with vfs_op_type enums
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]:
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: [2020/04/16 13:36:48.016693,
> 0] ../../lib/util/fault.c:265(log_stack_trace)
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: BACKTRACE: 32 stack frames:
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #0
> /usr/lib64/samba/libsamba-util.so.0(log_stack_trace+0x30) [0x7fa7829ebedc]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #1
> /usr/lib64/samba/libsmbconf.so.0(smb_panic_s3+0x24) [0x7fa78108a419]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #2
> /usr/lib64/samba/libsamba-util.so.0(smb_panic+0x2c) [0x7fa7829ebfdf]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #3
> /usr/lib64/samba/vfs/full_audit.so(+0x5ee4) [0x7fa769034ee4]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #4
> /usr/lib64/samba/vfs/full_audit.so(+0x9345) [0x7fa769038345]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #5
> /usr/lib64/samba/libsmbd-base-samba4.so(smb_vfs_call_connect+0x21)
> [0x7fa782621303]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #6
> /usr/lib64/samba/vfs/acl_xattr.so(+0x16d9) [0x7fa768e2c6d9]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #7
> /usr/lib64/samba/libsmbd-base-samba4.so(smb_vfs_call_connect+0x21)
> [0x7fa782621303]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #8
> /usr/lib64/samba/libsmbd-base-samba4.so(+0x1dd383) [0x7fa782639383]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #9
> /usr/lib64/samba/libsmbd-base-samba4.so(make_connection_smb2+0x53)
> [0x7fa78263a4f3]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #10
> /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_process_tcon+0x459)
> [0x7fa782650d8a]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #11
> /usr/lib64/samba/libsmbd-base-samba4.so(smbd_smb2_request_dispatch+0x12c1)
> [0x7fa782648a48]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #12
> /usr/lib64/samba/libsmbd-base-samba4.so(+0x1ee8ee) [0x7fa78264a8ee]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #13
> /usr/lib64/samba/libtevent.so.0(tevent_common_invoke_fd_handler+0x84)
> [0x7fa781c470e3]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #14
> /usr/lib64/samba/libtevent.so.0(+0xc659) [0x7fa781c4d659]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #15
> /usr/lib64/samba/libtevent.so.0(+0xa2a7) [0x7fa781c4b2a7]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #16
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0xa2) [0x7fa781c468f6]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #17
> /usr/lib64/samba/libtevent.so.0(tevent_common_loop_wait+0x21)
> [0x7fa781c46af1]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #18
> /usr/lib64/samba/libtevent.so.0(+0xa255) [0x7fa781c4b255]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #19
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_wait+0xa) [0x7fa781c46b4d]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #20
> /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x909) [0x7fa782637f5a]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #21
> /usr/sbin/smbd(+0xc83c) [0x556c4adbb83c]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #22
> /usr/lib64/samba/libtevent.so.0(tevent_common_invoke_fd_handler+0x84)
> [0x7fa781c470e3]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #23
> /usr/lib64/samba/libtevent.so.0(+0xc659) [0x7fa781c4d659]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #24
> /usr/lib64/samba/libtevent.so.0(+0xa2a7) [0x7fa781c4b2a7]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #25
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0xa2) [0x7fa781c468f6]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #26
> /usr/lib64/samba/libtevent.so.0(tevent_common_loop_wait+0x21)
> [0x7fa781c46af1]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #27
> /usr/lib64/samba/libtevent.so.0(+0xa255) [0x7fa781c4b255]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #28
> /usr/lib64/samba/libtevent.so.0(_tevent_loop_wait+0xa) [0x7fa781c46b4d]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #29
> /usr/sbin/smbd(main+0x1d2c) [0x556c4adbd6ea]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #30
> /lib64/libc.so.6(__libc_start_main+0xf3) [0x7fa77e531873]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: #31
> /usr/sbin/smbd(_start+0x2e) [0x556c4adb5cde]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: [2020/04/16 13:36:48.016852,
> 0] ../../source3/lib/util.c:842(smb_panic_s3)
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: smb_panic(): calling panic
> action [/usr/share/samba/panic-action 6268]
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: [2020/04/16 13:36:48.021025,
> 0] ../../source3/lib/util.c:850(smb_panic_s3)
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: smb_panic(): action
> returned status 127
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: [2020/04/16 13:36:48.021085,
> 0] ../../source3/lib/dumpcore.c:318(dump_core)
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]: coredump is handled by
> helper binary specified at /proc/sys/kernel/core_pattern
> Apr 16 13:36:48 lx-sv-03 smbd_audit[6268]:
> Apr 16 13:36:48 lx-sv-03 systemd[1]: Started Process Core Dump (PID
> 6270/UID 0).
> Apr 16 13:36:48 lx-sv-03 systemd-coredump[6267]: Process 6263 (smbd) of
> user 0 dumped core.
>
> Stack trace of thread 6263:
> #0 0x00007fa77e5458df
> raise (libc.so.6)
> #1 0x00007fa77e52fcf5
> abort (libc.so.6)
> #2 0x00007fa78107bfb5
> dump_core (libsmbconf.so.0)
> #3 0x00007fa78108a468
> smb_panic_s3 (libsmbconf.so.0)
> #4 0x00007fa7829ebfdf
> smb_panic (libsamba-util.so.0)
> #5 0x00007fa769034ee4
> init_bitmap (full_audit.so)
> #6 0x00007fa769038345
> smb_full_audit_connect (full_audit.so)
> #7 0x00007fa782621303
> smb_vfs_call_connect (libsmbd-base-samba4.so)
> #8 0x00007fa768e2c6d9
> connect_acl_xattr (acl_xattr.so)
> #9 0x00007fa782621303
> smb_vfs_call_connect (libsmbd-base-samba4.so)
> #10 0x00007fa782639383
> make_connection_snum (libsmbd-base-samba4.so)
> #11 0x00007fa78263a4f3
> make_connection_smb2 (libsmbd-base-samba4.so)
> #12 0x00007fa782650d8a
> smbd_smb2_request_process_tcon (libsmbd-base-samba4.so)
> #13 0x00007fa782648a48
> smbd_smb2_request_dispatch (libsmbd-base-samba4.so)
> #14 0x00007fa78264a8ee
> smbd_smb2_connection_handler (libsmbd-base-samba4.so)
> #15 0x00007fa781c470e3
> tevent_common_invoke_fd_handler (libtevent.so.0)
> #16 0x00007fa781c4d659
> epoll_event_loop_once (libtevent.so.0)
> #17 0x00007fa781c4b2a7
> std_event_loop_once (libtevent.so.0)
> #18 0x00007fa781c468f6
> _tevent_loop_once (libtevent.so.0)
> #19 0x00007fa781c46af1
> tevent_common_loop_wait (libtevent.so.0)
> #20 0x00007fa781c4b255
> std_event_loop_wait (libtevent.so.0)
> #21 0x00007fa781c46b4d
> _tevent_loop_wait (libtevent.so.0)
> #22 0x00007fa782637f5a
> smbd_process (libsmbd-base-samba4.so)
> #23 0x0000556c4adbb83c
> smbd_accept_connection (smbd)
> #24 0x00007fa781c470e3
> tevent_common_invoke_fd_handler (libtevent.so.0)
> #25 0x00007fa781c4d659
> epoll_event_loop_once (libtevent.so.0)
> #26 0x00007fa781c4b2a7
> std_event_loop_once (libtevent.so.0)
> #27 0x00007fa781c468f6
> _tevent_loop_once (libtevent.so.0)
> #28 0x00007fa781c46af1
> tevent_common_loop_wait (libtevent.so.0)
> #29 0x00007fa781c4b255
> std_event_loop_wait (libtevent.so.0)
> #30 0x00007fa781c46b4d
> _tevent_loop_wait (libtevent.so.0)
> #31 0x0000556c4adbd6ea
> main (smbd)
> #32 0x00007fa77e531873
> __libc_start_main (libc.so.6)
> #33 0x0000556c4adb5cde
> _start (smbd)
> Apr 16 13:36:48 lx-sv-03 systemd-coredump[6271]: Process 6268 (smbd) of
> user 0 dumped core.
>
> Stack trace of thread 6268:
> #0 0x00007fa77e5458df
> raise (libc.so.6)
> #1 0x00007fa77e52fcf5
> abort (libc.so.6)
> #2 0x00007fa78107bfb5
> dump_core (libsmbconf.so.0)
> #3 0x00007fa78108a468
> smb_panic_s3 (libsmbconf.so.0)
> #4 0x00007fa7829ebfdf
> smb_panic (libsamba-util.so.0)
> #5 0x00007fa769034ee4
> init_bitmap (full_audit.so)
> #6 0x00007fa769038345
> smb_full_audit_connect (full_audit.so)
> #7 0x00007fa782621303
> smb_vfs_call_connect (libsmbd-base-samba4.so)
> #8 0x00007fa768e2c6d9
> connect_acl_xattr (acl_xattr.so)
> #9 0x00007fa782621303
> smb_vfs_call_connect (libsmbd-base-samba4.so)
> #10 0x00007fa782639383
> make_connection_snum (libsmbd-base-samba4.so)
> #11 0x00007fa78263a4f3
> make_connection_smb2 (libsmbd-base-samba4.so)
> #12 0x00007fa782650d8a
> smbd_smb2_request_process_tcon (libsmbd-base-samba4.so)
> #13 0x00007fa782648a48
> smbd_smb2_request_dispatch (libsmbd-base-samba4.so)
> #14 0x00007fa78264a8ee
> smbd_smb2_connection_handler (libsmbd-base-samba4.so)
> #15 0x00007fa781c470e3
> tevent_common_invoke_fd_handler (libtevent.so.0)
> #16 0x00007fa781c4d659
> epoll_event_loop_once (libtevent.so.0)
> #17 0x00007fa781c4b2a7
> std_event_loop_once (libtevent.so.0)
> #18 0x00007fa781c468f6
> _tevent_loop_once (libtevent.so.0)
> #19 0x00007fa781c46af1
> tevent_common_loop_wait (libtevent.so.0)
> #20 0x00007fa781c4b255
> std_event_loop_wait (libtevent.so.0)
> #21 0x00007fa781c46b4d
> _tevent_loop_wait (libtevent.so.0)
> #22 0x00007fa782637f5a
> smbd_process (libsmbd-base-samba4.so)
> #23 0x0000556c4adbb83c
> smbd_accept_connection (smbd)
> #24 0x00007fa781c470e3
> tevent_common_invoke_fd_handler (libtevent.so.0)
> #25 0x00007fa781c4d659
> epoll_event_loop_once (libtevent.so.0)
> #26 0x00007fa781c4b2a7
> std_event_loop_once (libtevent.so.0)
> #27 0x00007fa781c468f6
> _tevent_loop_once (libtevent.so.0)
> #28 0x00007fa781c46af1
> tevent_common_loop_wait (libtevent.so.0)
> #29 0x00007fa781c4b255
> std_event_loop_wait (libtevent.so.0)
> #30 0x00007fa781c46b4d
> _tevent_loop_wait (libtevent.so.0)
> #31 0x0000556c4adbd6ea
> main (smbd)
> #32 0x00007fa77e531873
> __libc_start_main (libc.so.6)
> #33 0x0000556c4adb5cde
> _start (smbd)
>
>
>
>
> here is the smb.conf
>
>
>
> [global]
> netbios name = LX-SV-03
> server string = Daten
> security = ADS
> realm = HQ.DOM.DE
> workgroup = DOM-02
> disable netbios = yes
> smb ports = 445
> interfaces = eth0
> bind interfaces only = yes
> server min protocol = SMB2
> client min protocol = SMB2
> log level = 1 auth_audit:4
> logging = syslog only
> kerberos method = secrets and keytab
> dedicated keytab file = /etc/krb5.keytab
> writeable =YES
> map acl inherit = yes
> store dos attributes = yes
> inherit acls = Yes
> vfs objects = acl_xattr full_audit
> full_audit:success = pwrite write rename unlink
> full_audit:prefix = IP=%I|USER=%u|MACHINE=%m|VOLUME=%S
> full_audit:priority = NOTICE
> full_audit:facility = local7
> full_audit:failure = none
>
> username map = /etc/samba/smbusers
>
> interfaces = lo eth0
> bind interfaces only = Yes
>
> # Default idmap config used for BUILTIN and local windows
> accounts/groups
> idmap config *:backend = tdb
> idmap config *:range = 1000000-2000000
>
> # idmap config for domain DOM-02
> idmap config DOM-02:backend = ad
> idmap config DOM-02:range = 500-65555
> #@rowland I know your opinion on the id Range :-)
> idmap config DOM-02:unix_nss_info = yes
> idmap config DOM-02:schema_mode = rfc2307
> #winbind enum users = yes
> #winbind enum groups = yes
> winbind use default domain = Yes
> winbind offline logon = yes
> winbind reconnect delay = 5
> winbind refresh tickets = yes
>
>
> [test]
> writeable = yes
> path = /srv/
>
>
> Regards
>
> Christian
>
--
Dr. Christian Naumer
Unit Head Bioprocess Development
B.R.A.I.N Aktiengesellschaft
Darmstaedter Str. 34-36, D-64673 Zwingenberg
e-mail cn at brain-biotech.com, homepage www.brain-biotech.com
fon +49-6251-9331-30 / fax +49-6251-9331-11
Sitz der Gesellschaft: Zwingenberg/Bergstrasse
Registergericht AG Darmstadt, HRB 24758
Vorstand: Adriaan Moelker (Vorstandsvorsitzender),
Manfred Bender, Ludger Roedder
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen
More information about the samba
mailing list