[Samba] get_share_mode_lock:, get_static_share_mode_data failed: NT_STATUS_NO_MEMORY with Samba 4.11.2

Christian Naumer cn at brain-biotech.de
Fri Nov 29 08:04:34 UTC 2019

Hello all,
after the upgarde from Samba 4.10.7 to 4.11.2 we get lots of these in
our logfiles:

2019-11-28T20:40:44+01:00 lx-sv-09 smbd_audit: [2019/11/28
20:40:44.886615,  1]
2019-11-28T20:40:44+01:00 lx-sv-09 smbd_audit:  get_share_mode_lock:
get_static_share_mode_data failed: NT_STATUS_NO_MEMORY

There are no symptoms accept those errors in the logs. At least none
were reported until now.
Has anybody seen this before?

System is centos7 with the sernet packages running as a domain member.

here is the smb.conf (I know about the idmap range. It was a classic

        security = ADS
        realm = AD.DOM.COM
        log level = 1 auth_audit:3
        logging = syslog only
        workgroup = AD-02
        netbios name = LX-SV-09
        server string = Daten
        kerberos method = secrets and keytab

        interfaces = lo eth0
        bind interfaces only = Yes
        writable = yes
        disable netbios = yes
        smb ports = 445
        server min protocol = SMB2
        client min protocol = SMB2

##acl stuff##
        map acl inherit = YES
        store dos attributes = yes
        username map = /etc/samba/smbusers
        inherit acls = Yes

        load printers = no
        printing = bsd
        printcap name = /dev/null
        disable spoolss = yes

        # Default idmap config used for BUILTIN and local windows
        idmap config *:backend = tdb
        idmap config *:range = 3000000-3100000

        # idmap config for domain AD-02
        idmap config AD-02:backend = ad
        idmap config AD-02:range = 500-65555
        idmap config AD-02:schema_mode = rfc2307
        idmap config AD-02:unix_nss_info = yes
        winbind use default domain = Yes
        winbind offline logon = yes
        winbind refresh tickets = yes
        machine password timeout = 0

vfs objects = acl_xattr full_audit shadow_copy2
full_audit:failure = none
full_audit:success = pwrite write rename unlink
full_audit:prefix = IP=%I|USER=%u|MACHINE=%m|VOLUME=%S
full_audit:facility = local7
full_audit:priority = NOTICE

There was a post previously with the same Error message but I think no
real solution.




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: Dr. Juergen Eck (Vorsitzender), Manfred Bender,
Ludger Roedder
Aufsichtsratsvorsitzender: Dr. Georg Kellinghusen

More information about the samba mailing list