Code: Alles auswählen
testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
path = /home/username
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
Code: Alles auswählen
sudo smbclient -L Computername -U Benutzername
[sudo] Passwort für Benutzername:
Password for [WORKGROUP\Benutzername]:
Sharename Type Comment
--------- ---- -------
SMB1 disabled -- no workgroup available
Code: Alles auswählen
Linux Rechnername 5.19.7-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon Sep 5 10:16:57 UTC 2022 x86_64 GNU/Linux
Code: Alles auswählen
inxi -b
System:
Host: c20-mbp2012 Kernel: 5.19.7-1-MANJARO arch: x86_64 bits: 64
Desktop: KDE Plasma v: 5.25.5 Distro: Manjaro Linux
Machine:
Type: Laptop System: Apple product: MacBookPro9,2 v: 1.0
serial: <superuser required>
Mobo: Apple model: Mac-6F01561E16C75D06 v: MacBookPro9,2
serial: <superuser required> UEFI: Apple v: 429.0.0.0.0 date: 03/18/2022
Battery:
ID-1: BAT0 charge: 55.7 Wh (98.1%) condition: 56.8/65.4 Wh (86.8%)
CPU:
Info: dual core Intel Core i5-3210M [MT MCP] speed (MHz): avg: 1198
min/max: 1200/3100
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Device-2: Apple FaceTime HD Camera type: USB driver: uvcvideo
Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting
gpu: i915 resolution: 1280x800~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa
22.1.7
Network:
Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3
Device-2: Broadcom BCM4331 802.11a/b/g/n driver: bcma-pci-bridge
Device-3: Realtek RTL88x2bu [AC1200 Techkey] type: USB driver: rtl88x2bu
Drives:
Local Storage: total: 931.51 GiB used: 105.49 GiB (11.3%)
Info:
Processes: 221 Uptime: 2h 31m Memory: 7.67 GiB used: 4.31 GiB (56.3%)
Shell: Bash inxi: 3.3.21
Nachtrag: Wenn ich obigen Rechner von einem zweiten Computer aus über die IP anpinge, klappt es. Über den Rechnernamen geht es nicht. smb.service und nmb.service wurden neu geladen, gestartet und laufen.