Dear Manjaro Support Team,
I installed the newest Community maintained Manjaro with cinnamon Desktop yesterday to my 15" Macbook Pro, mid-2010, using this .iso file: (https://download.manjaro.org/cinnamon/21.3.7/manjaro-cinnamon-21.3.7-220826-linux515.iso)
I wanted to follow the method described in the wiki under Using Samba in your File Manager - Manjaro to share my
/home/Downloads
folder using the File Manager to access that share from Windows 11in the same LAN. Could someone help me out (maybe this case would be helpful to improve the Manjaro Wiki as well for unexperienced but passionate Linux users
Here in the Manjaro Wiki from which I followed this tutorial:
(Using Samba in your File Manager - Manjaro)
Installation
Depending on which file manager you use there are different packages to install. Please reference the appropriate section for your file manager.
The manjaro-settings-samba
package will install a basic config and enable the file sharing services. The whole process is nicely automated. Let me share with you what happened in details:
(Using Samba in your File Manager - Manjaro)
1.) I started in the terminal:
Installing manjaro-settings-samba (20220924-1)... [1/1]
==> Attempting to enable Samba services...Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service.
Created symlink /etc/systemd/system/multi-user.target.wants/nmb.service → /usr/lib/systemd/system/nmb.service.
==> Adding user 'b....s' to user-group 'sambashare'
==> Samba services should now be enabled.==> Please add new users to 'sambashare' group.==> Reboot your system, so changes will take effect..
Transaction successfully finished.
2.) The rebooted the system.
3.) Opened the File Manager, selected the Downloads folder, right-clicked on it, and selected the “Sharing Options” from the popup menu.
4.) Ticked the “Share this folder” and the “Allow others to create and delete files in this folder” After pressing the “Create Share” button on this panel the following error appears:
‘net usershare’ returned error 255: net usershare add: cannot convert name “Everyone” to a SID. The transport connection is now disconnected…
This is a fresh installation, so I did not even start configuring Samba by commands in Termina as my goal was to check whether it can be done in the Cinnamon GUI, following strictly the Manjaro Wiki.
System Information:
[b...s@mbp ~]$ neofetch
██████████████████ ████████ b...s@mbp
██████████████████ ████████ ----------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Host: MacBookPro6,2 1.0
████████ ████████ Kernel: 5.15.81-1-MANJARO
████████ ████████ ████████ Uptime: 1 hour, 3 mins
████████ ████████ ████████ Packages: 1115 (pacman)
████████ ████████ ████████ Shell: bash 5.1.16
████████ ████████ ████████ Resolution: 1440x900, 1440x900
████████ ████████ ████████ DE: Cinnamon 5.6.4
████████ ████████ ████████ WM: Mutter (Muffin)
████████ ████████ ████████ WM Theme: Mint-Y-Dark-Teal (Mint-Y)
████████ ████████ ████████ Theme: Mint-Y-Dark-Teal [GTK2/3]
████████ ████████ ████████ Icons: Papirus-Adapta-Nokto-Maia [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7 M 620 (4) @ 2.661GHz
GPU: NVIDIA GeForce GT 330M
GPU: Intel Core Processor
Memory: 1556MiB / 7874MiB
— in detailed:
[b...s@mbp ~]$ inxi --admin --verbosity=7 --filter --no-host --width
System:
Kernel: 5.15.81-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=193c9617-ea40-45b6-a493-c4e8551626aa rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: Cinnamon v: 5.6.4 tk: GTK v: 3.24.35 vt: 7 dm: LightDM v: 1.32.0
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Laptop System: Apple product: MacBookPro6,2 v: 1.0
serial: <superuser required> Chassis: type: 10 v: Mac-F22586C8
serial: <superuser required>
Mobo: Apple model: Mac-F22586C8 v: MacBookPro6,2
serial: <superuser required> UEFI: Apple v: 99.0.0.0.0 date: 06/13/2019
Battery:
ID-1: BAT0 charge: 76.3 Wh (100.0%) condition: 76.3/76.3 Wh (100.0%)
volts: 12.5 min: 10.9 model: SMP bq20z451 type: Li-ion serial: N/A
status: full cycles: 3
Memory:
RAM: total: 7.69 GiB used: 2.97 GiB (38.6%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: Intel Core i7 M 620 bits: 64 type: MT MCP arch: Westmere
gen: core 1 level: v2 built: 2010-11 process: Intel 32nm family: 6
model-id: 0x25 (37) stepping: 5 microcode: 0x7
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB
L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 1415 high: 1463 min/max: 1197/2661 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1463 2: 1309
3: 1463 4: 1428 bogomips: 21289
Flags: acpi aes aperfmperf apic arat arch_perfmon bts clflush cmov
constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts ept est
flexpriority flush_l1d fpu fxsr ht ibpb ibrs ida lahf_lm lm mca mce mmx
monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs
pge pni popcnt pse pse36 pti rdtscp sep smx ssbd sse sse2 sse4_1 sse4_2
ssse3 stibp syscall tm tm2 tpr_shadow tsc vme vmx vnmi vpid xtopology xtpr
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
vulnerable
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode;
SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Core Processor Integrated Graphics driver: i915 v: kernel
arch: Gen-5.75 process: Intel 45nm built: 2010 ports: active: LVDS-1
empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0046
class-ID: 0300
Device-2: NVIDIA GT216M [GeForce GT 330M] vendor: Apple driver: nouveau
v: kernel non-free: series: 340.xx status: legacy (EOL) last:
release: 340.108 kernel: 5.4 xorg: 1.20 arch: Tesla process: 40-80nm
built: 2006-13 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 ports: active: LVDS-2
empty: DP-2 bus-ID: 01:00.0 chip-ID: 10de:0a29 class-ID: 0300 temp: 56.0 C
Device-3: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 2-1.1:3
chip-ID: 05ac:8507 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting
alternate: fbdev,vesa dri: nouveau,crocus gpu: i915,nouveau display-ID: :0
screens: 1
Screen-1: 0 s-res: 2880x900 s-dpi: 96 s-size: 762x238mm (30.00x9.37")
s-diag: 798mm (31.43")
Monitor-1: LVDS-1 mapped: LVDS-1-1 pos: right model: Apple Color LCD
built: 2009 res: 1440x900 hz: 60 dpi: 111 gamma: 1.2
size: 331x207mm (13.03x8.15") diag: 390mm (15.4") ratio: 16:10
modes: 1440x900
Monitor-2: LVDS-2 pos: primary,left model: Apple Color LCD built: 2009
res: 1440x900 hz: 60 dpi: 111 gamma: 1.2 size: 331x207mm (13.03x8.15")
diag: 390mm (15.4") ratio: 16:10 modes: max: 1440x900 min: 640x350
API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: Intel 5 Series/3400 Series High Definition Audio
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:3b56
class-ID: 0403
Device-2: NVIDIA GT216 HDMI Audio driver: snd_hda_intel v: kernel pcie:
gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0be2
class-ID: 0403
Sound API: ALSA v: k5.15.81-1-MANJARO running: yes
Sound Server-1: JACK v: 1.9.21 running: no
Sound Server-2: PulseAudio v: 16.1 running: yes
Sound Server-3: PipeWire v: 0.3.61 running: yes
Network:
Device-1: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe driver: tg3
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0
chip-ID: 14e4:1684 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Broadcom BCM43224 802.11a/b/g/n vendor: Apple AirPort Extreme
driver: bcma-pci-bridge v: N/A modules: bcma pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 03:00.0 chip-ID: 14e4:4353 class-ID: 0280
IF-ID-1: wlp3s0b1 state: up mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Device-1: Apple Bluetooth Host Controller type: USB driver: btusb v: 0.8
bus-ID: 1-1.1.3:8 chip-ID: 05ac:8218 class-ID: fe01
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 715.41 GiB used: 10.47 GiB (1.5%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Verbatim model: Vi550 S3
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: SSD serial: <filter> rev: 916a scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: MZ7TY256HDHP-000L7
size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
type: SSD serial: <filter> rev: 4L6Q scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 476.64 GiB size: 468.09 GiB (98.21%) used: 10.47 GiB (2.2%)
fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A
uuid: 193c9617-ea40-45b6-a493-c4e8551626aa
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 312 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1 label: NO_LABEL
uuid: F7BE-F9F5
Swap:
Alert: No swap data was found.
Unmounted:
ID-1: /dev/sdb1 maj-min: 8:17 size: 238.47 GiB fs: ext4 label: Data
uuid: 05e1ec54-7f40-4d8e-b874-9b2957d4444d
USB:
Hub-1: 1-0:1 info: Full speed or root hub ports: 6 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-1:2 info: Microchip (formerly SMSC) USB 2.0 Hub ports: 4 rev: 2.0
speed: 480 Mb/s power: 2mA chip-ID: 0424:2514 class-ID: 0900
Hub-3: 1-1.1:3 info: Broadcom BCM2046B1 USB 2.0 Hub (part of BCM2046
Bluetooth) ports: 3 rev: 2.0 speed: 12 Mb/s power: 94mA chip-ID: 0a5c:4500
class-ID: 0900
Device-1: 1-1.1.3:8 info: Apple Bluetooth Host Controller type: Bluetooth
driver: btusb interfaces: 4 rev: 2.0 speed: 12 Mb/s chip-ID: 05ac:8218
class-ID: fe01
Device-2: 1-1.2:4 info: Apple Internal Keyboard/Trackpad (ISO)
type: Keyboard,HID,Mouse driver: apple,bcm5974,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s power: 40mA chip-ID: 05ac:0237 class-ID: 0301
Device-3: 1-1.3:5 info: Apple Internal Memory Card Reader
type: Mass Storage driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s
power: 500mA chip-ID: 05ac:8403 class-ID: 0806 serial: <filter>
Hub-4: 2-0:1 info: Full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-5: 2-1:2 info: Microchip (formerly SMSC) USB 2.0 Hub ports: 3 rev: 2.0
speed: 480 Mb/s power: 2mA chip-ID: 0424:2514 class-ID: 0900
Device-1: 2-1.1:3 info: Apple Built-in iSight type: Video driver: uvcvideo
interfaces: 3 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 05ac:8507
class-ID: 0e02 serial: <filter>
Device-2: 2-1.2:4 info: Apple Built-in IR Receiver type: HID
driver: appleir,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s power: 100mA
chip-ID: 05ac:8242 class-ID: 0300
Sensors:
System Temperatures: cpu: 62.0 C mobo: N/A gpu: nouveau temp: 56.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 218 Uptime: 7h 36m wakeups: 20 Init: systemd v: 251
default: graphical tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6
Packages: pm: pacman pkgs: 1115 libs: 299 tools: pamac,yay pm: flatpak
pkgs: 0 Shell: Bash v: 5.1.16 running-in: gnome-terminal inxi: 3.3.23
Samba is Running:
[b....s@mbp ~]$ sudo systemctl status smb.service
[sudo] password for b....s:
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; preset: disa>
Active: active (running) since Mon 2022-12-12 20:30:44 CET; 35min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1188 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 9423)
Memory: 13.1M
CPU: 969ms
CGroup: /system.slice/smb.service
├─1188 /usr/bin/smbd --foreground --no-process-group
├─1190 /usr/bin/smbd --foreground --no-process-group
├─1191 /usr/bin/smbd --foreground --no-process-group
└─1983 /usr/bin/smbd --foreground --no-process-group
Dec 12 20:33:51 mbp smbd[1938]: pam_unix(samba:session): session closed for use>
Dec 12 20:33:58 mbp smbd[1943]: pam_unix(samba:session): session closed for use>
Dec 12 20:33:59 mbp smbd[1947]: pam_unix(samba:session): session closed for use>
Dec 12 20:33:59 mbp smbd[1951]: pam_unix(samba:session): session closed for use>
Dec 12 20:34:00 mbp smbd[1955]: pam_unix(samba:session): session closed for use>
Dec 12 20:34:01 mbp smbd[1959]: pam_unix(samba:session): session closed for use>
lines 1-23...skipping...
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; preset: disabled)
Active: active (running) since Mon 2022-12-12 20:30:44 CET; 35min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1188 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 9423)
Memory: 13.1M
CPU: 969ms
CGroup: /system.slice/smb.service
├─1188 /usr/bin/smbd --foreground --no-process-group
├─1190 /usr/bin/smbd --foreground --no-process-group
├─1191 /usr/bin/smbd --foreground --no-process-group
└─1983 /usr/bin/smbd --foreground --no-process-group
Dec 12 20:33:51 mbp smbd[1938]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:33:58 mbp smbd[1943]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:33:59 mbp smbd[1947]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:33:59 mbp smbd[1951]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:34:00 mbp smbd[1955]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:34:01 mbp smbd[1959]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:34:01 mbp smbd[1963]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:34:02 mbp smbd[1967]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:34:03 mbp smbd[1971]: pam_unix(samba:session): session closed for user nobody
Dec 12 20:34:03 mbp smbd[1975]: pam_unix(samba:session): session closed for user nobody
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
lines 1-27/27 (END)
NetBIOS over IP is running:
[b....s@mbp ~]$ sudo systemctl status nmb.service
[sudo] password for b....s:
● nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled; preset: disa>
Active: active (running) since Mon 2022-12-12 20:30:44 CET; 50min ago
Docs: man:nmbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 1187 (nmbd)
Status: "nmbd: ready to serve connections..."
Tasks: 1 (limit: 9423)
Memory: 13.2M
CPU: 160ms
CGroup: /system.slice/nmb.service
└─1187 /usr/bin/nmbd --foreground --no-process-group
Dec 12 20:30:44 mbp systemd[1]: Starting Samba NMB Daemon...
Dec 12 20:30:44 mbp nmbd[1187]: [2022/12/12 20:30:44.670665, 0] ../../source3/>
Dec 12 20:30:44 mbp nmbd[1187]: nmbd version 4.17.3 started.
Dec 12 20:30:44 mbp nmbd[1187]: Copyright Andrew Tridgell and the Samba Team >
Dec 12 20:30:44 mbp systemd[1]: Started Samba NMB Daemon.
Dec 12 21:06:21 mbp nmbd[1187]: [2022/12/12 21:06:21.913788, 0] ../../source3/>
Dec 12 21:06:21 mbp nmbd[1187]: query_name_response: Multiple (2) responses r>
Dec 12 21:06:21 mbp nmbd[1187]: This response was from IP 192.168.1.250, repo>
lines 1-22/22 (END)
What should I do?