Ich bin Mitglied der Gruppe sambashare.
testparm ergibt:
Code: Alles auswählen
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed by GnuTLS (e.g. NTLM as a compatibility fallback)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
client min protocol = SMB2
disable spoolss = Yes
dns proxy = No
load printers = No
log file = /var/log/samba/%m.log
map to guest = Bad Password
max log size = 1000
name resolve order = lmhosts bcast host wins
obey pam restrictions = Yes
pam password change = Yes
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
passwd program = /usr/bin/passwd %u
printcap name = /dev/null
security = USER
server role = standalone server
show add printer wizard = No
unix password sync = Yes
usershare allow guests = Yes
usershare max shares = 100
usershare owner only = No
usershare path = /var/lib/samba/usershare
idmap config * : backend = tdb
force create mode = 0070
force directory mode = 0070
printing = bsd
[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
path = /home
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
Die Nachfrage nach smbclient ergibt:
Code: Alles auswählen
sudo smbclient -L IPdesRechners -U username
Password for [WORKGROUP\username]:
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
print$ Disk Printer Drivers
IPC$ IPC IPC Service (Samba 4.21.4)
mzc17 Disk Home Directories
SMB1 disabled -- no workgroup available
Code: Alles auswählen
uname -a
Linux c17 6.12.17-1-MANJARO #1 SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 13:04:33 +0000 x86_64 GNU/Linux