Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smbd - Failed to load config file! #118

Open
3 tasks done
truppelito opened this issue Oct 29, 2024 · 6 comments
Open
3 tasks done

smbd - Failed to load config file! #118

truppelito opened this issue Oct 29, 2024 · 6 comments

Comments

@truppelito
Copy link

Support guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

I'm having trouble using this docker image. Below is my docker compose config, and here is my samba config, which is the file in ../volumes/main/samba/data/config.yml:

auth:
  - user: mbjfbtxgzn
    group: mbjfbtxgzn
    uid: 1000
    gid: 1000
    password: .....

global:
  - "force user = mbjfbtxgzn"
  - "force group = mbjfbtxgzn"

share:
  - name: home
    path: /share/home
    browsable: yes
    readonly: no
    guestok: no
    validusers: mbjfbtxgzn
    writelist: mbjfbtxgzn
    veto: no
    recycle: no

Expected behaviour

I start the docker container, it starts correctly and without issues.

Actual behaviour

The container continuously prints the text below in the logs.

Steps to reproduce

See config files.

Docker info

Client: Docker Engine - Community
 Version:    27.1.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.16.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.1
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 80
  Running: 71
  Paused: 0
  Stopped: 9
 Images: 74
 Server Version: 27.1.1
 Storage Driver: overlay2
  Backing Filesystem: btrfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 2bf793ef6dc9a18e00cb12efb64355c2c9d5eb41
 runc version: v1.1.13-0-g58aa920
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.5.0-44-generic
 Operating System: Ubuntu 23.10
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 20.98GiB
 Name: server-1
 ID: c2f092a8-0264-4165-957b-bea0d85ba9c0
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Docker Compose config

samba:
        image: crazymax/samba
        container_name: samba
        restart: unless-stopped
        volumes:
            - /etc/localtime:/etc/localtime:ro
            - /etc/timezone:/etc/timezone:ro
            - /home/mbjfbtxgzn:/share/home
            - ../volumes/main/samba/data:/data
        environment:
            - TZ=Europe/Berlin
            - SAMBA_HOSTS_ALLOW=127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 100.64.0.0/10
            #- SAMBA_LOG_LEVEL=10
            #- LOG_LEVEL=debug
        ports:
            - 445:445

Logs

With `LOG_LEVEL=debug`, this is printed (the last lines repeat):

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-config.sh: executing... 
Setting timezone to Europe/Berlin
ln: failed to create symbolic link '/etc/localtime': Resource busy
/var/run/s6/etc/cont-init.d/01-config.sh: line 17: /etc/timezone: Read-only file system
Initializing files and folders
Setting global configuration
Creating user mbjfbtxgzn/mbjfbtxgzn (1000:1000)
Add global option: force user = mbjfbtxgzn
Add global option: force group = mbjfbtxgzn
Creating share home
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
# Global parameters
[global]
	disable netbios = Yes
	disable spoolss = Yes
	dns proxy = No
	local master = No
	map to guest = Bad User
	pam password change = Yes
	printcap name = /dev/null
	security = USER
	server role = standalone server
	server services = s3fs, rpc, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
	server string = Docker Samba Server
	smb1 unix extensions = No
	smb ports = 445
	usershare allow guests = Yes
	winbind scan trusted domains = Yes
	fruit:time machine = yes
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
	fruit:delete_empty_adfiles = yes
	fruit:wipe_intentionally_left_blank_rfork = yes
	fruit:veto_appledouble = no
	fruit:posix_rename = yes
	fruit:model = MacSamba
	fruit:metadata = stream
	idmap config * : backend = tdb
	create mask = 0664
	directory mask = 0775
	force create mode = 0664
	force directory mode = 0775
	force group = mbjfbtxgzn
	force user = mbjfbtxgzn
	hosts allow = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 100.64.0.0/10
	hosts deny = 0.0.0.0/0
Server role: ROLE_STANDALONE
	printing = bsd
	strict locking = No
	vfs objects = fruit streams_xattr
	wide links = Yes
[home]
	delete veto files = Yes
	path = /share/home
	read only = No
	valid users = mbjfbtxgzn
	veto files = /._*/.apdisk/.AppleDouble/.DS_Store/.TemporaryItems/.Trashes/desktop.ini/ehthumbs.db/Network Trash Folder/Temporary Items/Thumbs.db/
	vfs objects = recycle
	write list = mbjfbtxgzn
	recycle:versions = yes
	recycle:keeptree = yes
	recycle:repository = .recycle
[cont-init.d] 01-config.sh: exited 0.
[cont-init.d] 02-svc-smbd.sh: executing... 
[cont-init.d] 02-svc-smbd.sh: exited 0.
[cont-init.d] 03-svc-wsdd2.sh: executing... 
[cont-init.d] 03-svc-wsdd2.sh: exited 0.
[cont-init.d] ~-socklog: executing... 
[cont-init.d] ~-socklog: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
...

---

With `SAMBA_LOG_LEVEL=10`, this is printed (the entire text is just repeated continuously):

INFO: Current debug levels:
�������
0
�������
0
  printdrivers: 10
�������
  lanman: 10
�������
0
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
�������
  passdb: 10
�������
0
  auth: 10
  winbind: 10
�������
0
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
�������
0
�������
0
�������
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
  smb2: 10
  smb2_credits: 10
  dsdb_audit: 10
  dsdb_json_audit: 10
  dsdb_password_audit: 10
  dsdb_password_json_audit: 10
  dsdb_transaction_audit: 10
  dsdb_transaction_json_audit: 10
  dsdb_group_audit: 10
  dsdb_group_json_audit: 10
doing parameter hosts allow = 127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 100.64.0.0/10
doing parameter hosts deny = 0.0.0.0/0
doing parameter security = user
doing parameter guest account = nobody
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter usershare allow guests = yes
doing parameter create mask = 0664
doing parameter force create mode = 0664
doing parameter directory mask = 0775
doing parameter force directory mode = 0775
doing parameter follow symlinks = yes
doing parameter wide links = yes
doing parameter unix extensions = no
doing parameter printing = bsd
doing parameter printcap name = /dev/null
doing parameter disable spoolss = yes
doing parameter disable netbios = yes
doing parameter smb ports = 445
doing parameter client ipc min protocol = default
doing parameter client ipc max protocol = default
doing parameter dns proxy = no
doing parameter socket options = TCP_NODELAY
doing parameter strict locking = no
doing parameter local master = no
doing parameter winbind scan trusted domains = yes
doing parameter vfs objects = fruit streams_xattr
doing parameter fruit:metadata = stream
doing parameter fruit:model = MacSamba
doing parameter fruit:posix_rename = yes
doing parameter fruit:veto_appledouble = no
doing parameter fruit:wipe_intentionally_left_blank_rfork = yes
doing parameter fruit:delete_empty_adfiles = yes
doing parameter fruit:time machine = yes
doing parameter force user = mbjfbtxgzn
doing parameter force group = mbjfbtxgzn
pm_process() returned Yes
lp_servicenumber: couldn't find homes
added interface eth0 ip=172.24.0.5 bcast=172.24.255.255 netmask=255.255.0.0
INFO: Current debug levels:
�������
0
�������
0
  printdrivers: 10
�������
  lanman: 10
�������
0
  rpc_parse: 10
  rpc_srv: 10
  rpc_cli: 10
�������
  passdb: 10
�������
0
  auth: 10
  winbind: 10
�������
0
  idmap: 10
  quota: 10
  acls: 10
  locking: 10
  msdfs: 10
  dmapi: 10
  registry: 10
  scavenger: 10
�������
0
�������
0
�������
  tevent: 10
  auth_audit: 10
  auth_json_audit: 10
  kerberos: 10
  drs_repl: 10
  smb2: 10
  smb2_credits: 10
  dsdb_audit: 10
  dsdb_json_audit: 10
  dsdb_password_audit: 10
  dsdb_password_json_audit: 10
  dsdb_transaction_audit: 10
  dsdb_transaction_json_audit: 10
  dsdb_group_audit: 10
  dsdb_group_json_audit: 10
smbd version 4.19.6 started.
Copyright Andrew Tridgell and the Samba Team 1992-2023
uid=0 gid=0 euid=0 egid=0
Paths:
   SBINDIR: /usr/sbin
   BINDIR: /usr/bin
   CONFIGFILE: /etc/samba/smb.conf
   LOGFILEBASE: /var/log/samba
   LMHOSTSFILE: /etc/samba/lmhosts
   LIBDIR: /usr/lib
   DATADIR: /usr/share
   SAMBA_DATADIR: /usr/share/samba
   MODULESDIR: /usr/lib/samba
   SHLIBEXT: so
   LOCKDIR: /var/cache/samba
   STATEDIR: /var/lib/samba
   CACHEDIR: /var/cache/samba
   PIDDIR: /run/samba
   SMB_PASSWD_FILE: /var/lib/samba/private/smbpasswd
   PRIVATE_DIR: /var/lib/samba/private
   BINDDNS_DIR: /var/lib/samba/bind-dns
System Headers:
   HAVE_SYS_ACL_H
   HAVE_SYS_AUXV_H
   HAVE_SYS_CAPABILITY_H
   HAVE_SYS_CDEFS_H
   HAVE_SYS_DIR_H
   HAVE_SYS_EPOLL_H
   HAVE_SYS_EVENTFD_H
   HAVE_SYS_FCNTL_H
   HAVE_SYS_FILE_H
   HAVE_SYS_INOTIFY_H
   HAVE_SYS_IOCTL_H
   HAVE_SYS_IPC_H
   HAVE_SYS_KERNEL_PROC_CORE_PATTERN
   HAVE_SYS_MMAN_H
   HAVE_SYS_MOUNT_H
   HAVE_SYS_PARAM_H
   HAVE_SYS_PRCTL_H
   HAVE_SYS_QUOTAS
   HAVE_SYS_QUOTA_H
   HAVE_SYS_RANDOM_H
   HAVE_SYS_RESOURCE_H
   HAVE_SYS_SELECT_H
   HAVE_SYS_SENDFILE_H
   HAVE_SYS_SHM_H
   HAVE_SYS_SOCKET_H
   HAVE_SYS_STATFS_H
   HAVE_SYS_STATVFS_H
   HAVE_SYS_STAT_H
   HAVE_SYS_STROPTS_H
   HAVE_SYS_SYSCALL_H
   HAVE_SYS_SYSLOG_H
   HAVE_SYS_SYSMACROS_H
   HAVE_SYS_TERMIOS_H
   HAVE_SYS_TIMEB_H
   HAVE_SYS_TIMES_H
   HAVE_SYS_TIME_H
   HAVE_SYS_TYPES_H
   HAVE_SYS_UCONTEXT_H
   HAVE_SYS_UIO_H
   HAVE_SYS_UN_H
   HAVE_SYS_UTSNAME_H
   HAVE_SYS_VFS_H
   HAVE_SYS_WAIT_H
   HAVE_SYS_XATTR_H
Headers:
   HAVE_ACL_LIBACL_H
   HAVE_ALLOCA_H
   HAVE_ARCHIVE_H
   HAVE_ARPA_INET_H
   HAVE_ARPA_NAMESER_H
   HAVE_ASM_TYPES_H
   HAVE_ASM_UNISTD_H
   HAVE_ASSERT_H
   HAVE_AVAHI_CLIENT_CLIENT_H
   HAVE_AVAHI_COMMON_WATCH_H
   HAVE_COM_ERR_H
   HAVE_CONFIG_H
   HAVE_CRYPT_H
   HAVE_CTYPE_H
   HAVE_CUPS_CUPS_H
   HAVE_CUPS_LANGUAGE_H
   HAVE_CURSES_H
   HAVE_DBUS_DBUS_H
   HAVE_DIRENT_H
   HAVE_DLFCN_H
   HAVE_ENDIAN_H
   HAVE_ERRNO_H
   HAVE_ERR_H
   HAVE_FCNTL_H
   HAVE_FLOAT_H
   HAVE_FNMATCH_H
   HAVE_FORM_H
   HAVE_FTW_H
   HAVE_GETOPT_H
   HAVE_GLIB_H
   HAVE_GLOB_H
   HAVE_GPFS_H
   HAVE_GRP_H
   HAVE_GSSAPI_GSSAPI_H
   HAVE_GSSAPI_GSSAPI_KRB5_H
   HAVE_GSSAPI_GSSAPI_SPNEGO_H
   HAVE_ICONV_H
   HAVE_IFADDRS_H
   HAVE_INTTYPES_H
   HAVE_KRB5_H
   HAVE_KRB5_LOCATE_PLUGIN_H
   HAVE_LANGINFO_H
   HAVE_LASTLOG_H
   HAVE_LBER_H
   HAVE_LDAP_H
   HAVE_LIBGEN_H
   HAVE_LIBURING_COMPAT_H
   HAVE_LIBURING_H
   HAVE_LIMITS_H
   HAVE_LINUX_ETHTOOL_H
   HAVE_LINUX_FALLOC_H
   HAVE_LINUX_FCNTL_H
   HAVE_LINUX_FS_H
   HAVE_LINUX_IOCTL_H
   HAVE_LINUX_OPENAT2_H
   HAVE_LINUX_SOCKIOS_H
   HAVE_LINUX_TYPES_H
   HAVE_LOCALE_H
   HAVE_MALLOC_H
   HAVE_MEMORY_H
   HAVE_MENU_H
   HAVE_MNTENT_H
   HAVE_NCURSES_H
   HAVE_NETDB_H
   HAVE_NETINET_IN_H
   HAVE_NETINET_IN_SYSTM_H
   HAVE_NETINET_IP_H
   HAVE_NETINET_TCP_H
   HAVE_NET_IF_H
   HAVE_NSS_H
   HAVE_PANEL_H
   HAVE_POLL_H
   HAVE_POPT_H
   HAVE_PTHREAD_H
   HAVE_PTY_H
   HAVE_PWD_H
   HAVE_PYTHON_H
   HAVE_RESOLV_H
   HAVE_RPC_NETTYPE_H
   HAVE_RPC_RPC_H
   HAVE_RPC_TYPES_H
   HAVE_RPC_XDR_H
   HAVE_SASL_SASL_H
   HAVE_SCHED_H
   HAVE_SECURITY_PAM_APPL_H
   HAVE_SECURITY_PAM_EXT_H
   HAVE_SECURITY_PAM_MODULES_H
   HAVE_SECURITY__PAM_MACROS_H
   HAVE_SETJMP_H
   HAVE_SHADOW_H
   HAVE_SIGNAL_H
   HAVE_STDARG_H
   HAVE_STDATOMIC_H
   HAVE_STDBOOL_H
   HAVE_STDDEF_H
   HAVE_STDINT_H
   HAVE_STDIO_H
   HAVE_STDLIB_H
   HAVE_STRINGS_H
   HAVE_STRING_H
   HAVE_STROPTS_H
   HAVE_SYSCALL_H
   HAVE_SYSLOG_H
   HAVE_TERMCAP_H
   HAVE_TERMIOS_H
   HAVE_TERM_H
   HAVE_TIME_H
   HAVE_UNISTD_H
   HAVE_UTIME_H
   HAVE_ZLIB_H
UTMP Options:
   HAVE_UTMPX_H
   HAVE_UTMP_H
   HAVE_UT_UT_EXIT
   HAVE_UT_UT_HOST
   HAVE_UT_UT_ID
   HAVE_UT_UT_NAME
   HAVE_UT_UT_PID
   HAVE_UT_UT_TIME
   HAVE_UT_UT_TV
   HAVE_UT_UT_TYPE
   HAVE_UT_UT_USER
   PUTUTLINE_RETURNS_UTMP
   SIZEOF_UTMP_UT_LINE
�������
   WITH_UTMP
HAVE_* Defines:
   HAVE_64_BIT_SIZE_T_FOR_LMDB
   HAVE_ACL_GET_FILE
   HAVE_ADDR_TYPE_IN_KRB5_ADDRESS
   HAVE_ADS
   HAVE_AP_OPTS_USE_SUBKEY
   HAVE_ARCHIVE_READ_FREE
   HAVE_ARCHIVE_READ_SUPPORT_FILTER_ALL
   HAVE_ASPRINTF
   HAVE_ATEXIT
   HAVE_ATOMIC_THREAD_FENCE
   HAVE_ATOMIC_THREAD_FENCE_SUPPORT
   HAVE_AVAHI_CLIENT_NEW
   HAVE_AVAHI_STRERROR
   HAVE_BASENAME
   HAVE_BER_SCANF
   HAVE_BER_SOCKBUF_ADD_IO
   HAVE_BER_TAG_T
   HAVE_BLKCNT_T
   HAVE_BLKSIZE_T
�������
   HAVE_BOOL
   HAVE_BSD_STRTOLL
   HAVE_BZERO
   HAVE_C99_VSNPRINTF
   HAVE_CAP_GET_PROC
   HAVE_CHARSET_CP850
   HAVE_CHARSET_UTF_8
   HAVE_CHECKSUM_IN_KRB5_CHECKSUM
   HAVE_CHMOD
   HAVE_CHOWN
   HAVE_CHROOT
   HAVE_CLEARENV
   HAVE_CLOCK_GETTIME
   HAVE_CLOCK_MONOTONIC
   HAVE_CLOCK_PROCESS_CPUTIME_ID
   HAVE_CLOCK_REALTIME
   HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS
   HAVE_CONNECT
   HAVE_CONSTRUCTOR_ATTRIBUTE
   HAVE_COPY_FILE_RANGE
   HAVE_CRYPT
   HAVE_CRYPT_R
�������
   HAVE_CUPS
   HAVE_DBUS_1
   HAVE_DECL_ASPRINTF
   HAVE_DECL_DLOPEN
   HAVE_DECL_EWOULDBLOCK
   HAVE_DECL_FDATASYNC
   HAVE_DECL_FS_COMPR_FL
   HAVE_DECL_FS_IOC_GETFLAGS
   HAVE_DECL_GETTIMEOFDAY
   HAVE_DECL_H_ERRNO
   HAVE_DECL_KRB5_AUTH_CON_SET_REQ_CKSUMTYPE
   HAVE_DECL_KRB5_GET_CREDENTIALS_FOR_USER
   HAVE_DECL_KRB5_PAC_GET_BUFFER
   HAVE_DECL_MALLOC
   HAVE_DECL_MEMALIGN
   HAVE_DECL_PTHREAD_MUTEX_ROBUST
   HAVE_DECL_READAHEAD
   HAVE_DECL_RL_EVENT_HOOK
   HAVE_DECL_SNPRINTF
   HAVE_DECL_STRPTIME
   HAVE_DECL_VASPRINTF
   HAVE_DECL_VSNPRINTF
   HAVE_DECL__RES
   HAVE_DESTRUCTOR_ATTRIBUTE
   HAVE_DES_PCBC_ENCRYPT
   HAVE_DEVICE_MAJOR_FN
   HAVE_DEVICE_MINOR_FN
   HAVE_DIRENT_D_OFF
   HAVE_DIRFD
   HAVE_DIRFD_DECL
   HAVE_DIRNAME
   HAVE_DISABLE_FAULT_HANDLING
   HAVE_DLCLOSE
   HAVE_DLERROR
   HAVE_DLOPEN
   HAVE_DLSYM
   HAVE_DN_EXPAND
   HAVE_DPRINTF
�������
   HAVE_DUP2
   HAVE_ENCTYPE_AES128_CTS_HMAC_SHA1_96
   HAVE_ENCTYPE_AES256_CTS_HMAC_SHA1_96
   HAVE_ENCTYPE_ARCFOUR_HMAC
   HAVE_ENCTYPE_ARCFOUR_HMAC_MD5
   HAVE_ENCTYPE_ARCFOUR_HMAC_MD5_56
   HAVE_ENDHOSTENT
   HAVE_ENDMNTENT
   HAVE_ENVIRON_DECL
   HAVE_EPOLL
   HAVE_EPOLL_CREATE1
   HAVE_ERR
   HAVE_ERRNO_DECL
�������
   HAVE_ERRX
   HAVE_ETHTOOL
   HAVE_ETYPE_IN_ENCRYPTEDDATA
   HAVE_EVENTFD
   HAVE_EXECL
   HAVE_E_DATA_POINTER_IN_KRB5_ERROR
   HAVE_FALLOCATE
   HAVE_FALLOC_FL_PUNCH_HOLE
   HAVE_FALLTHROUGH_ATTRIBUTE
   HAVE_FCHMOD
   HAVE_FCHOWN
   HAVE_FCNTL_LOCK
   HAVE_FDATASYNC
   HAVE_FDOPENDIR
   HAVE_FLAGS_IN_KRB5_CREDS
   HAVE_FLOCK
   HAVE_FMEMOPEN
   HAVE_FREEADDRINFO
   HAVE_FREEIFADDRS
   HAVE_FREE_CHECKSUM
   HAVE_FRSIZE
   HAVE_FSEEKO
   HAVE_FSID_INT
   HAVE_FSYNC
   HAVE_FTRUNCATE
   HAVE_FTRUNCATE_EXTEND
   HAVE_FUNCTION_MACRO
   HAVE_FUTIMENS
   HAVE_F_OWNER_EX
   HAVE_F_SETLEASE_DECL
   HAVE_GAI_STRERROR
   HAVE_GCC_VOLATILE_MEMORY_PROTECTION
   HAVE_GETADDRINFO
   HAVE_GETAUXVAL
   HAVE_GETCWD
   HAVE_GETDOMAINNAME
   HAVE_GETGRENT
   HAVE_GETGRGID_R
   HAVE_GETGRNAM
   HAVE_GETGRNAM_R
   HAVE_GETGROUPLIST
   HAVE_GETHOSTBYADDR
   HAVE_GETHOSTBYNAME
   HAVE_GETHOSTBYNAME_R
   HAVE_GETHOSTENT
   HAVE_GETHOSTNAME
   HAVE_GETIFADDRS
   HAVE_GETMNTENT
   HAVE_GETNAMEINFO
   HAVE_GETPAGESIZE
   HAVE_GETPGRP
   HAVE_GETPWNAM
   HAVE_GETPWNAM_R
   HAVE_GETPWUID_R
   HAVE_GETRANDOM
   HAVE_GETRLIMIT
   HAVE_GETSPNAM
   HAVE_GETTIMEOFDAY_TZ_VOID
   HAVE_GETUTXENT
   HAVE_GETXATTR
   HAVE_GET_CURRENT_DIR_NAME
�������
   HAVE_GLIB
   HAVE_GLIB_2_0
�������
   HAVE_GLOB
   HAVE_GNUTLS
�������
   HAVE_GPFS
   HAVE_GRANTPT
   HAVE_GSSAPI
   HAVE_GSSKRB5_EXTRACT_AUTHZ_DATA_FROM_SEC_CONTEXT
   HAVE_GSSKRB5_GET_SUBKEY
   HAVE_GSS_DISPLAY_STATUS
   HAVE_GSS_EXPORT_CRED
   HAVE_GSS_IMPORT_CRED
   HAVE_GSS_INQUIRE_SEC_CONTEXT_BY_OID
   HAVE_GSS_KRB5_CRED_NO_CI_FLAGS_X
   HAVE_GSS_KRB5_EXPORT_LUCID_SEC_CONTEXT
   HAVE_GSS_KRB5_IMPORT_CRED
   HAVE_GSS_OID_EQUAL
   HAVE_GSS_WRAP_IOV
   HAVE_HSTRERROR
   HAVE_HTTPCONNECT
   HAVE_HTTPCONNECT2
   HAVE_HTTPCONNECTENCRYPT
   HAVE_H_ERRNO
   HAVE_ICONV
   HAVE_ICONV_ERRNO_ILLEGAL_MULTIBYTE
   HAVE_ICONV_OPEN
   HAVE_IF_NAMEINDEX
   HAVE_IF_NAMETOINDEX
   HAVE_IMMEDIATE_STRUCTURES
   HAVE_INET_ATON
   HAVE_INET_NTOA
   HAVE_INET_NTOP
   HAVE_INET_PTON
   HAVE_INITGROUPS
   HAVE_INITIALIZE_KRB5_ERROR_TABLE
   HAVE_INITSCR
   HAVE_INOTIFY
   HAVE_INOTIFY_INIT
   HAVE_INO_T
   HAVE_INT16_T
   HAVE_INT32_T
   HAVE_INT64_T
   HAVE_INT8_T
   HAVE_INTPTR_T
   HAVE_IO_URING_RING_DONTFORK
   HAVE_IPRINT
�������
   HAVE_IPV6
   HAVE_IPV6_V6ONLY
   HAVE_ISATTY
   HAVE_ITEM_COUNT
   HAVE_JANSSON
   HAVE_JSON_OBJECT
   HAVE_KERNEL_OPLOCKS_LINUX
�������
   HAVE_KRB5
   HAVE_KRB5_ADDLOG_FUNC_NEED_CONTEXT
   HAVE_KRB5_ADDRESSES
   HAVE_KRB5_AUTH_CON_SETKEY
   HAVE_KRB5_CC_COPY_CACHE
   HAVE_KRB5_CC_GET_LIFETIME
   HAVE_KRB5_CONFIG_GET_BOOL_DEFAULT
   HAVE_KRB5_CONST_PAC
   HAVE_KRB5_CREATE_CHECKSUM
   HAVE_KRB5_CRYPTO
   HAVE_KRB5_CRYPTO_DESTROY
   HAVE_KRB5_CRYPTO_INIT
   HAVE_KRB5_C_VERIFY_CHECKSUM
   HAVE_KRB5_DATA_COPY
   HAVE_KRB5_ENCTYPE_TO_STRING
   HAVE_KRB5_ENCTYPE_TO_STRING_WITH_KRB5_CONTEXT_ARG
   HAVE_KRB5_FREE_ERROR_CONTENTS
   HAVE_KRB5_FREE_HOST_REALM
   HAVE_KRB5_FREE_UNPARSED_NAME
   HAVE_KRB5_FWD_TGT_CREDS
   HAVE_KRB5_GET_CREDS
   HAVE_KRB5_GET_CREDS_OPT_ALLOC
   HAVE_KRB5_GET_CREDS_OPT_SET_IMPERSONATE
   HAVE_KRB5_GET_DEFAULT_IN_TKT_ETYPES
   HAVE_KRB5_GET_HOST_REALM
   HAVE_KRB5_GET_INIT_CREDS_KEYBLOCK
   HAVE_KRB5_GET_INIT_CREDS_OPT_ALLOC
   HAVE_KRB5_GET_INIT_CREDS_OPT_FREE
   HAVE_KRB5_GET_INIT_CREDS_OPT_GET_ERROR
   HAVE_KRB5_GET_INIT_CREDS_OPT_SET_PAC_REQUEST
   HAVE_KRB5_GET_PW_SALT
   HAVE_KRB5_GET_RENEWED_CREDS
   HAVE_KRB5_KEYBLOCK_INIT
   HAVE_KRB5_KEYBLOCK_KEYVALUE
   HAVE_KRB5_KEYTAB_ENTRY_KEYBLOCK
   HAVE_KRB5_KRBHST_GET_ADDRINFO
   HAVE_KRB5_KRBHST_INIT
   HAVE_KRB5_KT_COMPARE
   HAVE_KRB5_KT_FREE_ENTRY
   HAVE_KRB5_KU_OTHER_CKSUM
   HAVE_KRB5_MAKE_PRINCIPAL
   HAVE_KRB5_MK_REQ_EXTENDED
   HAVE_KRB5_PDU_NONE_DECL
   HAVE_KRB5_PRINCIPAL_COMPARE_ANY_REALM
   HAVE_KRB5_PRINCIPAL_GET_COMP_STRING
   HAVE_KRB5_PRINCIPAL_GET_NUM_COMP
   HAVE_KRB5_PRINCIPAL_GET_REALM
   HAVE_KRB5_PRINCIPAL_GET_TYPE
   HAVE_KRB5_PRINCIPAL_SET_REALM
   HAVE_KRB5_PRINCIPAL_SET_TYPE
   HAVE_KRB5_PROMPT_TYPE
   HAVE_KRB5_REALM_TYPE
   HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES
   HAVE_KRB5_SET_REAL_TIME
   HAVE_KRB5_STRING_TO_KEY
   HAVE_KRB5_STRING_TO_KEY_SALT
   HAVE_KRB5_WARNX
   HAVE_KRB_STRUCT_WINSIZE
   HAVE_LARGEFILE
   HAVE_LBER_LOG_PRINT_FN
   HAVE_LCHOWN
�������
   HAVE_LDAP
   HAVE_LDAP_ADD_RESULT_ENTRY
   HAVE_LDAP_INIT
   HAVE_LDAP_INITIALIZE
   HAVE_LDAP_INIT_FD
   HAVE_LDAP_OPT_SOCKBUF
   HAVE_LDAP_SASL_WRAPPING
   HAVE_LDAP_SET_REBIND_PROC
   HAVE_LDB
   HAVE_LDWRAP
   HAVE_LIBACL
   HAVE_LIBARCHIVE
   HAVE_LIBAVAHI_CLIENT
   HAVE_LIBAVAHI_COMMON
   HAVE_LIBCAP
   HAVE_LIBCRYPT
   HAVE_LIBCRYPTO
   HAVE_LIBCUPS
   HAVE_LIBDBUS_1
   HAVE_LIBFORM
   HAVE_LIBGLIB_2_0
   HAVE_LIBJANSSON
   HAVE_LIBKRB5
   HAVE_LIBLBER
   HAVE_LIBLDAP
   HAVE_LIBMENU
   HAVE_LIBNCURSES
   HAVE_LIBPAM
   HAVE_LIBPANEL
   HAVE_LIBPOPT
   HAVE_LIBREPLACE
   HAVE_LIBRESOLV
   HAVE_LIBTASN1
   HAVE_LIBURING
�������
   HAVE_LIBZ
�������
   HAVE_LINK
   HAVE_LINUX_FALLOCATE
   HAVE_LINUX_INOTIFY
   HAVE_LINUX_IOCTL
   HAVE_LINUX_READAHEAD
   HAVE_LINUX_SPLICE
   HAVE_LINUX_THREAD_CREDENTIALS
   HAVE_LITTLE_ENDIAN
   HAVE_LONGJMP
   HAVE_LONG_LONG
   HAVE_LSEEK_HOLE_DATA
   HAVE_LSTAT
   HAVE_LUTIMES
   HAVE_MAKEDEV
   HAVE_MEMALIGN
   HAVE_MEMCPY
   HAVE_MEMMEM
   HAVE_MEMMOVE
   HAVE_MEMSET
   HAVE_MKDIR_MODE
   HAVE_MKDTEMP
   HAVE_MKNOD
   HAVE_MKNODAT
   HAVE_MKOSTEMP
   HAVE_MKTIME
   HAVE_MLOCK
   HAVE_MLOCKALL
�������
   HAVE_MMAP
   HAVE_MREMAP
   HAVE_MUNLOCK
   HAVE_MUNLOCKALL
   HAVE_NATIVE_ICONV
   HAVE_NCURSES
   HAVE_NEW_FIELD
   HAVE_NEW_FORM
   HAVE_NEW_PANEL
�������
   HAVE_NFTW
   HAVE_OFD_LOCKS
   HAVE_OPENAT
   HAVE_OPENPTY
   HAVE_OPEN_O_DIRECT
   HAVE_PAM_GET_DATA
   HAVE_PAM_RADIO_TYPE
   HAVE_PAM_RHOST
   HAVE_PAM_START
   HAVE_PAM_TTY
   HAVE_PAM_VSYSLOG
   HAVE_PATHCONF
   HAVE_PEERCRED
   HAVE_PERL_MAKEMAKER
�������
   HAVE_PIPE
�������
   HAVE_POLL
�������
   HAVE_POPT
   HAVE_POPTGETCONTEXT
   HAVE_POSIX_ACLS
   HAVE_POSIX_CAPABILITIES
   HAVE_POSIX_FADVISE
   HAVE_POSIX_FALLOCATE
   HAVE_POSIX_MEMALIGN
   HAVE_POSIX_OPENPT
   HAVE_PRCTL
   HAVE_PREAD
   HAVE_PREAD_DECL
   HAVE_PRINTF
   HAVE_PROGRAM_INVOCATION_SHORT_NAME
   HAVE_PTHREAD
   HAVE_PTHREAD_ATTR_INIT
   HAVE_PTHREAD_CREATE
   HAVE_PTHREAD_MUTEXATTR_SETROBUST
   HAVE_PTHREAD_MUTEX_CONSISTENT
   HAVE_PTRDIFF_T
   HAVE_PUTENV
   HAVE_PUTUTLINE
   HAVE_PUTUTXLINE
   HAVE_PWRITE
   HAVE_PWRITE_DECL
   HAVE_PYEMBED
   HAVE_PYEXT
   HAVE_PYLDB_UTIL_CPYTHON_312_X86_64_LINUX_MUSL
   HAVE_PYTALLOC_UTIL_CPYTHON_312_X86_64_LINUX_MUSL
   HAVE_QUOTACTL_LINUX
�������
   HAVE_RAND
   HAVE_RANDOM
   HAVE_READAHEAD_DECL
   HAVE_READLINK
   HAVE_READV
   HAVE_REALPATH
   HAVE_RENAME
   HAVE_RES_SEARCH
   HAVE_ROBUST_MUTEXES
   HAVE_RW_HINTS
   HAVE_SA_FAMILY_T
   HAVE_SA_SIGINFO_DECL
   HAVE_SECURE_GETENV
   HAVE_SECURE_MKSTEMP
   HAVE_SELECT
   HAVE_SENDFILE
   HAVE_SENDMSG
   HAVE_SETBUFFER
   HAVE_SETEGID
   HAVE_SETENV
   HAVE_SETENV_DECL
   HAVE_SETEUID
   HAVE_SETGID
   HAVE_SETGROUPS
   HAVE_SETHOSTENT
   HAVE_SETITIMER
   HAVE_SETLINEBUF
   HAVE_SETLOCALE
   HAVE_SETMNTENT
   HAVE_SETPGID
   HAVE_SETREGID
   HAVE_SETRESGID
   HAVE_SETRESGID_DECL
   HAVE_SETRESUID
   HAVE_SETRESUID_DECL
   HAVE_SETREUID
   HAVE_SETSID
   HAVE_SETUID
   HAVE_SET_MENU_ITEMS
   HAVE_SHARED_MMAP
   HAVE_SHOW_PANEL
   HAVE_SIGACTION
   HAVE_SIGLONGJMP
   HAVE_SIGPROCMASK
   HAVE_SIGSET
   HAVE_SIG_ATOMIC_T_TYPE
   HAVE_SIMPLE_C_PROG
   HAVE_SIZE_T
   HAVE_SNPRINTF
   HAVE_SOCKET
   HAVE_SOCKETPAIR
   HAVE_SOCKLEN_T
   HAVE_SPLICE_DECL
   HAVE_SRAND
   HAVE_SRANDOM
   HAVE_SSIZE_T
   HAVE_SS_FAMILY
   HAVE_STATFS_F_FSID
   HAVE_STATVFS
   HAVE_STATVFS_F_FLAG
   HAVE_STAT_HIRES_TIMESTAMPS
   HAVE_STAT_ST_BLKSIZE
   HAVE_STAT_ST_BLOCKS
   HAVE_STRCASECMP
   HAVE_STRCASESTR
   HAVE_STRCHR
   HAVE_STRCPY
   HAVE_STRDUP
   HAVE_STRERROR
   HAVE_STRERROR_R
   HAVE_STRFTIME
   HAVE_STRLCAT
   HAVE_STRLCPY
   HAVE_STRNCASECMP
   HAVE_STRNCPY
   HAVE_STRNDUP
   HAVE_STRNLEN
   HAVE_STRPBRK
   HAVE_STRPTIME
   HAVE_STRSEP
   HAVE_STRSIGNAL
   HAVE_STRTOK_R
   HAVE_STRTOL
   HAVE_STRTOLL
   HAVE_STRTOULL
   HAVE_STRUCT_ADDRINFO
   HAVE_STRUCT_IFADDRS
   HAVE_STRUCT_MSGHDR_MSG_CONTROL
   HAVE_STRUCT_SIGEVENT
   HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIVAL_PTR
   HAVE_STRUCT_SOCKADDR
   HAVE_STRUCT_SOCKADDR_IN6
   HAVE_STRUCT_SOCKADDR_STORAGE
   HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
   HAVE_STRUCT_STAT_ST_RDEV
   HAVE_STRUCT_TIMESPEC
   HAVE_STRUCT_WINSIZE
   HAVE_ST_RDEV
�������
   HAVE_SWAB
   HAVE_SYMLINK
   HAVE_SYSCALL
   HAVE_SYSCONF
   HAVE_SYSLOG
   HAVE_TALLOC
   HAVE_TCP_USER_TIMEOUT
   HAVE_TDB
   HAVE_TEVENT
   HAVE_TGETENT
   HAVE_TIMEGM
   HAVE_TIRPC
   HAVE_UCONTEXT_T
   HAVE_UINT16_T
   HAVE_UINT32_T
   HAVE_UINT64_T
   HAVE_UINT8_T
   HAVE_UINTPTR_T
   HAVE_UMASK
   HAVE_UNAME
   HAVE_UNIXSOCKET
   HAVE_UNSETENV
   HAVE_UNSHARE_CLONE_FS
   HAVE_UPDWTMP
   HAVE_UPDWTMPX
   HAVE_URING
   HAVE_USLEEP
   HAVE_UTIMBUF
   HAVE_UTIME
   HAVE_UTIMENSAT
   HAVE_UTIMES
   HAVE_UX_UT_HOST
   HAVE_U_CHAR
   HAVE_U_INT32_T
   HAVE_VASPRINTF
   HAVE_VA_COPY
   HAVE_VDPRINTF
   HAVE_VISIBILITY_ATTR
   HAVE_VOLATILE
   HAVE_VSNPRINTF
   HAVE_VSYSLOG
   HAVE_WAIT4
   HAVE_WAITPID
�������
   HAVE_WARN
   HAVE_WARNX
   HAVE_WNO_FORMAT_TRUNCATION
   HAVE_WNO_STRICT_OVERFLOW
   HAVE_WNO_UNUSED_BUT_SET_VARIABLE
   HAVE_WNO_UNUSED_FUNCTION
   HAVE_WRITEV
   HAVE_WS_XPIXEL
   HAVE_WS_YPIXEL
   HAVE_WUSE_AFTER_FREE_1
   HAVE_XATTR_SUPPORT
   HAVE_XATTR_XATTR
�������
   HAVE_ZLIB
�������
   HAVE__RES
   HAVE___ATOMIC_ADD_FETCH
   HAVE___ATOMIC_ADD_LOAD
   HAVE___ATTRIBUTE__
   HAVE___SYNC_ADD_AND_FETCH
   HAVE___SYNC_FETCH_AND_ADD
   HAVE___THREAD
--with Options:
   WITH_ADS
   WITH_AUTOMOUNT
   WITH_AVAHI_SUPPORT
   WITH_PAM
   WITH_PAM_MODULES
   WITH_PTHREADPOOL
   WITH_QUOTAS
   WITH_SMB1SERVER
   WITH_SPOTLIGHT
   WITH_SYSLOG
   WITH_TEVENT_GLIB_GLUE
   WITH_WINBIND
Build Options:
   AD_DC_BUILD_IS_ENABLED
   ALLOW_GNUTLS_AEAD_CIPHER_ENCRYPTV2_AES_CCM
   BOOL_DEFINED
   BROKEN_NISPLUS_INCLUDE_FILES
   COMPILER_SUPPORTS_LL
   CONFIG_H_IS_FROM_SAMBA
   DEFAULT_DOS_CHARSET
   DEFAULT_UNIX_CHARSET
   EXPECTED_SYSTEM_LDB_VERSION_MAJOR
   EXPECTED_SYSTEM_LDB_VERSION_MINOR
   EXPECTED_SYSTEM_LDB_VERSION_RELEASE
   GETCWD_TAKES_NULL
   INLINE_MACRO
   KRB5_CONST_PAC_GET_BUFFER
   KRB5_CREDS_OPT_FREE_REQUIRES_CONTEXT
   KRB5_PRINC_REALM_RETURNS_REALM
   LDAP_DEPRECATED
   LDAP_SET_REBIND_PROC_ARGS
   LIBREPLACE_NETWORK_CHECKS
   LINUX
   LINUX_SENDFILE_API
   REALPATH_TAKES_NULL
   RETSIGTYPE
   SAMBA4_USES_HEIMDAL
   SHLIBEXT
   SIZEOF_BLKCNT_T_8
   SIZEOF_BOOL
   SIZEOF_CHAR
   SIZEOF_DEV_T
   SIZEOF_INO_T
   SIZEOF_INT
   SIZEOF_INT16_T
   SIZEOF_INT32_T
   SIZEOF_INT64_T
   SIZEOF_INT8_T
   SIZEOF_LONG
   SIZEOF_LONG_LONG
   SIZEOF_OFF_T
   SIZEOF_SHORT
   SIZEOF_SIZE_T
   SIZEOF_SSIZE_T
   SIZEOF_TIME_T
   SIZEOF_UINT16_T
   SIZEOF_UINT32_T
   SIZEOF_UINT64_T
   SIZEOF_UINT8_T
   SIZEOF_VOID_P
�������
R
   STAT_STATVFS
   STAT_ST_BLOCKSIZE
   STDC_HEADERS
   STRERROR_R_XSI_NOT_GNU
   STRING_SHARED_MODULES
   STRING_STATIC_MODULES
   SUMMARY_PASSES
   SYSCONF_SC_NGROUPS_MAX
   SYSCONF_SC_NPROCESSORS_ONLN
   SYSCONF_SC_PAGESIZE
   SYSTEM_UNAME_MACHINE
   SYSTEM_UNAME_RELEASE
   SYSTEM_UNAME_SYSNAME
   SYSTEM_UNAME_VERSION
   TALLOC_BUILD_VERSION_MAJOR
   TALLOC_BUILD_VERSION_MINOR
   TALLOC_BUILD_VERSION_RELEASE
   TIME_T_MAX
   TIME_T_SIGNED
   TIME_WITH_SYS_TIME
   USING_EMBEDDED_HEIMDAL
   USING_SYSTEM_LDB
   USING_SYSTEM_POPT
   USING_SYSTEM_PYLDB_UTIL
   USING_SYSTEM_PYTALLOC_UTIL
   USING_SYSTEM_PYTDB
   USING_SYSTEM_PYTEVENT
   USING_SYSTEM_TALLOC
   USING_SYSTEM_TDB
   USING_SYSTEM_TEVENT
   VALUEOF_NSIG
   VALUEOF_SIGRTMAX
   VALUEOF_SIGRTMIN
   VALUEOF__NSIG
   VOID_RETSIGTYPE
   WINEXE_LDFLAGS
   XSLTPROC_MANPAGES
   _GNU_SOURCE
   _HAVE_SENDFILE
   _POSIX_FALLOCATE_CAPABLE_LIBC
   _SAMBA_BUILD_
   _XOPEN_SOURCE_EXTENDED
   __TIME_T_MAX
   auth_netlogond_init
   auth_samba4_init
   auth_script_init
   auth_server_init
   auth_unix_init
   auth_wbc_init
   idmap_ad_init
   idmap_adex_init
   idmap_autorid_init
   idmap_hash_init
   idmap_rfc2307_init
   idmap_rid_init
   idmap_script_init
   idmap_tdb2_init
�������
t
   offset_t
   pdb_ads_init
   pdb_ldapsam_init
   pdb_samba4_init
   pdb_smbpasswd_init
   pdb_tdbsam_init
   pdb_wbc_sam_init
   static_decl_auth
   static_decl_charset
   static_decl_gpext
   static_decl_idmap
   static_decl_nss_info
   static_decl_pdb
   static_decl_vfs
   static_init_auth
   static_init_charset
   static_init_gpext
   static_init_idmap
   static_init_nss_info
   static_init_pdb
   static_init_vfs
�������
t
   vfs_acl_tdb_init
   vfs_acl_xattr_init
   vfs_aio_fork_init
   vfs_aio_pthread_init
   vfs_audit_init
   vfs_btrfs_init
   vfs_cap_init
   vfs_catia_init
   vfs_commit_init
   vfs_crossrename_init
   vfs_default_quota_init
   vfs_dirsort_init
   vfs_expand_msdfs_init
   vfs_extd_audit_init
   vfs_fake_perms_init
   vfs_fileid_init
   vfs_fruit_init
   vfs_full_audit_init
   vfs_glusterfs_fuse_init
   vfs_gpfs_init
   vfs_io_uring_init
   vfs_linux_xfs_sgid_init
   vfs_media_harmony_init
   vfs_offline_init
   vfs_posix_eadb_init
   vfs_preopen_init
   vfs_readahead_init
   vfs_readonly_init
   vfs_recycle_init
   vfs_shadow_copy2_init
   vfs_shadow_copy_init
   vfs_shell_snap_init
   vfs_snapper_init
   vfs_streams_depot_init
   vfs_streams_xattr_init
   vfs_syncops_init
   vfs_time_audit_init
   vfs_unityed_media_init
   vfs_virusfilter_init
   vfs_widelinks_init
   vfs_worm_init
   vfs_xattr_tdb_init
Cluster support features:
   NONE
Type sizes:
   sizeof(char):         1
   sizeof(int):          4
   sizeof(long):         8
   sizeof(long long):    8
   sizeof(uint8_t):      1
   sizeof(uint16_t):     2
   sizeof(uint32_t):     4
   sizeof(short):        2
   sizeof(void*):        8
   sizeof(size_t):       8
   sizeof(off_t):        8
   sizeof(ino_t):        8
   sizeof(dev_t):        8
Builtin modules:
   vfs_default vfs_not_implemented vfs_posixacl auth_builtin auth_sam auth_winbind nss_info_template idmap_tdb idmap_passdb idmap_nss pdb_samba_dsdb vfs_dfs_samba4 idmap_ldap
get_current_groups: user is in 11 groups: 0, 1, 2, 3, 4, 6, 10, 11, 20, 26, 27
directory_create_or_exist_strict: invalid ownership on directory /var/cache/samba/msg.lock
messaging_init_internal: Could not create lock directory: File exists

Additional info

Feel free to let me know if I'm missing something. It seems the issue is within the /var/cache/samba/ folder, but since this folder is entirely within the container, it seems the problem is not related to the config files...

@crazy-max
Copy link
Owner

Not sure what file system this is but seems an issue with this mount ../volumes/main/samba/data:/data:

directory_create_or_exist_strict: invalid ownership on directory /var/cache/samba/msg.lock
messaging_init_internal: Could not create lock directory: File exists

@truppelito
Copy link
Author

Can you give a bit more detail how an issue with the /var/cache/samba folder is related to the /data folder? Nevertheless, this is BTRFS on Ubuntu. Is there any more information I can provide that would be useful?

@crazy-max
Copy link
Owner

Can you give a bit more detail how an issue with the /var/cache/samba folder is related to the /data folder?

/var/cache/samba is a symlink to /data/cache:

ln -sf /data/cache /var/cache/samba

@truppelito
Copy link
Author

I see. Must the entire /data folder be in a docker volume? Or would just the config.yml file suffice? In the latter case, would any important information be lost if the container is deleted? Because if the issue is with the bind mount, then only mounting the config file would probably solve that, at the expense of the other files being reset when the container is deleted.

If the /data folder must be in the bind mount, then is any specific user/permission details I should know? I can run chmod/chown on ../volumes/main/samba/data if I know what samba is looking for.

@truppelito
Copy link
Author

I decided to try the following docker compose:

samba:
    image: crazymax/samba
    container_name: samba
    restart: unless-stopped
    volumes:
        - /etc/localtime:/etc/localtime:ro
        - /etc/timezone:/etc/timezone:ro
        - /home/mbjfbtxgzn:/share/home
        - ../volumes/main/samba/data/config.yml:/config.yml
    environment:
        - TZ=Europe/Berlin
        - SAMBA_HOSTS_ALLOW=127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 100.64.0.0/10
        - CONFIG_FILE=/config.yml
        - SAMBA_LOG_LEVEL=10
        #- LOG_LEVEL=debug
    ports:
        - 445:445

Now the folder is not part of the bind mount, but I get the exact same error logs ("messaging_init_internal: Could not create lock directory: File exists")

@truppelito
Copy link
Author

I'm happy to say that after deleting everything associated with the samba container and re-running docker compose up samba now seems to be working with the ../volumes/main/samba/data/config.yml:/config.yml version of the compose config. My final question is thus:

Must the entire /data folder be in a docker volume? Or would just the config.yml file suffice? In the latter case, would any important information be lost if the container is deleted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants