Hello,
since the update no Samba share works anymore.
Samba has also been updated to Samba version 4.13.1
Hello,
since the update no Samba share works anymore.
Samba has also been updated to Samba version 4.13.1
Maybe this thread also covers the issues you are having:-
https://community.ipfire.org/t/samba-not-working-for-sonos-core-152/3792/16
No, this link does not solve my problem, nor do I have a sonos.
How can I undo the updates core 152 and samba, if they don’t work, I like to forego the updates.
please give us more information what doesn’t work?
olease give a bit more information about your structure too.
can only say before the update I could still access my Samba shares, now not anymore.
I suggested that thread because they also had a problem contacting the share on their Sonos. This was due to the use of SMBv1 on the Sonos which is no longer the default setting in Samba.
If the problem with the removal of SMBv1 is not related to your issue then we need more information to be able to find the source of the problem.
If you can provide the contents of your smb.conf file and the output from the logs when you try and access your share, these should give more clues as to what is going on.
If you don’t want to investigate further and want to go back to Core Update 151 then you would need to do a new install using the Core Update 151 iso, after taking all required backups and downloading them to another computer so that you can restore them after reinstalling.
However if the root cause of this issue is not found then you will have the same problem when you want to upgrade at some future time.
Thanks for the info, but I don’t want to set up IPfire from scratch
Here are some of today’s Samba protocols, which I first have to provide for the network with smb.conf, as there are many points that should not necessarily be displayed publicly.
IPFire diagnostics
Abschnitt: samba
Datum: November 20, 2020
18:11:47 smbd Ignoring unknown parameter "display charset"
18:11:47 smbd [2020/11/20 18:11:47.762939, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
18:11:47 smbd Unknown parameter encountered: "display charset"
18:11:47 smbd [2020/11/20 18:11:47.762903, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
18:05:38 smbd Ignoring unknown parameter "display charset"
18:05:38 smbd [2020/11/20 18:05:38.727723, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
18:05:38 smbd Unknown parameter encountered: "display charset"
18:05:38 smbd [2020/11/20 18:05:38.727690, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
17:59:37 nmbd *****
17:59:37 nmbd
17:59:37 nmbd Samba name server IPFIRE is now a local master browser for workgroup Qax on subnet 192.168.1.233
17:59:37 nmbd
17:59:37 nmbd *****
17:59:37 nmbd [2020/11/20 17:59:37.199671, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
17:59:22 nmbd *****
17:59:22 nmbd
17:59:22 nmbd Samba server IPFIRE is now a domain master browser for workgroup Qax on subnet 192.168.1.233
17:59:22 nmbd
17:59:22 nmbd *****
17:59:22 nmbd [2020/11/20 17:59:22.182745, 0] ../../source3/nmbd/nmbd_become_dmb.c:112(become_domain_master_stage2)
17:59:18 nmbd become_logon_server_success: Samba is now a logon server for workgroup Qax on subnet 192.168.1.233
17:59:18 nmbd [2020/11/20 17:59:18.169673, 0] ../../source3/nmbd/nmbd_logonnames.c:122(become_logon_server_success)
17:59:15 smbd daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
17:59:15 smbd [2020/11/20 17:59:15.036328, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
17:59:14 smbd Ignoring unknown parameter "display charset"
17:59:14 smbd [2020/11/20 17:59:14.752284, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
17:59:14 smbd Unknown parameter encountered: "display charset"
17:59:14 smbd [2020/11/20 17:59:14.752240, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
17:59:14 nmbd become_domain_master_browser_bcast: querying subnet 192.168.1.233 for domain master browser on workgroup Qax
17:59:14 nmbd [2020/11/20 17:59:14.316486, 0] ../../source3/nmbd/nmbd_become_dmb.c:306(become_domain_master_browser_bcast)
17:59:14 nmbd Attempting to become domain master browser on workgroup Qax on subnet 192.168.1.233
17:59:14 nmbd become_domain_master_browser_bcast:
17:59:14 nmbd [2020/11/20 17:59:14.316465, 0] ../../source3/nmbd/nmbd_become_dmb.c:294(become_domain_master_browser_bcast)
17:59:14 nmbd *****
17:59:14 nmbd
17:59:14 nmbd Samba server IPFIRE is now a domain master browser for workgroup Qax on subnet UNICAST_SUBNET
17:59:14 nmbd
17:59:14 nmbd *****
17:59:14 nmbd [2020/11/20 17:59:14.316423, 0] ../../source3/nmbd/nmbd_become_dmb.c:112(become_domain_master_stage2)
17:59:14 nmbd become_logon_server_success: Samba is now a logon server for workgroup Qax on subnet UNICAST_SUBNET
17:59:14 nmbd [2020/11/20 17:59:14.316329, 0] ../../source3/nmbd/nmbd_logonnames.c:122(become_logon_server_success)
17:59:14 nmbd become_domain_master_browser_wins: querying WINS server from IP 127.0.0.1 for domain master browser name Qax<1b> on workgroup Qax
17:59:14 nmbd [2020/11/20 17:59:14.316035, 0] ../../source3/nmbd/nmbd_become_dmb.c:351(become_domain_master_browser_wins)
17:59:14 nmbd Attempting to become domain master browser on workgroup Qax, subnet UNICAST_SUBNET.
17:59:14 nmbd become_domain_master_browser_wins:
17:59:14 nmbd [2020/11/20 17:59:14.316014, 0] ../../source3/nmbd/nmbd_become_dmb.c:339(become_domain_master_browser_wins)
17:59:14 nmbd Attempting to become logon server for workgroup Qax on subnet UNICAST_SUBNET
17:59:14 nmbd add_domain_logon_names:
17:59:14 nmbd [2020/11/20 17:59:14.315951, 0] ../../source3/nmbd/nmbd_logonnames.c:162(add_logon_names)
17:59:14 nmbd Attempting to become logon server for workgroup Qax on subnet 192.168.1.233
17:59:14 nmbd add_domain_logon_names:
17:59:14 nmbd [2020/11/20 17:59:14.315874, 0] ../../source3/nmbd/nmbd_logonnames.c:162(add_logon_names)
17:59:14 nmbd daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
17:59:14 nmbd [2020/11/20 17:59:14.302003, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
17:59:14 nmbd started asyncdns process 3390
17:59:14 nmbd [2020/11/20 17:59:14.239190, 0] ../../source3/nmbd/asyncdns.c:158(start_async_dns)
17:59:14 nmbd Ignoring unknown parameter "display charset"
17:59:14 nmbd [2020/11/20 17:59:14.224060, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
17:59:14 nmbd Unknown parameter encountered: "display charset"
17:59:14 nmbd [2020/11/20 17:59:14.224021, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
17:54:30 nmbd started asyncdns process 3598
17:54:30 nmbd [2020/11/20 17:54:30.554060, 0] ../../source3/nmbd/asyncdns.c:158(start_async_dns)
16:25:26 smbd Ignoring unknown parameter "display charset"
16:25:26 smbd [2020/11/20 16:25:26.072660, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
16:25:26 smbd Unknown parameter encountered: "display charset"
16:25:26 smbd [2020/11/20 16:25:26.072630, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
14:00:47 smbd Ignoring unknown parameter "display charset"
14:00:47 smbd [2020/11/20 14:00:47.854136, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
14:00:47 smbd Unknown parameter encountered: "display charset"
14:00:47 smbd [2020/11/20 14:00:47.854104, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
12:13:35 smbd Ignoring unknown parameter "display charset"
12:13:35 smbd [2020/11/20 12:13:35.539321, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
12:13:35 smbd Unknown parameter encountered: "display charset"
12:13:35 smbd [2020/11/20 12:13:35.539287, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:48 smbd Ignoring unknown parameter "display charset"
08:43:48 smbd [2020/11/20 08:43:48.154650, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:48 smbd Unknown parameter encountered: "display charset"
08:43:48 smbd [2020/11/20 08:43:48.154621, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:47 smbd Ignoring unknown parameter "display charset"
08:43:47 smbd [2020/11/20 08:43:47.124339, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:47 smbd Unknown parameter encountered: "display charset"
08:43:47 smbd [2020/11/20 08:43:47.124309, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:46 smbd Ignoring unknown parameter "display charset"
08:43:46 smbd [2020/11/20 08:43:46.098850, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:46 smbd Unknown parameter encountered: "display charset"
08:43:46 smbd [2020/11/20 08:43:46.098828, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:45 smbd Ignoring unknown parameter "display charset"
08:43:45 smbd [2020/11/20 08:43:45.528085, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:45 smbd Unknown parameter encountered: "display charset"
08:43:45 smbd [2020/11/20 08:43:45.528054, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:44 smbd Ignoring unknown parameter "display charset"
08:43:44 smbd [2020/11/20 08:43:44.499087, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:44 smbd Unknown parameter encountered: "display charset"
08:43:44 smbd [2020/11/20 08:43:44.499057, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:43 smbd Ignoring unknown parameter "display charset"
08:43:43 smbd [2020/11/20 08:43:43.468393, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:43 smbd Unknown parameter encountered: "display charset"
08:43:43 smbd [2020/11/20 08:43:43.468360, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:42 smbd Ignoring unknown parameter "display charset"
08:43:42 smbd [2020/11/20 08:43:42.436383, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:42 smbd Unknown parameter encountered: "display charset"
08:43:42 smbd [2020/11/20 08:43:42.436350, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:43:41 smbd Ignoring unknown parameter "display charset"
08:43:41 smbd [2020/11/20 08:43:41.412354, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:43:41 smbd Unknown parameter encountered: "display charset"
08:43:41 smbd [2020/11/20 08:43:41.412321, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
08:42:54 smbd Ignoring unknown parameter "display charset"
08:42:54 smbd [2020/11/20 08:42:54.509870, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
08:42:54 smbd Unknown parameter encountered: "display charset"
08:42:54 smbd [2020/11/20 08:42:54.509840, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
06:36:29 smbd Ignoring unknown parameter "display charset"
06:36:29 smbd [2020/11/20 06:36:29.284009, 0] ../../lib/param/loadparm.c:1855(lpcfg_do_global_parameter)
06:36:29 smbd Unknown parameter encountered: "display charset"
06:36:29 smbd [2020/11/20 06:36:29.283977, 0] ../../lib/param/loadparm.c:815(lpcfg_map_parameter)
bad boy writes in German and English. Enclosed my smb.conf until the first release
# global.settings by IPFire Project
[global]
netbios name = IPFire
server string = Samba running on IPFire 2.x
workgroup = qax
realm = qax
passdb backend = geheim
wide links = yes
unix extensions = no
max protocol = smb2
keep alive = 30
os level = 33
fstype = NTFS
kernel oplocks = false
map to guest = Bad User
smb ports = 445 139
dos charset = CP850
unix charset = UTF8
display charset = CP850
security = user
encrypt passwords = yes
guest account = samba
unix password sync = false
null passwords = yes
bind interfaces only = true
interfaces = green0 127.0.0.1
socket options = TCP_NODELAY SO_RCVBUF=819200 SO_SNDBUF=819200 SO_KEEPALIVE
remote announce =
remote browse sync =
username level = 1
wins support = true
wins server =
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind use default domain = yes
log file = /var/log/samba/samba-log.%m
pid directory = /var/run/
log level = 3 passdb:5 auth:5 winbind:2
syslog = 1
syslog only = yes
preferred master = true
domain master = true
local master = true
domain logons = yes
[Download Driver]
path = /share/Download Driver
comment = Downloads - Tools,Treiber und Utilities
read only = no
guest ok = no
hosts allow = localhost 192.168.1.0/24
...
No not speechless just thinking while I was having my dinner.
I am not a samba expert. Haven’t used it as a server for three years now. There are other people on the forum who will be more knowledgeable and will chip in I am sure.
Have looked through the log files and the conf file and have the following observations, although not sure if any of this will be related to your problems or not.
The conf info includes entries for WINS, although the WINS server line is blank. WINS has been dropped in this IPFire add-on release (see https://blog.ipfire.org/post/ipfire-2-25-core-update-152-released ).
The logs have several lines with comments about
Unknown parameter encountered: “display charset”
followed by
Ignoring unknown parameter “display charset”
The files involved all start with lpcfg so probably to do with printers, so likely not to do with your share sharing.
In the log is
daemon_ready: daemon ‘smbd’ finished starting up and ready to serve connections
This suggests that the server has successfully started and is waiting to provide shares on request. However I cannot find anything in the logs about requests for shares being made to the server. This would make me look at your clients to see if there is some problem with them.
In the conf file you have
max protocol = smb2
and with smb1 no longer set as default then the server is working with smb2 protocol as the default value for server min protocol is now smb2
Are you certain that your clients are running with smb2 protocol. If yes then I think you need to look in the client logs to see what is happening when you try to access the share because the server seems to have started successfully and is waiting for requests but I don’t see any attempts by any clients.
Hopefully other forum samba experts will also have a look at this and say if I am talking out of my hat.
Try what is saying here in post 34 SAMBA not working for Sonos | Core 152 also think about what is been written in post 28
Please have a look at https://wiki.ubuntuusers.de/Samba_Server/
Also please give some Feedback about your Clients, os, smbversion etc.
# testparm
Load smb config files from /var/ipfire/samba/smb.conf
Unknown parameter encountered: "display charset"
Ignoring unknown parameter "display charset"
lpcfg_do_global_parameter: WARNING: The "encrypt passwords" option is deprecated
lpcfg_do_global_parameter: WARNING: The "null passwords" option is deprecated
lpcfg_do_global_parameter: WARNING: The "syslog" option is deprecated
lpcfg_do_global_parameter: WARNING: The "syslog only" option is deprecated
lpcfg_do_global_parameter: WARNING: The "domain logons" option is deprecated
Loaded services file OK.
Weak crypto is allowed
WARNING: socket options = TCP_NODELAY SO_RCVBUF=819200 SO_SNDBUF=819200 SO_KEEPALIVE
This warning is printed because you set one of the
following options: SO_SNDBUF, SO_RCVBUF, SO_SNDLOWAT,
SO_RCVLOWAT
Modern server operating systems are tuned for
high network performance in the majority of situations;
when you set 'socket options' you are overriding those
settings.
Linux in particular has an auto-tuning mechanism for
buffer sizes (SO_SNDBUF, SO_RCVBUF) that will be
disabled if you specify a socket buffer size. This can
potentially cripple your TCP/IP stack.
Getting the 'socket options' correct can make a big
difference to your performance, but getting them wrong
can degrade it by just as much. As with any other low
level setting, if you must make changes to it, make
small changes and test the effect before making any
large changes.
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
What about an externel sambaserver (for testing) behind ipfire but not on itself. Does that work als expected? If yes, maybe something is wrong with ipfiressamba really.
For example, I have all my network shares on a proxmox virtualized windows10 and I can access it with any linux-client (OSMC, Debian, Fedora etc) without any problems.
ok, only use Samba add-on from Ipfire, don’t have an external Samba server. After I clicked save, testpram looks like this and the smb.conf has also changed it, but still no access to the shares
# testparm
Load smb config files from /var/ipfire/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
'winbind separator = +' might cause problems with group membership.
Server role: ROLE_STANDALONE
somehow I’ve just partially succeeded, but can’t tell you exactly which screw was the trigger, I just screwed too much.
Nevertheless, a thank you to those involved and the sheriff (s).
I have exactly the same problem after update to core 152. I had samba working & after the update does not work. All 3 services are running ok. I had samba sharing a guest folder without password it it was working without problem before update. Now, I setup a user account with password for testing without any luck… Problem remains.
hi you have Windows client (Win10 on Samba)
Interesting… May the OP of the issues verify the client OS that they are using?
This should not relevant and wrong. Microsoft has disabled SMBv1 with windows10 1709 (if i remember correctly) It can only enabled by a registry hack that imply security problems. So i don’t believe this post at all.
Also samba has disabled SMBv1. (SMBv2 and v3 is supported)
sorry for german only
but please don’t use smb1 use smb3 instead.