You are not logged in.
Hi to you all.
I'd like kindly to ask, again, for your help. I've been struggling with Samba all the time. I'm not such experienced user to use something different on linux, on Arch to file sharing, that's why i use Samba.
I have three machines
-my desktop with I7-7500 named 7500_uATX
-my laptop with B960 named Arch_E1
-HP Elitebook 8200 with I5-2400 running Daphile linux
The main problem is that i cant connect to Samba shares using Dolphin by discovering computers, folders. Machines are in the same workgroup. The only way to enter 7500u_ATX from this machine or different machines is to enter IP in Dolphing > Network > Samba Shared Folders > : smb://192.xxx.xxx.
What is more strange, with my laptop i can discover Daphile running. With desktop i not only cant detect Daphile, but also i can't detect my own shares form this machine. I need again to enter IP.
Could somebody help me understand what is wrong, how to solve it once and for all? Maybe somebody who knows better linux networking?
I don't think that it is related to:
-client max protocol = NT1
-server min protocol = NT1
-ntlm auth = yes
I tried to add it, delete it and still it is the same problem.
My Samba shares on two machines are exacly the same:
[Share_name]
comment = Arch_7500
path = /mnt
valid users = firekage
public = no
writable = yes
printable = noI'd like to enter my shares withount needing to know the IP addres of each computer. Just discover it, enter folders.
Please help.
https://paste.pics/23b898c869827f8ddfed333f93c426cc
https://paste.pics/a69904334e2a2c4477e01fd1769fa2c8
Last edited by firekage (2020-11-07 16:34:52)
Offline
You need to properly setup avahi to get local name resolution afaik: https://wiki.archlinux.org/index.php/Avahi (... I do remember that systemd-resolved should provide something similar but haven't dabbled much with it)
Last edited by V1del (2020-11-07 21:02:02)
Offline
SMB uses netbios, https://wiki.archlinux.org/index.php/Sa … host_names
Also try a "manual" detection: https://wiki.archlinux.org/index.php/Sa … ork_shares
Online
Thank you for helping me out to solve this problem.
I tried manually did what was suggested by the link above, but no luck:
This section is still ok:
Looking up status of 192.168.1.XXX
NETIASPOTDRIVE <00> - B <ACTIVE>
NETIASPOTDRIVE <03> - B <ACTIVE>
NETIASPOTDRIVE <20> - B <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
HOME <1d> - B <ACTIVE>
HOME <1e> - <GROUP> B <ACTIVE>
HOME <00> - <GROUP> B <ACTIVE>
MAC Address = xx-xx-xx-xx-xx-xxBut this section does not work:
smbclient -L\\NETIASPOTDRIVE
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTEDI think that it is related to this:
● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; vendor preset: disabled)
Active: failed (Result: timeout) since Sun 2020-11-08 02:21:29 CET; 28min ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Process: 290 ExecStart=/usr/bin/nmbd --foreground --no-process-group $NMBDOPTIONS (code=killed, signal=TERM)
Main PID: 290 (code=killed, signal=TERM)
Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..."
lis 08 02:21:19 ArchE1-531 systemd[1]: Starting Samba NMB Daemon...
lis 08 02:21:19 ArchE1-531 nmbd[290]: [2020/11/08 02:21:19.634254, 0] ../../lib/util/become_daemon.c:147(daemon_status)
lis 08 02:21:19 ArchE1-531 nmbd[290]: daemon_status: daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...
lis 08 02:21:19 ArchE1-531 nmbd[290]: [2020/11/08 02:21:19.634498, 0] ../../source3/nmbd/nmbd_subnetdb.c:253(create_subnets)
lis 08 02:21:19 ArchE1-531 nmbd[290]: NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6).
lis 08 02:21:29 ArchE1-531 systemd[1]: nmb.service: start operation timed out. Terminating.
lis 08 02:21:29 ArchE1-531 systemd[1]: nmb.service: Failed with result 'timeout'.
lis 08 02:21:29 ArchE1-531 systemd[1]: Failed to start Samba NMB Daemon.Someone suggested that it is beacuse of wireless connection - and in fact i connect to network after loggin in, after that network is started wirelessly.
According to wiki a corrected this:
cat /usr/lib/systemd/system/nmb.service
[Unit]
Description=Samba NMB Daemon
Documentation=man:nmbd(8) man:samba(7) man:smb.conf(5)
Wants=network-online.target
After=network.target network-online.target
[Service]
Type=notify
PIDFile=/run/nmbd.pid
EnvironmentFile=-/etc/conf.d/samba
ExecStart=/usr/bin/nmbd --foreground --no-process-group $NMBDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.targetI also digged into this found on opensuse forums:
[firekage@ArchE1-531 ~]$ sudo systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @13.269s
└─multi-user.target @13.268s
└─smb.service @13.025s +242ms
└─winbind.service @2.784s +332ms
└─network-online.target @2.769s
└─network.target @2.769s
└─wpa_supplicant.service @5.084s +33ms
└─dbus.service @2.560s
└─basic.target @2.557s
└─sockets.target @2.557s
└─pcscd.socket @2.556s
└─sysinit.target @2.547s
└─systemd-backlight@backlight:intel_backlight.service @4.721s +22ms
└─system-systemd\x2dbacklight.slice @4.718s
└─system.slice @465ms
└─-.slice @465ms
[firekage@ArchE1-531 ~]$ After this one up i corrected again this
cat winbind.service
[Unit]
Description=Samba Winbind Daemon
Documentation=man:winbindd(8) man:samba(7) man:smb.conf(5)
;After=network.target nmb.service
After=network-online.target nmbd.service winbind.service
Wants=network-online.target
[Service]
Type=notify
PIDFile=/run/winbindd.pid
EnvironmentFile=-/etc/conf.d/samba
ExecStart=/usr/bin/winbindd --foreground --no-process-group $WINBINDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
LimitCORE=infinity
[Install]
WantedBy=multi-user.target
[firekage@ArchE1-531 /etc/systemd/system]$ Unfortunately, i still think that nmb.service and/or winbind.service does not work because when switching off Arch i see that Samba nmb failed to start.
Last edited by firekage (2020-11-08 02:23:23)
Offline
192.168.1.XXX
There's no need to obfuscate LAN addresses (it's a private address space, google "I hacked 127.0.0.1") and we'll need to identify the systems.
Someone suggested that it is beacuse of wireless connection - and in fact i connect to network after loggin in, after that network is started wirelessly.
Please elaborate on that, does re/starting the SMB services after connecting to the network "fix" things and you can browse SMB shares?
What's the output of "ip a" before after connecting to the network and how exactly do you establish the connection (what service, config, invocation, etc.)
After this one up i corrected again this
Not good, you created a cyclic dependency by adding the service to its "after" list.
Edit: genitive… I hate when my fingers do this.
Last edited by seth (2020-11-08 16:01:02)
Online
There's no need to obfuscate LAN addresses (it's a private address space, google "I hacked 127.0.0.1") and we'll need to identify the systems.
Ok. Thanks.
Please elaborate on that, does re/starting the SMB services after connecting to the network "fix" things and you can browse SMB shares?
On my laptop machine i can enter SMB shares without need to know ip and type it in Dolphin. On desktop machine it still does not work.
What's the output of "ip a" before after connecting to the network and how exactly do you establish the connection (what service, config, invocation, etc.)
WIll check this up in a while.
[firekage@7500uATX ~]$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx
inet 192.168.1.100/24 brd 192.168.1.255 scope global dynamic noprefixroute enp5s0
valid_lft 85832sec preferred_lft 85832sec
inet6 xx:xx:xx:xx:xx: scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp3s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx permaddr xx:xx:xx:xx:xx
[firekage@7500uATX ~]$ I connect with ehternet cable plugged into RJ 45 lan cable, nothing much special.
Not good, you created a cyclic dependency by adding the service to it's "after" list.
Ok, deleted it and did the right way.
No to my desktop.
[root@7500uATX firekage]# nmap -p 139 -sT "192.168.1.*"
Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-08 16:40 CET
Nmap scan report for ArchE1-531.home (192.168.1.3)
Host is up (0.099s latency).PORT STATE SERVICE
139/tcp open netbios-ssn
MAC Address: 80:9B:20:4B:73:84 (Intel Corporate)Nmap scan report for netiaspot.home (192.168.1.254)
Host is up (0.0018s latency).PORT STATE SERVICE
139/tcp open netbios-ssn
MAC Address: 00:12:2A:AA:70:F1 (VTech Telecommunications)Nmap scan report for 7500uATX.home (192.168.1.100)
Host is up (0.000054s latency).PORT STATE SERVICE
139/tcp open netbios-ssnNmap done: 256 IP addresses (3 hosts up) scanned in 20.94 seconds
[root@7500uATX firekage]#
than
[firekage@7500uATX ~]$ nmblookup -A 192.168.1.254
Unknown parameter encountered: "interfces"
Ignoring unknown parameter "interfces"
Looking up status of 192.168.1.254
NETIASPOTDRIVE <00> - B <ACTIVE>
NETIASPOTDRIVE <03> - B <ACTIVE>
NETIASPOTDRIVE <20> - B <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
HOME <1d> - B <ACTIVE>
HOME <1e> - <GROUP> B <ACTIVE>
HOME <00> - <GROUP> B <ACTIVE>MAC Address = 00-00-00-00-00-00
[firekage@7500uATX ~]$
and after that:
[firekage@7500uATX ~]$ smbclient -L \\NETIASPOTDRIVE
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
[firekage@7500uATX ~]$
exacly the same that i have on my laptop machine.
And again, i have to enter ip into Dolphin in order to enter samba shares.
Something more:
sudo systemctl restart smb nmb
Job for nmb.service failed because the control process exited with error code.
See "systemctl status nmb.service" and "journalctl -xe" for details.
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.
[firekage@7500uATX ~]$ Last edited by firekage (2020-11-09 15:08:01)
Offline
Please use code tags, not quote tags for shell IO.
The "ip a" is for your desktop which is unrelated to the late WiFi situation, is it?
Also you've a connection, so nmb can't fail on that.
What brings us to the protocol situation:
Unknown parameter encountered: "interfces"There's a typo in the smb.conf, I suggest you post all of them.
If you want to obfuscate shared paths, replace every a-zA-Z w/ an "x" - don't gloss over UTF-8, numbers, blanks…
Also tray to enforce protocol versions (-m …)
https://www.samba.org/samba/docs/curren … AXPROTOCOL - especially since the netiaspot thing seems to be some integrated router device?
It probably only speaks NT1 …
Online
Please use code tags, not quote tags for shell IO.
OK. Thanks.
The "ip a" is for your desktop which is unrelated to the late WiFi situation, is it?
Yes, it it output from desktop machine plugged with ethernet cable.
Also you've a connection, so nmb can't fail on that.
Well, even still have to type ip address.
What brings us to the protocol situation:
Unknown parameter encountered: "interfces"There's a typo in the smb.conf, I suggest you post all of them.
Yes, i checked it and corrected earlier.
If you want to obfuscate shared paths, replace every a-zA-Z w/ an "x" - don't gloss over UTF-8, numbers, blanks…
Dont understand this suggestion.
Also tray to enforce protocol versions (-m …)
https://www.samba.org/samba/docs/curren … AXPROTOCOL - especially since the netiaspot thing seems to be some integrated router device?
It probably only speaks NT1 …
I tried it, add and or remove. Still the same. On laptop works, on desktop does not. Laptop is connected over wireless network, but desktop by cable.
Netiaspot if from network provider router. I cant even configure it, only basic stuff.
You suggested enforce protocol. Add -m switch. But to where?
Something more
sudo systemctl restart smb nmb
Job for nmb.service failed because the control process exited with error code.
See "systemctl status nmb.service" and "journalctl -xe" for details.
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xe" for details.
[firekage@7500uATX ~]$ I would post outputs of -xe, but cant find how to post in in english locale. If i found i will post it.
Last edited by firekage (2020-11-09 15:12:53)
Offline
[root@ArchE1-531 firekage]# journalctl -xe | grep nmb
Nov 11 09:32:21 ArchE1-531 systemd[1]: nmb.service: start operation timed out. Terminating.
Nov 11 09:32:21 ArchE1-531 systemd[1]: nmb.service: Failed with result 'timeout'.
-- The unit nmb.service has entered the 'failed' state with result 'timeout'.
Nov 11 09:32:21 ArchE1-531 kernel: audit: type=1130 audit(1605083541.062:43): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Nov 11 09:32:21 ArchE1-531 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
-- Subject: A start job for unit nmb.service has failed
-- A start job for unit nmb.service has finished with a failure.
[root@ArchE1-531 firekage]# Offline
Dont understand this suggestion.
I'm asking for the /etc/samba/smb.conf configurations and because those might include lines like
path = /usr/totallynotporn/certainlynotporn/maybeporn/okitspornyou might want to edit them and obfuscate private stuff, but when doing this, only replace the latin alphanumerical characters.
"-m" goes to smbclient, so eg.
smbclient -m NT1 -L \\NETIASPOTDRIVEsystemctl status smb.service"-xe" is usually useless, try eg.
journalctl --since "20 min ago"for the last 20 minutes of log.
Online
Dont understand this suggestion.
I'm asking for the /etc/samba/smb.conf configurations and because those might include lines like
path = /usr/totallynotporn/certainlynotporn/maybeporn/okitspornyou might want to edit them and obfuscate private stuff, but when doing this, only replace the latin alphanumerical characters.
Thanks for explanation.
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
# http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = MYGROUP
# server string is the equivalent of the NT Description field
server string = Samba Server
# Server role. Defines in which mode Samba will operate. Possible
# values are "standalone server", "member server", "classic primary
# domain controller", "classic backup domain controller", "active
# directory domain controller".
#
# Most people will want "standalone server" or "member server".
# Running as "active directory domain controller" will require first
# running "samba-tool domain provision" to wipe databases and create a
# new domain.
server role = standalone server
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.1. 192.168.2. 127.
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
; log file = /usr/local/samba/var/log.%m
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Specifies the Kerberos or Active Directory realm the host is part of
; realm = MY_REALM
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
; passdb backend = tdbsam
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
# this line. The included file is read at that point.
; include = /usr/local/samba/lib/smb.conf.%m
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24
interfaces= lo wlp3s0
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
dns proxy = no
# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
; add user script = /usr/sbin/useradd %u
; add group script = /usr/sbin/groupadd %g
; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
; delete user script = /usr/sbin/userdel %u
; delete user from group script = /usr/sbin/deluser %u %g
; delete group script = /usr/sbin/groupdel %g
;[protocol]
;client max protocol = NT1
;server min protocol = NT1
;ntlm auth = yes
;[netbios]
netbios name = Arch_E1-531
;[guest account]
map to guest = Bad User
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = no
; printable = no
; write list = @staff
# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
[Arch_E1-531]
comment = Arch_E1-531_share
path = /mnt
;valid users = firekage
public = yes
writable = yes
printable = no"-m" goes to smbclient, so eg.
smbclient -m NT1 -L \\NETIASPOTDRIVEOK, here it is:
[firekage@ArchE1-531 ~]$ smbclient -m NT1 -L \\NETIASPOTDRIVE
lp_load_ex: Max protocol NT1 is less than min protocol SMB2_02.
protocol negotiation failed: NT_STATUS_INVALID_PARAMETER_MIX
[firekage@ArchE1-531 ~]$ and
[firekage@ArchE1-531 ~]$ systemctl status smb.service
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2020-11-11 18:29:59 CET; 1h 33min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 626 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 4476)
Memory: 8.6M
CGroup: /system.slice/smb.service
├─626 /usr/bin/smbd --foreground --no-process-group
├─628 /usr/bin/smbd --foreground --no-process-group
├─629 /usr/bin/smbd --foreground --no-process-group
└─632 /usr/bin/smbd --foreground --no-process-group
[firekage@ArchE1-531 ~]$ as mentioned to
systemctl status smb.service
"-xe" is usually useless, try eg.
journalctl --since "20 min ago"
for the last 20 minutes of log.
Here it is:
-- Logs begin at Wed 2019-06-19 23:15:07 CEST, end at Wed 2020-11-11 20:04:27 CET. --
lis 11 19:44:49 ArchE1-531 winbindd[306]: [2020/11/11 19:44:49.408127, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:44:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:44:49 ArchE1-531 winbindd[306]: [2020/11/11 19:44:49.408485, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:44:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:44:49 ArchE1-531 kded5[474]: ktp-kded-module: "auto-away" state change: TelepathyKDEDModulePlugin::Enabled
lis 11 19:44:49 ArchE1-531 kded5[474]: ktp-kded-module: plugin queue activation: "away" ""
lis 11 19:44:49 ArchE1-531 dbus-daemon[279]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.45' (uid=1000 pid=699 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
lis 11 19:44:49 ArchE1-531 dbus-daemon[279]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
lis 11 19:44:50 ArchE1-531 audit[2531]: USER_AUTH pid=2531 uid=1000 auid=1000 ses=2 msg='op=PAM:unix_chkpwd acct="firekage" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
lis 11 19:44:50 ArchE1-531 kernel: audit: type=1100 audit(1605120290.283:76): pid=2531 uid=1000 auid=1000 ses=2 msg='op=PAM:unix_chkpwd acct="firekage" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
lis 11 19:44:50 ArchE1-531 kscreenlocker_greet[1843]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:27: TypeError: Cannot read property 'width' of null
lis 11 19:44:50 ArchE1-531 kded5[474]: ktp-kded-module: "screen-saver-away" state change: TelepathyKDEDModulePlugin::Enabled
lis 11 19:44:50 ArchE1-531 kded5[474]: ktp-kded-module: plugin queue activation: "unset" ""
lis 11 19:44:50 ArchE1-531 kwin_x11[478]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 59336, resource id: 88080428, major code: 18 (ChangeProperty), minor code: 0
lis 11 19:48:40 ArchE1-531 kmix[725]: org.kde.kmix: Could not get icon for "chromium-browser"
lis 11 19:48:40 ArchE1-531 kmix[725]: org.kde.kmix: Could not get icon for "chromium-browser"
lis 11 19:49:49 ArchE1-531 winbindd[306]: [2020/11/11 19:49:49.413904, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:49:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:49:49 ArchE1-531 winbindd[306]: [2020/11/11 19:49:49.414733, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:49:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:51:15 ArchE1-531 wpa_supplicant[353]: wlp3s0: WPA: Group rekeying completed with 00:12:2a:aa:70:f8 [GTK=TKIP]
lis 11 19:52:26 ArchE1-531 org_kde_powerdevil[699]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
lis 11 19:53:11 ArchE1-531 org_kde_powerdevil[699]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
lis 11 19:53:56 ArchE1-531 org_kde_powerdevil[699]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
lis 11 19:54:05 ArchE1-531 dbus-daemon[279]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.45' (uid=1000 pid=699 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
lis 11 19:54:05 ArchE1-531 dbus-daemon[279]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
lis 11 19:54:49 ArchE1-531 winbindd[306]: [2020/11/11 19:54:49.414848, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:54:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:54:49 ArchE1-531 winbindd[306]: [2020/11/11 19:54:49.415574, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:54:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:55:37 ArchE1-531 dbus-daemon[279]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.45' (uid=1000 pid=699 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
lis 11 19:55:37 ArchE1-531 dbus-daemon[279]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
lis 11 19:55:54 ArchE1-531 dbus-daemon[279]: [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.45' (uid=1000 pid=699 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
lis 11 19:55:54 ArchE1-531 dbus-daemon[279]: [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
lis 11 19:55:54 ArchE1-531 kmix[725]: org.kde.kmix: Could not get icon for "chromium-browser"
lis 11 19:55:54 ArchE1-531 kmix[725]: org.kde.kmix: Could not get icon for "chromium-browser"
lis 11 19:56:06 ArchE1-531 kernel: perf: interrupt took too long (2510 > 2500), lowering kernel.perf_event_max_sample_rate to 79500
lis 11 19:59:49 ArchE1-531 winbindd[306]: [2020/11/11 19:59:49.415529, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:59:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 19:59:49 ArchE1-531 winbindd[306]: [2020/11/11 19:59:49.415899, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 11 19:59:49 ArchE1-531 winbindd[306]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 11 20:00:03 ArchE1-531 kded5[474]:
lis 11 20:00:03 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:00:03 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-89f0d560b5e54ea19e88bfca5ee43033.scope: Succeeded.
lis 11 20:00:16 ArchE1-531 kded5[474]:
lis 11 20:00:16 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:00:16 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-cf176821b205401f8381d489307423f0.scope: Succeeded.
lis 11 20:00:50 ArchE1-531 kded5[474]:
lis 11 20:00:50 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:00:50 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-5fc28563c3bf4fc2a3794f0fc5758e2f.scope: Succeeded.
lis 11 20:01:15 ArchE1-531 wpa_supplicant[353]: wlp3s0: WPA: Group rekeying completed with 00:12:2a:aa:70:f8 [GTK=TKIP]
lis 11 20:03:02 ArchE1-531 kded5[474]:
lis 11 20:03:02 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:03:02 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-c1a549ea8da14decb621bd30fb9dcda7.scope: Succeeded.
lis 11 20:03:03 ArchE1-531 kded5[474]:
lis 11 20:03:03 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:03:03 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-065f2e764c394a8fafeb3708dbe9e0e9.scope: Succeeded.
lis 11 20:03:25 ArchE1-531 kded5[474]:
lis 11 20:03:25 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:03:25 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-55302e3ddeb547828fd4e074f022a078.scope: Succeeded.
lis 11 20:04:23 ArchE1-531 kded5[474]:
lis 11 20:04:23 ArchE1-531 systemd[390]: Started /usr/bin/yakuake.
lis 11 20:04:24 ArchE1-531 systemd[390]: app-\x2fusr\x2fbin\x2fyakuake-45bbbe4b7477403b9e1e854f4488f533.scope: Succeeded.
lis 11 20:04:27 ArchE1-531 audit[3067]: USER_AUTH pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 kernel: audit: type=1100 audit(1605121467.127:77): pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:authentication grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 kernel: audit: type=1101 audit(1605121467.127:78): pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 kernel: audit: type=1103 audit(1605121467.137:79): pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 kernel: audit: type=1105 audit(1605121467.137:80): pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 audit[3067]: USER_ACCT pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 audit[3067]: CRED_ACQ pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 audit[3067]: USER_START pid=3067 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_unix acct="root" exe="/usr/bin/su" hostname=ArchE1-531 addr=? terminal=pts/1 res=success'
lis 11 20:04:27 ArchE1-531 su[3067]: (to root) firekage on pts/1
lis 11 20:04:27 ArchE1-531 su[3067]: pam_unix(su:session): session opened for user root(uid=0) by (uid=1000)Offline
[firekage@ArchE1-531 ~]$ smbclient -m NT1 -L \\NETIASPOTDRIVE
lp_load_ex: Max protocol NT1 is less than min protocol SMB2_02.
protocol negotiation failed: NT_STATUS_INVALID_PARAMETER_MIX
[firekage@ArchE1-531 ~]$ client min protocol = NT1
server min protocol = NT1The "20 minutes ago" where just an example - it doesn't look like you attempted to start nmb during that time?
There're some winbindd errors but those would relate to user/group resolution, not the netbios name.
Stupid question: does your router do DNS?
You could just announce the hostname via dhcp, have the router resolve it and screw all the P2P name discovery.
Online
The "20 minutes ago" where just an example - it doesn't look like you attempted to start nmb during that time?
There're some winbindd errors but those would relate to user/group resolution, not the netbios name.
No, i did not restart nmb.
Stupid question: does your router do DNS?
You could just announce the hostname via dhcp, have the router resolve it and screw all the P2P name discovery.
Unformtunately, i don't know answer for the first part. Like to check it but don't know how.
Second part - to much complicated to me, don't know how to do it.
The only thing that i could do is change router, but if i change i won't have internet acess at all - router from my internet provider is preconfigured.
Last edited by firekage (2020-11-12 15:09:29)
Offline
See whether the router does DNS:
nmap -p53 192.168.1.254How do you obtain the lease? dhcpcd?
Uncomment the "hostname" line in dhcpcd.conf, re-connect, see whether the router can resolve the domain of the re-connected device.
Still try lowering the min SMB protocol and post a journal segment that covers the nmb re/start.
Online
See whether the router does DNS:
nmap -p53 192.168.1.254
Thanksforhelping me out. Here it is:
[firekage@ArchE1-531 ~]$ nmap -p 53 192.168.1.254
Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-12 18:04 CET
Nmap scan report for netiaspot.home (192.168.1.254)
Host is up (0.0029s latency).
PORT STATE SERVICE
53/tcp closed domain
Nmap done: 1 IP address (1 host up) scanned in 0.10 seconds
[root@ArchE1-531 firekage]# nmap -p 53 192.168.1.254
Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-12 18:04 CET
Nmap scan report for netiaspot.home (192.168.1.254)
Host is up (0.0021s latency).
PORT STATE SERVICE
53/tcp closed domain
MAC Address: 00:12:2A:AA:70:F1 (VTech Telecommunications)
Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds
[root@ArchE1-531 firekage]# How do you obtain the lease? dhcpcd?
I use networkmanager package, dhcp package is installed.
Uncomment the "hostname" line in dhcpcd.conf, re-connect, see whether the router can resolve the domain of the re-connected device.
Still try lowering the min SMB protocol and post a journal segment that covers the nmb re/start.
Ok, will try it.
Ok, i commented netbios name so it is not used, restarted smb nmb
[firekage@ArchE1-531 ~]$ nmap -p 53 192.168.1.254
Starting Nmap 7.80 ( [url]https://nmap.org[/url] ) at 2020-11-12 18:13 CET
Nmap scan report for netiaspot.home (192.168.1.254)
Host is up (0.016s latency).
PORT STATE SERVICE
53/tcp closed domain
Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds
[firekage@ArchE1-531 ~]$ Ok, i restarted smb and nmb
lis 12 18:17:33 ArchE1-531 dbus-daemon[276]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.1394' (uid=0 pid=6230 comm="sudo systemctl restart smb nmb ")
lis 12 18:17:33 ArchE1-531 sudo[6230]: firekage : TTY=pts/1 ; PWD=/home/firekage ; USER=root ; COMMAND=/usr/bin/systemctl restart smb nmb
lis 12 18:17:33 ArchE1-531 kernel: audit: type=1131 audit(1605201453.149:130): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:17:33 ArchE1-531 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:17:33 ArchE1-531 nmbd[6038]: [2020/11/12 18:17:33.109121, 0] ../../source3/nmbd/nmbd.c:59(terminate)
lis 12 18:17:33 ArchE1-531 nmbd[6038]: Got SIGTERM: going down...
lis 12 18:17:33 ArchE1-531 systemd[1]: nmb.service: Succeeded.
lis 12 18:17:33 ArchE1-531 kernel: audit: type=1130 audit(1605201453.259:131): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:17:33 ArchE1-531 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:17:33 ArchE1-531 nmbd[6234]: [2020/11/12 18:17:33.265068, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
lis 12 18:17:33 ArchE1-531 nmbd[6234]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
lis 12 18:17:56 ArchE1-531 nmbd[6234]: [2020/11/12 18:17:56.304219, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
lis 12 18:17:56 ArchE1-531 nmbd[6234]: *****
lis 12 18:17:56 ArchE1-531 nmbd[6234]:
lis 12 18:17:56 ArchE1-531 nmbd[6234]: Samba name server ARCHE1-531 is now a local master browser for workgroup MYGROUP on subnet 192.168.1.3
lis 12 18:17:56 ArchE1-531 nmbd[6234]:
lis 12 18:17:56 ArchE1-531 nmbd[6234]: *****
lis 12 18:17:56 ArchE1-531 nmbd[6234]: [2020/11/12 18:17:56.304777, 0] ../../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
lis 12 18:17:56 ArchE1-531 nmbd[6234]: find_domain_master_name_query_fail:
lis 12 18:17:56 ArchE1-531 nmbd[6234]: Unable to find the Domain Master Browser name MYGROUP<1b> for the workgroup MYGROUP.
lis 12 18:17:56 ArchE1-531 nmbd[6234]: Unable to sync browse lists in this workgroup.
lis 12 18:19:09 ArchE1-531 nmbd[6234]: [2020/11/12 18:19:09.339393, 0] ../../source3/nmbd/nmbd.c:59(terminate)
lis 12 18:19:09 ArchE1-531 nmbd[6234]: Got SIGTERM: going down...
lis 12 18:19:09 ArchE1-531 systemd[1]: nmb.service: Succeeded.
lis 12 18:19:09 ArchE1-531 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:19:09 ArchE1-531 kernel: audit: type=1131 audit(1605201549.443:140): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:19:09 ArchE1-531 nmbd[6350]: [2020/11/12 18:19:09.538716, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
lis 12 18:19:09 ArchE1-531 kernel: audit: type=1130 audit(1605201549.539:141): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:19:09 ArchE1-531 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 12 18:19:09 ArchE1-531 nmbd[6350]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
lis 12 18:19:32 ArchE1-531 nmbd[6350]: [2020/11/12 18:19:32.578897, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
lis 12 18:19:32 ArchE1-531 nmbd[6350]: *****
lis 12 18:19:32 ArchE1-531 nmbd[6350]:
lis 12 18:19:32 ArchE1-531 nmbd[6350]: Samba name server ARCHE1-531 is now a local master browser for workgroup MYGROUP on subnet 192.168.1.3
lis 12 18:19:32 ArchE1-531 nmbd[6350]:
lis 12 18:19:32 ArchE1-531 nmbd[6350]: *****
lis 12 18:19:32 ArchE1-531 nmbd[6350]: [2020/11/12 18:19:32.579467, 0] ../../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
lis 12 18:19:32 ArchE1-531 nmbd[6350]: find_domain_master_name_query_fail:
lis 12 18:19:32 ArchE1-531 nmbd[6350]: Unable to find the Domain Master Browser name MYGROUP<1b> for the workgroup MYGROUP.
lis 12 18:19:32 ArchE1-531 nmbd[6350]: Unable to sync browse lists in this workgroup.Last edited by firekage (2020-11-12 17:18:11)
Offline
53/tcp closed domain
Nope, the router doesn't DNS, so we can scratch that path.
I use networkmanager package, dhcp package is installed.
General sanity check:
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -fThere're no terminal issues w/ nmb, the service starts.
1. did you try to lower the minimum protocol versions?
2. You still have the winbind.service running and "wins" in /etc/nsswitch.conf, do you?
3. Do you maybe run some netfilter? ("sudo iptables -L")
Online
53/tcp closed domainNope, the router doesn't DNS, so we can scratch that path.
So, it is not capable of using DNS? Mybe my english is problem here.
I use networkmanager package, dhcp package is installed.General sanity check
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
OK, here it is:
avahi-daemon.service | multi-user.target.wants
avahi-daemon.socket | sockets.target.wants
dbus-org.freedesktop.Avahi.service | system
dbus-org.freedesktop.NetworkManager.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dirmngr.socket | sockets.target.wants
display-manager.service | system
getty@tty1.service | getty.target.wants
gpg-agent-browser.socket | sockets.target.wants
gpg-agent-extra.socket | sockets.target.wants
gpg-agent.socket | sockets.target.wants
gpg-agent-ssh.socket | sockets.target.wants
i3lock.service | sleep.target.wants
lm_sensors.service | multi-user.target.wants
netctl@wlp3s0\x2dMK\x2dWiFi.service | multi-user.target.wants
NetworkManager.service | multi-user.target.wants
nmb.service | multi-user.target.wants
p11-kit-server.socket | sockets.target.wants
pcscd.socket | sockets.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
smb.service | multi-user.target.wants
watchdog.service | multi-user.target.wants
winbind.service | multi-user.target.wantsThere're no terminal issues w/ nmb, the service starts.
1. did you try to lower the minimum protocol versions?
2. You still have the winbind.service running and "wins" in /etc/nsswitch.conf, do you?
3. Do you maybe run some netfilter? ("sudo iptables -L")
1. Yes, i did it.
2. Yes, i have still running it
[● winbind.service - Samba Winbind Daemon
Loaded: loaded (/etc/systemd/system/winbind.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-11-12 14:42:09 CET; 9h ago
Docs: man:winbindd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 292 (winbindd)
Status: "winbindd: ready to serve connections..."
Tasks: 4 (limit: 4476)
Memory: 5.0M
CGroup: /system.slice/winbind.service
├─292 /usr/bin/winbindd --foreground --no-process-group
├─310 winbindd: domain child [ARCH_E1-531]
├─536 winbindd: idmap child
└─537 winbindd: domain child [BUILTIN]
lis 12 23:37:10 ArchE1-531 winbindd[310]: [2020/11/12 23:37:10.043679, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lis 12 23:37:10 ArchE1-531 winbindd[310]: rpcint_dispatch: DCE/RPC fault in call lsarpc:32 - DCERPC_NCA_S_OP_RNG_ERROR
lis 12 23:42:10 ArchE1-531 winbindd[310]: [2020/11/12 23:42:10.045277, 0] ../../source3/rpc_server/rpc_ncacn_np.c:453(rpcint_dispatch)
lines 1-193. No i dont:
[firekage@ArchE1-531 ~]$ sudo iptables -L
[sudo] hasło użytkownika firekage:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[firekage@ArchE1-531 ~]$ /etc/nsswitch.conf
[firekage@ArchE1-531 ~]$ cat /etc/nsswitch.conf
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files mymachines systemd
group: files mymachines systemd
shadow: files
publickey: files
hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns wins
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
[firekage@ArchE1-531 ~]$ Last edited by firekage (2020-11-12 22:49:50)
Offline
Ok, i digged also to my desktop.
[firekage@7500uATX samba]$ smbclient -L\\NETIASPOTDRIVE
Enter MYGROUP\firekage's password:
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Netia Spot)
Reconnecting with SMB1 for workgroup listing.
Server Comment
--------- -------
Workgroup Master
--------- -------
HOME NETIASPOTDRIVE
MYGROUP ARCHE1-531
WORKGROUP DESKTOP_6600K
[firekage@7500uATX samba]$ [root@7500uATX samba]# nmap -p 139 -sT "192.168.1.*"
Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-13 01:14 CET
Nmap scan report for localhost.home (192.168.1.2)
Host is up (0.026s latency).
PORT STATE SERVICE
139/tcp filtered netbios-ssn
MAC Address: CC:B1:1A:E3:6F:0E (Samsung Electronics)
Nmap scan report for Desktop_6600K.home (192.168.1.5)
Host is up (0.00041s latency).
PORT STATE SERVICE
139/tcp open netbios-ssn
MAC Address: C4:E9:84:04:4E:02 (Tp-link Technologies)
Nmap scan report for netiaspot.home (192.168.1.254)
Host is up (0.00045s latency).
PORT STATE SERVICE
139/tcp open netbios-ssn
MAC Address: 00:12:2A:AA:70:F1 (VTech Telecommunications)
Nmap scan report for 7500uATX.home (192.168.1.100)
Host is up (0.000082s latency).
PORT STATE SERVICE
139/tcp open netbios-ssn
Nmap done: 256 IP addresses (4 hosts up) scanned in 11.99 seconds
[root@7500uATX samba]# [root@7500uATX samba]# nmblookup -A "192.168.1.254"
Looking up status of 192.168.1.254
NETIASPOTDRIVE <00> - B <ACTIVE>
NETIASPOTDRIVE <03> - B <ACTIVE>
NETIASPOTDRIVE <20> - B <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
HOME <1d> - B <ACTIVE>
HOME <1e> - <GROUP> B <ACTIVE>
HOME <00> - <GROUP> B <ACTIVE>
MAC Address = 00-00-00-00-00-00
[root@7500uATX samba]# lis 13 00:58:22 7500uATX audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
lis 13 00:58:22 7500uATX systemd[1]: nmb.service: Main process exited, code=exited, status=1/FAILURE
lis 13 00:58:22 7500uATX systemd[1]: nmb.service: Failed with result 'exit-code'.
lis 13 01:03:55 7500uATX dbus-daemon[342]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.294' (uid=0 pid=2573 comm="sudo systemctl restart smb nmb ")
lis 13 01:03:55 7500uATX sudo[2573]: firekage : TTY=pts/1 ; PWD=/home/firekage ; USER=root ; COMMAND=/usr/bin/systemctl restart smb nmb
lis 13 01:03:55 7500uATX systemd[1]: nmb.service: Main process exited, code=exited, status=1/FAILURE
lis 13 01:03:55 7500uATX systemd[1]: nmb.service: Failed with result 'exit-code'.
lis 13 01:03:55 7500uATX audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
lis 13 01:03:55 7500uATX kernel: audit: type=1130 audit(1605225835.607:99): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
lis 13 01:05:54 7500uATX dbus-daemon[342]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.300' (uid=0 pid=2596 comm="sudo systemctl status nmb ")
lis 13 01:05:54 7500uATX sudo[2596]: firekage : TTY=pts/1 ; PWD=/home/firekage ; USER=root ; COMMAND=/usr/bin/systemctl status nmb
lis 13 01:06:42 7500uATX dbus-daemon[342]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.302' (uid=0 pid=2606 comm="sudo systemctl enable nmb ")
lis 13 01:06:42 7500uATX sudo[2606]: firekage : TTY=pts/1 ; PWD=/home/firekage ; USER=root ; COMMAND=/usr/bin/systemctl enable nmb
lis 13 01:06:52 7500uATX dbus-daemon[342]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.304' (uid=0 pid=2638 comm="sudo systemctl restart smb nmb ")
lis 13 01:06:52 7500uATX sudo[2638]: firekage : TTY=pts/1 ; PWD=/home/firekage ; USER=root ; COMMAND=/usr/bin/systemctl restart smb nmb
lis 13 01:06:52 7500uATX systemd[1]: nmb.service: Main process exited, code=exited, status=1/FAILURE
lis 13 01:06:52 7500uATX systemd[1]: nmb.service: Failed with result 'exit-code'.
lis 13 01:06:52 7500uATX audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
lis 13 01:12:53 7500uATX dbus-daemon[342]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.320' (uid=0 pid=3120 comm="sudo systemctl restart smb nmb ")
lis 13 01:12:53 7500uATX sudo[3120]: firekage : TTY=pts/1 ; PWD=/etc/samba ; USER=root ; COMMAND=/usr/bin/systemctl restart smb nmb
lis 13 01:12:54 7500uATX nmbd[3124]: [2020/11/13 01:12:54.028612, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
lis 13 01:12:54 7500uATX nmbd[3124]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections
lis 13 01:12:54 7500uATX audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 13 01:12:54 7500uATX kernel: audit: type=1130 audit(1605226374.024:213): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 13 01:13:18 7500uATX nmbd[3124]: [2020/11/13 01:13:18.003314, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
lis 13 01:13:18 7500uATX nmbd[3124]: *****
lis 13 01:13:18 7500uATX nmbd[3124]:
lis 13 01:13:18 7500uATX nmbd[3124]: Samba name server 7500UATX is now a local master browser for workgroup MYGROUP on subnet 192.168.1.100
lis 13 01:13:18 7500uATX nmbd[3124]:
lis 13 01:13:18 7500uATX nmbd[3124]: *****
lis 13 01:13:18 7500uATX nmbd[3124]: [2020/11/13 01:13:18.003659, 0] ../../source3/nmbd/nmbd_browsesync.c:354(find_domain_master_name_query_fail)
lis 13 01:13:18 7500uATX nmbd[3124]: find_domain_master_name_query_fail:
lis 13 01:13:18 7500uATX nmbd[3124]: Unable to find the Domain Master Browser name MYGROUP<1b> for the workgroup MYGROUP.
lis 13 01:13:18 7500uATX nmbd[3124]: Unable to sync browse lists in this workgroup.
lis 13 01:18:19 7500uATX nmbd[3124]: [2020/11/13 01:18:19.136272, 0] ../../source3/nmbd/nmbd.c:59(terminate)
lis 13 01:18:19 7500uATX nmbd[3124]: Got SIGTERM: going down...
lis 13 01:18:19 7500uATX systemd[1]: nmb.service: Succeeded.
lis 13 01:18:19 7500uATX audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 13 01:18:19 7500uATX kernel: audit: type=1131 audit(1605226699.134:232): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 13 01:18:19 7500uATX nmbd[3583]: [2020/11/13 01:18:19.167219, 0] ../../lib/util/become_daemon.c:135(daemon_ready)
lis 13 01:18:19 7500uATX kernel: audit: type=1130 audit(1605226699.161:233): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 13 01:18:19 7500uATX audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=nmb comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
lis 13 01:18:19 7500uATX nmbd[3583]: daemon_ready: daemon 'nmbd' finished starting up and ready to serve connections[root@7500uATX samba]# nmap -p 53 192.168.1.254
Starting Nmap 7.80 ( https://nmap.org ) at 2020-11-13 01:19 CET
Nmap scan report for netiaspot.home (192.168.1.254)
Host is up (0.00046s latency).
PORT STATE SERVICE
53/tcp closed domain
MAC Address: 00:12:2A:AA:70:F1 (VTech Telecommunications)
Nmap done: 1 IP address (1 host up) scanned in 0.27 seconds
[root@7500uATX samba]# [root@7500uATX samba]# find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
apm.service | sleep.target.wants
dbus-org.freedesktop.NetworkManager.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
default.target | system
dirmngr.socket | sockets.target.wants
display-manager.service | system
getty@tty1.service | getty.target.wants
gpg-agent-browser.socket | sockets.target.wants
gpg-agent-extra.socket | sockets.target.wants
gpg-agent.socket | sockets.target.wants
gpg-agent-ssh.socket | sockets.target.wants
i3lock.service | sleep.target.wants
lm_sensors.service | multi-user.target.wants
NetworkManager.service | multi-user.target.wants
nmb.service | multi-user.target.wants
p11-kit-server.socket | sockets.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
resume-fix-pulseaudio@firekage.service | suspend.target.wants
smb.service | multi-user.target.wants
winbind.service | multi-user.target.wants
[root@7500uATX samba]# Offline
I see light of hope
https://paste.pics/8050a3c8d0da7375257673f6b830f6e2
https://paste.pics/c8ed89b7f594860e6f2f6bc998e12222
I noticed that adding or removing
netbios namedoes nothing but adding this:
;[protocol]
client max protocol = NT1
client min protocol = NT1
server min protocol = NT1
ntlm auth = yesResulted in picutes show above, so it looks like it is working to some way (have to check it with other machines)
I don't understand why i need to have NT1 and rest of this in SMB when they SMB2 protocol is a default one right now. It looks like Dolphin had some problems? In my laptop machines i see my "workgroup", here on desktop slightly different looks it
My smb and nmb services could not start properly - misconfiguration in /etc/nesswitch with 'hosts" parameter. I deleted, restarted, enabled also winbind.service and corrected it and now Dolphin is searching and shows me 3 shares:
-MYHOME
-MYGROUP
-WORKGROUP
Don't understand why in WORKGRUP i dont see my 7500uATX desktop but his shares are in MYGROUP. Also, i cant enter it. I see it, asks for password when i have "map to guest = BAD PASSWORD"
Also, something more
https://paste.pics/96252a7401786362c632c47cc61843bf
I cant enter my own shares because of error message: "file or folder smb://mygroup does not exist". STRANGE.
The only way for SMB seen my shares is to have it like this:
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = MYGRUOP
[firekage@7500uATX ~]$ if i change it to
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = WORKGROUP
[firekage@7500uATX ~]$ 7500u_ATX folder is not visible at all. Just like does not exist.
Last edited by firekage (2020-11-13 01:23:13)
Offline
So, it is not capable of using DNS?
No, the router doesn't provide a (local) DNS service, so you cannot use it for that purpose. Unfortunately.
netctl@wlp3s0\x2dMK\x2dWiFi.service | multi-user.target.wants NetworkManager.service | multi-user.target.wants
It looks like you're using concurrent network managing services. If you want to use netctl, disable and stop NetworkManager.
This is not necessarily the problem about nmb, but certainly a problem to fix.
(And it doesn't exist on your desktop)
-MYHOME
-MYGROUP
-WORKGROUP
You likely want all systems to be in the same workgroup.
Since you don't have (sufficient?) control over the router(?), that would be "HOME"
I assume the router doesn't support SMBv2, but you should try to get away WITHOUT
client max protocol = NT1
ntlm auth = yesNotice that you also seem to have ";[protocol]" still commented.
Online
No, the router doesn't provide a (local) DNS service, so you cannot use it for that purpose. Unfortunately.
[\quote]
Thanks for explanation.netctl@wlp3s0\x2dMK\x2dWiFi.service | multi-user.target.wants NetworkManager.service | multi-user.target.wantsIt looks like you're using concurrent network managing services. If you want to use netctl, disable and stop NetworkManager.
This is not necessarily the problem about nmb, but certainly a problem to fix.
(And it doesn't exist on your desktop)Thank you very much. I will dig into that, read more about netctl - maybe it is something old because i don't have it installed at all. No packages present in the system.
MYHOME -MYGROUP -WORKGROUPYou likely want all systems to be in the same workgroup.
Since you don't have (sufficient?) control over the router(?), that would be "HOME"I assume the router doesn't support SMBv2, but you should try to get away WITHOUT
client max protocol = NT1 ntlm auth = yesOk, thankt you again. Will check it.
Notice that you also seem to have ";[protocol]" still commented.
Offline
I assume the router doesn't support SMBv2, but you should try to get away WITHOUT
client max protocol = NT1 ntlm auth = yesNotice that you also seem to have ";[protocol]" still commented.
I checked it with my 2 machines.
ntlm auth = yes is not needed. I can comment this out, however:
client max protocol = NT1 if is commented out than i cant browse SMB shares across this 2 computers and even more, SMB shares disappear from machine that i try to connect to its own SMB shares.
I start to think that it is related to Dolphin and something in Dolphin is broken because SMB uses 2.0 protocol by default, but with it i cant browse SMB shares.
Offline
If it's only dolphin, do you not have the problems w/ smbclient ?
Also there's a difference between "browsing shares" and "name resolution".
Please summarize the status quo regarding the name resolution situation and the "browsability" with smbclient.
Online
If it's only dolphin, do you not have the problems w/ smbclient ?
I don't use smblicent with manual mounting and a need of typing commands into terminal
Also there's a difference between "browsing shares" and "name resolution".
Please summarize the status quo regarding the name resolution situation and the "browsability" with smbclient.
Don't understand where this leads me to. Name resolution what have in common with my problem of browsing shares and being them visible or need of entering ip instead of browsing by clicking into Dolphin?
Offline
I don't use smblicent with
We used it for some tests… this is about locating the issue, not about "hey, just use smbclient instead of dolphin"
Name resolution what have in common
I guess the thread derailed a bit from "withount needing to know the IP addres of each computer" over "avahi to get local name resolution" to "SMB uses netbios" - I operated under the impression that the main issue was that you were unable to access the shares by their server name.
Online