Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[PROBLEM] Samba: No shares available after bullseye update
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Problem: Samba: No shares available after bullseye update
14th Sep, 2021, 06:17 AM
Post: #1
jakenl Offline
Registered
Posts: 97
Joined: Jun 2015
Reputation: 6
Samba: No shares available after bullseye update
After the bullseye update, I have no samba shares available anymore.

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.

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

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

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
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Samba: No shares available after bullseye update - jakenl - 14th Sep, 2021 06:17 AM
RE: Samba: No shares available after bullseye update - Zarquon - 14th Sep, 2021, 04:59 PM
RE: Samba: No shares available after bullseye update - ofJazz - 10th Dec, 2021, 09:54 PM
RE: Samba: No shares available after bullseye update - Nachteule - 12th Dec, 2021, 02:46 AM
RE: Samba: No shares available after bullseye update - jakenl - 14th Sep, 2021, 05:05 PM
RE: Samba: No shares available after bullseye update - Zarquon - 15th Sep, 2021, 05:09 AM
RE: Samba: No shares available after bullseye update - Nachteule - 15th Sep, 2021, 06:53 AM
RE: Samba: No shares available after bullseye update - Nachteule - 15th Sep, 2021, 03:16 AM
RE: Samba: No shares available after bullseye update - Nachteule - 15th Sep, 2021, 03:37 AM
RE: Samba: No shares available after bullseye update - jakenl - 15th Sep, 2021, 07:32 AM
RE: Samba: No shares available after bullseye update - Nachteule - 15th Sep, 2021, 09:46 PM
RE: Samba: No shares available after bullseye update - jakenl - 16th Sep, 2021, 06:49 AM
RE: Samba: No shares available after bullseye update - Nachteule - 16th Sep, 2021, 07:23 AM
RE: Samba: No shares available after bullseye update - jakenl - 16th Sep, 2021, 07:36 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 25th May, 2025, 08:57 PM Powered By MyBB, © 2002-2025 MyBB Group.