14th Sep, 2021, 06:17 AM
After the bullseye update, I have no samba shares available anymore.
testparm on smb.conf gives the following:
I can't enter the folder /var/log/samba (it's rights are root:adm, but even after changing that to root:root I can't get in there)
While checking on apt-get update & upgrade, it gives the following message:
smb.conf:
Even when i comment the shares.conf, the service won't start.
When I run the service status cmd, it returns:
testparm on smb.conf gives the following:
Terminal
xbian@xbian /etc/samba $ testparm
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "syslog" option is deprecated
lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated
regdb_init: Failed to open registry /var/lib/samba/registry.tdb (Permission denied)
Failed to initialize the registry: WERR_ACCESS_DENIED
error initializing registry configuration: SBC_ERR_BADFILE
Error loading services.
Load smb config files from /etc/samba/smb.conf
lpcfg_do_global_parameter: WARNING: The "syslog" option is deprecated
lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated
regdb_init: Failed to open registry /var/lib/samba/registry.tdb (Permission denied)
Failed to initialize the registry: WERR_ACCESS_DENIED
error initializing registry configuration: SBC_ERR_BADFILE
Error loading services.
I can't enter the folder /var/log/samba (it's rights are root:adm, but even after changing that to root:root I can't get in there)
While checking on apt-get update & upgrade, it gives the following message:
Terminal
The following packages have been kept back:
elogind libelogind0
elogind libelogind0
smb.conf:
Terminal
# DO NOT EDIT THIS FILE. FOR ADDITIONAL SETTINGS OR SHARES DEFINITION
# USE 'net' (man net).
[global]
server string = XBIAN
guest ok = yes
security = user
socket options = TCP_NODELAY SO_RCVBUF=65535 SO_SNDBUF=65535
registry shares = yes
syslog = 0
map to guest = bad user
workgroup = WORKGROUP
bind interfaces only = No
encrypt passwords = true
log level = 0
# smb ports = 445
unix extensions = No
wide links = yes
# Some routers requires following performance tweaks
# (see http://forum.xbian.org/thread-3851.html)
# Uncomment following 3 lines if necessary
# aio read size = 2048
# aio write size = 2048
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
include = /etc/samba/user.conf
include = /etc/samba/shares.conf
# USE 'net' (man net).
[global]
server string = XBIAN
guest ok = yes
security = user
socket options = TCP_NODELAY SO_RCVBUF=65535 SO_SNDBUF=65535
registry shares = yes
syslog = 0
map to guest = bad user
workgroup = WORKGROUP
bind interfaces only = No
encrypt passwords = true
log level = 0
# smb ports = 445
unix extensions = No
wide links = yes
# Some routers requires following performance tweaks
# (see http://forum.xbian.org/thread-3851.html)
# Uncomment following 3 lines if necessary
# aio read size = 2048
# aio write size = 2048
# socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072
include = /etc/samba/user.conf
include = /etc/samba/shares.conf
Even when i comment the shares.conf, the service won't start.
When I run the service status cmd, it returns:
Terminal
xbian@xbian ~ $ sudo service smbd restart
stop: Unknown instance:
smbd stop/pre-start, process 6369
xbian@xbian ~ $ sudo service smbd status
smbd stop/waiting
stop: Unknown instance:
smbd stop/pre-start, process 6369
xbian@xbian ~ $ sudo service smbd status
smbd stop/waiting