samba AD DC status

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

samba AD DC status

Olivier Cherrier

        Hello,

I'm trying to setup a Samba AD DC on 6.8 (amd64) and it always fails
to start with following error:

----8<----
[2021/02/23 10:58:06.223190,  0] ../source4/smbd/server.c:587(binary_smbd_main)
  samba version 4.9.18 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2018
[2021/02/23 10:58:06.305556,  0] ../lib/util/fault.c:79(fault_report)
  ===============================================================
[2021/02/23 10:58:06.305856,  0] ../lib/util/fault.c:80(fault_report)
  INTERNAL ERROR: Signal 11 in pid 65725 (4.9.18)
  If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
[2021/02/23 10:58:06.306307,  0] ../lib/util/fault.c:86(fault_report)
  ===============================================================
[2021/02/23 10:58:06.306420,  0] ../lib/util/fault.c:132(smb_panic_default)
  smb_panic_default: PANIC (pid 65725): internal error
[2021/02/23 10:58:06.306865,  0] ../lib/util/fault.c:265(log_stack_trace)
  BACKTRACE: 11 stack frames:
   #0 0x2724a461f55 <log_stack_trace+53> at /usr/local/lib/libsamba-util.so.5.0
   #1 0x2724a461dd4 <smb_panic+164> at /usr/local/lib/libsamba-util.so.5.0
   #2 0x2724a461d45 <smb_panic+21> at /usr/local/lib/libsamba-util.so.5.0
   #3 0x2724a462133 <log_stack_trace+531> at /usr/local/lib/libsamba-util.so.5.0
   #4 0x2724a461d29 <fault_setup+137> at /usr/local/lib/libsamba-util.so.5.0
   #5 0x27288e77005
   #6 0x27210347d5b <ntvfs_init+171> at /usr/local/lib/samba/libntvfs-samba4.so
   #7 0x271ce6be9ef <samba_init_module+47> at /usr/local/lib/samba/service/smb.so
   #8 0x271e299d668 <run_init_functions+72> at /usr/local/lib/samba/libsamba-modules-samba4.so
   #9 0x26fa4ee3bb2 <???+2678531701682> at samba
   #10 0x26fa4ee2d31 <???+2678531697969> at samba
----8<----


There are some relevant information here:
  http://openbsd-archive.7691.n7.nabble.com/samba4-and-ACL-s-td312340.html
Did something change since that time?


I changed this:
  diff /usr/local/lib/python2.7/site-packages/samba/netcmd/domain.py{.orig,}
  532c532
  <                   use_rfc2307=use_rfc2307, skip_sysvolacl=False,
  ---
  >                   use_rfc2307=use_rfc2307, skip_sysvolacl=True,

and generated smb.conf file using:
  samba-tool domain provision --use-rfc2307 --server-role=dc \
        --dns-backend=SAMBA_INTERNAL --realm=FOO.COM \
        --domain=FOO --adminpass=mypass

It looks like this:
----8<----
  # Global parameters
  [global]
        dns forwarder = 192.168.178.1
        netbios name = MS-AD
        realm = FOO.COM
        server role = active directory domain controller
        workgroup = FOO
        idmap_ldb:use rfc2307 = yes
        xattr_tdb:file = /var/samba/xattr.tdb

  [netlogon]
        path = /var/samba/sysvol/foo.com/scripts
        read only = No

  [sysvol]
        path = /var/samba/sysvol
        read only = No
----8<----



I also tried to add 'acl_xattr:ignore system acls = yes' to [global] but
it doesn't help.

Is there a solution for this problem?


Thank you,
Best.

--
Olivier Cherrier
Phone: +352691570680
mailto:[hidden email]