[Samba] nobody user showing in smbstatus
Rowland penny
rpenny at samba.org
Fri Apr 2 09:52:16 UTC 2021
On 02/04/2021 10:20, Sweetth Devil via samba wrote:
> Hello all,
>
> I am running an Archlinux home server, with Samba used to share files
> across the network.
>
> As it's an home server it is not required all the time and as such I
> installed autosuspend to monitor various process activities and to suspend
> the server when not in use.
>
> I have a problem with Samba and my son's Chromebook showing a "nobody" user
> when running smbstatus that stops autosuspend to suspend the server as it
> sees an active user.
>
> The chromebook is not set up to access the samba.
>
> I searched the web for a solution but could not find it, see below my
> smb.conf for information.
>
This is your effective smb.conf (all commented and default lines removed):
dns proxy = no
[homes]
path = /home/profiles
browseable = no
[arch_home_server]
comment = arch_home_server
path = /mnt/hd/
valid users = sweetth
writable = yes
strict allocate = yes
Do you have the '[global]' heading ?
As you can see, '[homes]' has part of the '[profiles]' share.
You need to fix your smb.conf and as it looks like you want to Samba as
a standalone server, try reading this:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server
Rowland
More information about the samba
mailing list