Skip to content

Instantly share code, notes, and snippets.

@weeix
Created April 13, 2022 06:02
Show Gist options
  • Save weeix/e7ee6bd6521995bd9ded68b833b9d86c to your computer and use it in GitHub Desktop.
Save weeix/e7ee6bd6521995bd9ded68b833b9d86c to your computer and use it in GitHub Desktop.
Log of `docker compose up` when using servercontainers/samba:a3.15.4-s4.15.5-r0
[+] Running 1/1
⠿ Container samba Recreated 0.1s
Attaching to samba
samba | ################################################################################
samba |
samba | Welcome to the servercontainers/samba
samba |
samba | ################################################################################
samba |
samba | >> CONTAINER: starting initialisation
samba | >> SAMBA CONFIG: no $SAMBA_CONF_WORKGROUP set, using 'WORKGROUP'
samba | >> SAMBA CONFIG: no $SAMBA_CONF_SERVER_STRING set, using 'Samba Server'
samba | >> SAMBA CONFIG: no $SAMBA_CONF_MAP_TO_GUEST set, using 'Bad User'
samba | >> GROUP: adding group family with GID: 1500
samba | >> ACCOUNT: adding account: root
samba | adduser: user 'root' in use
samba | No builtin backend found, trying to load plugin
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | startsmbfilepwent_internal: file /var/lib/samba/private/smbpasswd did not exist. File successfully created.
samba | Forcing Primary Group to 'Domain Users' for root
samba | tdb(/var/lib/samba/account_policy.tdb): tdb_open_ex: could not open file /var/lib/samba/account_policy.tdb: No such file or directory
samba | Could not open tdb: No such file or directory
samba | account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to change password), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password age), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password age), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count minutes), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout attempt), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time), returning 0
samba | account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine password change), returning 0
samba | Added user root.
samba | Changing password for root
samba | New password:
samba | Bad password: similar to username
samba | Retype password:
samba | passwd: password for root changed by root
samba | No builtin backend found, trying to load plugin
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | New SMB password:
samba | Retype new SMB password:Forcing Primary Group to 'Domain Users' for root
samba |
samba | No builtin backend found, trying to load plugin
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | Forcing Primary Group to 'Domain Users' for root
samba | Forcing Primary Group to 'Domain Users' for root
samba | Enabled user root.
samba | >> ACCOUNT: adding account: root to group: family
samba | >> ACCOUNT: adding account: alice with UID: 1000
samba | No builtin backend found, trying to load plugin
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | Forcing Primary Group to 'Domain Users' for alice
samba | Added user alice.
samba | Changing password for alice
samba | New password:
samba | Bad password: too weak
samba | Retype password:
samba | passwd: password for alice changed by root
samba | No builtin backend found, trying to load plugin
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | New SMB password:
samba | Retype new SMB password:Forcing Primary Group to 'Domain Users' for alice
samba |
samba | No builtin backend found, trying to load plugin
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | Forcing Primary Group to 'Domain Users' for alice
samba | Forcing Primary Group to 'Domain Users' for alice
samba | Enabled user alice.
samba | >> ACCOUNT: adding account: alice to group: family
samba | >> VOLUME: adding volume: Backups (path=/shares/backups)
samba | >> VOLUME: adding volume: Public (path=/shares/public)
samba | >> ZEROCONF: samba.service file
samba | ############################### START ####################################
samba | <?xml version="1.0" standalone='no'?>
samba | <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
samba | <service-group>
samba | <name replace-wildcards="yes">%h</name>
samba | <service>
samba | <type>_smb._tcp</type>
samba | <port>445</port>
samba | </service>
samba | </service-group>################################ END #####################################
samba | >> CMD: exec docker CMD
samba | runsvdir -P /container/config/runit
samba | + exec avahi-daemon --no-rlimits
samba | + sleep 10
samba | + sleep 2
samba | Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
samba | Successfully dropped root privileges.
samba | avahi-daemon 0.8 starting up.
samba | WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
samba | Successfully called chroot().
samba | Successfully dropped remaining capabilities.
samba | Loading service file /services/samba.service.
samba | Joining mDNS multicast group on interface eth0.IPv4 with address 172.23.0.2.
samba | New relevant interface eth0.IPv4 for mDNS.
samba | Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
samba | New relevant interface lo.IPv4 for mDNS.
samba | Network interface enumeration completed.
samba | Registering new address record for 172.23.0.2 on eth0.IPv4.
samba | Registering new address record for 127.0.0.1 on lo.IPv4.
samba | Server startup complete. Host name is orangepi.local. Local service cookie is 3521274924.
samba | Service "orangepi" (/services/samba.service) successfully established.
samba | + exec smbd --foreground
samba | [2022/04/13 06:00:28.310371, 0] ../../source3/smbd/server.c:1734(main)
samba | smbd version 4.15.5 started.
samba | Copyright Andrew Tridgell and the Samba Team 1992-2021
samba | [2022/04/13 06:00:28.310504, 2] ../../source3/smbd/server.c:1737(main)
samba | uid=0 gid=0 euid=0 egid=0
samba | [2022/04/13 06:00:28.311447, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba | Registered MSG_REQ_POOL_USAGE
samba | [2022/04/13 06:00:28.311479, 2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
samba | Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
samba | [2022/04/13 06:00:28.311725, 3] ../../source3/param/loadparm.c:3962(lp_load_ex)
samba | lp_load_ex: refreshing parameters
samba | [2022/04/13 06:00:28.311905, 3] ../../source3/param/loadparm.c:557(init_globals)
samba | Initialising global parameters
samba | [2022/04/13 06:00:28.312098, 3] ../../source3/param/loadparm.c:2864(lp_do_section)
samba | Processing section "[global]"
samba | [2022/04/13 06:00:28.312313, 2] ../../source3/param/loadparm.c:2881(lp_do_section)
samba | Processing section "[Backups]"
samba | [2022/04/13 06:00:28.312421, 2] ../../source3/param/loadparm.c:2881(lp_do_section)
samba | Processing section "[Public]"
samba | [2022/04/13 06:00:28.312543, 3] ../../source3/param/loadparm.c:1665(lp_add_ipc)
samba | adding IPC service
samba | [2022/04/13 06:00:28.313228, 2] ../../source3/lib/interface.c:344(add_interface)
samba | added interface eth0 ip=172.23.0.2 bcast=172.23.255.255 netmask=255.255.0.0
samba | [2022/04/13 06:00:28.313360, 3] ../../source3/smbd/server.c:1806(main)
samba | loaded services
samba | [2022/04/13 06:00:28.313545, 1] ../../source3/profile/profile_dummy.c:30(set_profile_level)
samba | INFO: Profiling support unavailable in this build.
samba | [2022/04/13 06:00:28.313583, 3] ../../source3/smbd/server.c:1825(main)
samba | Standard input is not a socket, assuming -D option
samba | [2022/04/13 06:00:28.313595, 3] ../../source3/smbd/server.c:1838(main)
samba | Becoming a daemon.
samba | [2022/04/13 06:00:28.314742, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba | Registered MSG_REQ_POOL_USAGE
samba | [2022/04/13 06:00:28.314913, 2] ../../source3/passdb/pdb_interface.c:163(make_pdb_method_name)
samba | No builtin backend found, trying to load plugin
samba | [2022/04/13 06:00:28.315448, 3] ../../lib/util/modules.c:167(load_module_absolute_path)
samba | load_module_absolute_path: Module '/usr/lib/samba/pdb/smbpasswd.so' loaded
samba | [2022/04/13 06:00:28.326818, 3] ../../source3/lib/util_procid.c:53(pid_to_procid)
samba | pid_to_procid: messaging_dgm_get_unique failed: No such file or directory
samba | [2022/04/13 06:00:28.329190, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba | Registered MSG_REQ_POOL_USAGE
samba | [2022/04/13 06:00:28.329818, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba | Registered MSG_REQ_POOL_USAGE
samba | [2022/04/13 06:00:28.330525, 2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
samba | tdb(/var/lib/samba/registry.tdb): tdb_open_ex: could not open file /var/lib/samba/registry.tdb: No such file or directory
samba | [2022/04/13 06:00:28.330582, 3] ../../lib/dbwrap/dbwrap_tdb.c:484(db_open_tdb)
samba | Could not open tdb: No such file or directory
samba | [2022/04/13 06:00:28.365751, 3] ../../source3/auth/token_util.c:688(finalize_local_nt_token)
samba | Failed to fetch domain sid for WORKGROUP
samba | [2022/04/13 06:00:28.368705, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'winreg' registered
samba | [2022/04/13 06:00:28.368760, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'srvsvc' registered
samba | [2022/04/13 06:00:28.368800, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'lsarpc' registered
samba | [2022/04/13 06:00:28.368829, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'samr' registered
samba | [2022/04/13 06:00:28.368862, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'netdfs' registered
samba | [2022/04/13 06:00:28.368891, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'dssetup' registered
samba | [2022/04/13 06:00:28.368921, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'wkssvc' registered
samba | [2022/04/13 06:00:28.368943, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'spoolss' registered
samba | [2022/04/13 06:00:28.368961, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'svcctl' registered
samba | [2022/04/13 06:00:28.368985, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'ntsvcs' registered
samba | [2022/04/13 06:00:28.369004, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'eventlog' registered
samba | [2022/04/13 06:00:28.369022, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'initshutdown' registered
samba | [2022/04/13 06:00:28.369121, 3] ../../source3/rpc_server/rpc_modules.c:64(register_rpc_module)
samba | register_rpc_module: Successfully added RPC module 'mdssvc'
samba | [2022/04/13 06:00:28.369235, 3] ../../librpc/rpc/dcesrv_core.c:2582(dcerpc_register_ep_server)
samba | DCERPC endpoint server 'mdssvc' registered
samba | [2022/04/13 06:00:28.369853, 3] ../../source3/rpc_server/svcctl/srv_svcctl_reg.c:565(svcctl_init_winreg)
samba | Initialise the svcctl registry keys if needed.
samba | [2022/04/13 06:00:28.390690, 3] ../../source3/rpc_server/eventlog/srv_eventlog_reg.c:59(eventlog_init_winreg)
samba | Initialise the eventlog registry keys if needed.
samba | [2022/04/13 06:00:28.395121, 3] ../../source3/printing/queue_process.c:359(start_background_queue)
samba | start_background_queue: Starting background LPQ thread
samba | [2022/04/13 06:00:28.494751, 1] ../../source3/printing/printer_list.c:255(printer_list_get_last_refresh)
samba | Failed to fetch record!
samba | [2022/04/13 06:00:28.494805, 2] ../../source3/smbd/server.c:1364(smbd_parent_loop)
samba | waiting for connections
samba | + exec /usr/sbin/wsdd2
samba | cannot read additional dns hostnames from testparm
samba | cannot read netbios aliases from testparm
samba | starting.
samba | open_ep: SO_RCVBUFFORCE: Operation not permitted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment