[Samba] get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
Markus Dellermann
saml at use.startmail.com
Fri Nov 15 12:43:08 UTC 2019
Am Freitag, 15. November 2019, 12:31:44 CET schrieb Markus Dellermann via
> Hi all,
> hope, its ok, to join here..
>
> Am Donnerstag, 14. November 2019, 14:34:29 CET schrieb Peter Eriksson via
>samba:
> > Upgraded to Samba 4.11.2 and I’ve now too started seeing the message:
> > get_share_mode_lock: get_static_share_mode_data failed:
>> NT_STATUS_NO_MEMORY
>
[...]
> >
> > - Peter
>
> It seems to be the same here since 4.11..:
> ../../source3/locking/share_mode_lock.c:597(get_share_mode_lock)
>
> Not sure, if this is related, but it seems we have now much more corruptions
> on a LotusOrganizer-file which is heavily used by some people.
> I have to compress often
>
>
> samba-4.11.2+git.99.f93cc798f2e-lp151.1.1.x86_64
>
> kvm/proxmox system
> 48GB Ram
> free -hm
> cat /etc/samba/smb.conf
>
>
> Markus
ups, lost some infos.. sorry
opensSUSE-Leap-15.1
samba-4.11.2+git.99.f93cc798f2e-lp151.1.1.x86_64
(from opensuse-build-server/samba_stable)
kvm/proxmox system
48GB Ram
free -hm
total used free shared buff/cache available
Mem: 48Gi 1.3Gi 2.7Gi 40Mi 44Gi
46Gi
cat /etc/samba/smb.conf
[global]
workgroup = NTDOM
bind interfaces only = yes
interfaces = lo eth0
disable netbios = yes
security = ADS
realm = REALM.SUBDOMAIN.DOMAIN.DE
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
idmap config NTDOM:backend = ad
idmap config NTDOM:schema_mode = rfc2307
idmap config NTDOM:range = 10000-999999
idmap config NTDOM:unix_nss_info = yes
idmap config *:backend = tdb
idmap config *:range = 3000-7999
template shell = /bin/bash
template homedir = /home/%U
winbind refresh tickets = Yes
winbind scan trusted domains = no
username map = /etc/samba/smbusers
create mask = 0660
directory mask = 0770
vfs objects = acl_xattr
map acl inherit = Yes
kernel share modes = no
posix locking = no
strict allocate = yes
rpc_server:spoolss = external
rpc_daemon:spoolssd = fork
spoolss: architecture = Windows x64
log level = 1 winbind:3
full_audit:failure = all
full_audit:success = all
full_audit:prefix = IP=%I|USER=%u|MACHINE=%m
full_audit:facility = local7
full_audit:priority = ALERT
printing = CUPS
load printers = no
[printers]
path = /var/spool/samba
printable = yes
[print$]
comment = Printer Drivers
path = /srv/samba/printer_drivers/
read only = no
[PDFprinter]
comment = Samba Virtual PDF Printer
path = /var/spool/samba
printable = Yes
lpq command =
lprm command =
print command = /usr/local/bin/Pdfprint.sh -s /var/spool/samba/%s \
-d /home/%U -o %U -m 600 -l /var/log/samba/Pdfprint.log
[home]
path = /daten1/home/
read only = No
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
[profiles]
comment = Network Profiles Service
path = /daten1/profiles
read only = No
browseable = yes
acl_xattr:ignore system acl = yes
[4all]
path = /daten1/4all
read only = No
force group = NTDOM\4all
[arbeitsschutz]
path = /daten1/Arbeitsschutz
read only = No
[admin]
comment = Admin
path = /daten1/Admin
read only = No
force group = NTDOM\admin
#smb encrypt = desired
[archiv]
comment = Archiv
path = /daten2/archiv
read only = No
[beratung]
path = /daten1/Beratung
read only = No
force group = NTDOM\beratung
[programm]
path = /daten3/programm
read only = No
acl_xattr:ignore system acl = yes
vfs objects = acl_xattr streams_xattr
[fertigung]
path = /daten1/Fertigung
read only = No
force group = NTDOM\4all
[fun]
comment = party
path = /daten2/fun
read only = No
force group = NTDOM\4all
create mode = 0666
directory mask = 0777
delete veto files = Yes
veto files = /*.exe/ /*.msi/ /*.pif/
[grafik]
comment = kunst
path = /daten1/Kunst
read only = No
[verwaltung]
path = /daten1/Verwaltung
read only = No
force group = NTDOM\verwaltung
[input]
comment = Eingang
path = /daten2/input
read only = No
delete veto files = Yes
veto files = /*.exe/ /*.msi/ /*.pif/
vfs objects = acl_xattr virusfilter
virusfilter:scanner = clamav
virusfilter:socket path = /var/run/clamav/clamd-socket
Greetz
Markus
More information about the samba
mailing list