Skip to content

Instantly share code, notes, and snippets.

@cobbr2
Created August 29, 2022 00:23
Show Gist options
  • Save cobbr2/328fce96e3e2be2fea34a73f74ae86a7 to your computer and use it in GitHub Desktop.
Save cobbr2/328fce96e3e2be2fea34a73f74ae86a7 to your computer and use it in GitHub Desktop.
servercontainers/samba startup.
samba_1 | ################################################################################
samba_1 |
samba_1 | Welcome to the servercontainers/samba
samba_1 |
samba_1 | ################################################################################
samba_1 |
samba_1 | >> CONTAINER: starting initialisation
samba_1 | >> SAMBA CONFIG: no $SAMBA_CONF_WORKGROUP set, using 'WORKGROUP'
samba_1 | >> SAMBA CONFIG: no $SAMBA_CONF_MAP_TO_GUEST set, using 'Bad User'
samba_1 | >> VOLUME: adding volume: Music (path=/home/shares/Music)
samba_1 | >> ZEROCONF: custom avahi samba.service name: newsounds
samba_1 | >> ZEROCONF: samba.service file
samba_1 | ############################### START ####################################
samba_1 | <?xml version="1.0" standalone='no'?>
samba_1 | <!DOCTYPE service-group SYSTEM "avahi-service.dtd">
samba_1 | <service-group>
samba_1 | <name replace-wildcards="yes">newsounds</name>
samba_1 | <service>
samba_1 | <type>_smb._tcp</type>
samba_1 | <port>445</port>
samba_1 | </service>
samba_1 | </service-group>################################ END #####################################
samba_1 | >> CMD: exec docker CMD
samba_1 | runsvdir -P /container/config/runit
samba_1 | + sleep 10
samba_1 | + sleep 2
samba_1 | + exec avahi-daemon --no-rlimits
samba_1 | Found user 'avahi' (UID 86) and group 'avahi' (GID 86).
samba_1 | Successfully dropped root privileges.
samba_1 | avahi-daemon 0.8 starting up.
samba_1 | WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
samba_1 | Successfully called chroot().
samba_1 | Successfully dropped remaining capabilities.
samba_1 | Loading service file /services/samba.service.
samba_1 | Joining mDNS multicast group on interface vethd12f225.IPv6 with address fe80::84d4:20ff:fe61:f452.
samba_1 | New relevant interface vethd12f225.IPv6 for mDNS.
samba_1 | Joining mDNS multicast group on interface veth8ce3493.IPv6 with address fe80::fc50:baff:fe94:c811.
samba_1 | New relevant interface veth8ce3493.IPv6 for mDNS.
samba_1 | Joining mDNS multicast group on interface veth16cc885.IPv6 with address fe80::4fe:63ff:fed3:2a49.
samba_1 | New relevant interface veth16cc885.IPv6 for mDNS.
samba_1 | Joining mDNS multicast group on interface br-ff17293fa8e9.IPv6 with address fe80::42:6fff:fe8a:c556.
samba_1 | New relevant interface br-ff17293fa8e9.IPv6 for mDNS.
samba_1 | Joining mDNS multicast group on interface br-ff17293fa8e9.IPv4 with address 172.25.0.1.
samba_1 | New relevant interface br-ff17293fa8e9.IPv4 for mDNS.
samba_1 | Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
samba_1 | New relevant interface docker0.IPv4 for mDNS.
samba_1 | Joining mDNS multicast group on interface enp1s0.IPv6 with address fe80::2e0:70ff:fe5d:186f.
samba_1 | New relevant interface enp1s0.IPv6 for mDNS.
samba_1 | Joining mDNS multicast group on interface enp1s0.IPv4 with address 192.168.222.6.
samba_1 | New relevant interface enp1s0.IPv4 for mDNS.
samba_1 | Joining mDNS multicast group on interface lo.IPv6 with address ::1.
samba_1 | New relevant interface lo.IPv6 for mDNS.
samba_1 | Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1.
samba_1 | New relevant interface lo.IPv4 for mDNS.
samba_1 | Network interface enumeration completed.
samba_1 | Registering new address record for fe80::84d4:20ff:fe61:f452 on vethd12f225.*.
samba_1 | Registering new address record for fe80::fc50:baff:fe94:c811 on veth8ce3493.*.
samba_1 | Registering new address record for fe80::4fe:63ff:fed3:2a49 on veth16cc885.*.
samba_1 | Registering new address record for fe80::42:6fff:fe8a:c556 on br-ff17293fa8e9.*.
samba_1 | Registering new address record for 172.25.0.1 on br-ff17293fa8e9.IPv4.
samba_1 | Registering new address record for 172.17.0.1 on docker0.IPv4.
samba_1 | Registering new address record for fe80::2e0:70ff:fe5d:186f on enp1s0.*.
samba_1 | Registering new address record for 192.168.222.6 on enp1s0.IPv4.
samba_1 | Registering new address record for ::1 on lo.*.
samba_1 | Registering new address record for 127.0.0.1 on lo.IPv4.
samba_1 | Server startup complete. Host name is newsounds.local. Local service cookie is 3009047704.
samba_1 | Service "newsounds" (/services/samba.service) successfully established.
samba_1 | + exec smbd --foreground
samba_1 | [2022/08/29 00:02:19.392895, 0] ../../source3/smbd/server.c:1734(main)
samba_1 | smbd version 4.15.7 started.
samba_1 | Copyright Andrew Tridgell and the Samba Team 1992-2021
samba_1 | [2022/08/29 00:02:19.393849, 2] ../../source3/smbd/server.c:1737(main)
samba_1 | uid=0 gid=0 euid=0 egid=0
samba_1 | [2022/08/29 00:02:19.405750, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba_1 | Registered MSG_REQ_POOL_USAGE
samba_1 | [2022/08/29 00:02:19.405938, 2] ../../source3/lib/dmallocmsg.c:78(register_dmalloc_msgs)
samba_1 | Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
samba_1 | [2022/08/29 00:02:19.408219, 2] ../../source3/param/loadparm.c:326(max_open_files)
samba_1 | rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
samba_1 | [2022/08/29 00:02:19.412071, 2] ../../source3/param/loadparm.c:2881(lp_do_section)
samba_1 | Processing section "[Music]"
samba_1 | [2022/08/29 00:02:19.419327, 2] ../../source3/lib/interface.c:344(add_interface)
samba_1 | added interface docker0 ip=172.17.0.1 bcast=172.17.255.255 netmask=255.255.0.0
samba_1 | [2022/08/29 00:02:19.419822, 2] ../../source3/lib/interface.c:344(add_interface)
samba_1 | added interface br-ff17293fa8e9 ip=172.25.0.1 bcast=172.25.255.255 netmask=255.255.0.0
samba_1 | [2022/08/29 00:02:19.420110, 2] ../../source3/lib/interface.c:344(add_interface)
samba_1 | added interface enp1s0 ip=<REDACTED_CORRECT_HOST_ADDRESS> bcast=<REDACTED_LOCAL_SLASH24.255> netmask=255.255.255.0
samba_1 | [2022/08/29 00:02:19.422703, 1] ../../source3/profile/profile_dummy.c:30(set_profile_level)
samba_1 | INFO: Profiling support unavailable in this build.
samba_1 | [2022/08/29 00:02:19.429481, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba_1 | Registered MSG_REQ_POOL_USAGE
samba_1 | [2022/08/29 00:02:19.430166, 2] ../../source3/passdb/pdb_interface.c:163(make_pdb_method_name)
samba_1 | No builtin backend found, trying to load plugin
samba_1 | [2022/08/29 00:02:19.512268, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba_1 | Registered MSG_REQ_POOL_USAGE
samba_1 | [2022/08/29 00:02:19.523238, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba_1 | Registered MSG_REQ_POOL_USAGE
samba_1 | [2022/08/29 00:02:19.526019, 2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
samba_1 | tdb(/var/lib/samba/registry.tdb): tdb_open_ex: could not open file /var/lib/samba/registry.tdb: No such file or directory
samba_1 | [2022/08/29 00:02:19.643467, 2] ../../lib/tdb_wrap/tdb_wrap.c:65(tdb_wrap_log)
samba_1 | 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_1 | [2022/08/29 00:02:19.645990, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 1 (min password length), returning 0
samba_1 | [2022/08/29 00:02:19.646222, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 2 (password history), returning 0
samba_1 | [2022/08/29 00:02:19.646434, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 3 (user must logon to change password), returning 0
samba_1 | [2022/08/29 00:02:19.646660, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 4 (maximum password age), returning 0
samba_1 | [2022/08/29 00:02:19.646894, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 5 (minimum password age), returning 0
samba_1 | [2022/08/29 00:02:19.647121, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 6 (lockout duration), returning 0
samba_1 | [2022/08/29 00:02:19.647363, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 7 (reset count minutes), returning 0
samba_1 | [2022/08/29 00:02:19.647587, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 8 (bad lockout attempt), returning 0
samba_1 | [2022/08/29 00:02:19.647820, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 9 (disconnect time), returning 0
samba_1 | [2022/08/29 00:02:19.648034, 2] ../../source3/passdb/account_pol.c:356(account_policy_get)
samba_1 | account_policy_get: tdb_fetch_uint32_t failed for type 10 (refuse machine password change), returning 0
samba_1 | [2022/08/29 00:02:19.668626, 0] ../../source3/passdb/pdb_smbpasswd.c:249(startsmbfilepwent)
samba_1 | startsmbfilepwent_internal: file /var/lib/samba/private/smbpasswd did not exist. File successfully created.
samba_1 | [2022/08/29 00:02:20.373041, 1] ../../source3/printing/printer_list.c:255(printer_list_get_last_refresh)
samba_1 | Failed to fetch record!
samba_1 | [2022/08/29 00:02:20.373265, 2] ../../source3/smbd/server.c:1364(smbd_parent_loop)
samba_1 | waiting for connections
samba_1 | + exec /usr/sbin/wsdd2
samba_1 | cannot read additional dns hostnames from testparm
samba_1 | cannot read netbios aliases from testparm
samba_1 | starting.
samba_1 | [2022/08/29 00:11:24.100373, 2] ../../source3/lib/tallocmsg.c:84(register_msg_pool_usage)
samba_1 | Registered MSG_REQ_POOL_USAGE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment