You are not logged in.

#1 2019-02-10 14:26:11

queenmedley
Member
From: Busan / S.Korea Busan
Registered: 2005-06-15
Posts: 68

Samba access deny problem with guest.

I have 2 linux computer.  one is ubuntu and the other is Archlinux.
When ubuntu makes a usershare folder, archlinux can access to the ubuntu' share with guest account.
But when archlinx makes a usershare folder, ubuntu can' t access the Arch' share folder.

#smbclient -N //localhost/work
Unable to initialize messaging context
Anonymous login successful
Try "help" to get a list of possible commands.
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*

I read wiki so I had all guest option available and changed folder permisson to 777.
And I can confirm the "nobody" user and group account exist.

User account works well but only guest(nobody)  account doesn't work.

This is my smb.conf and it is almost same my ubuntu smb.conf.
why guest account doesn't work on only Archlinux ??

======================= Global Settings =====================================
[global]
   workgroup = WORKGROUP
   server string = Yoyo Server
   log file = /var/log/samba/%m.log
   max log size = 50
   wins support = no
   server role = standalone server
   map to guest = Bad User
   usershare path = /var/lib/samba/usershares
   usershare max shares = 100
   usershare allow guests = yes
   security = user
   guest account = nobody
#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   guest ok = yes
   writable = yes
  
[work]
   comment = work directory
   writable = yes
   path = /home/moodebbo/work
   public = yes
   guest ok = yes

Last edited by queenmedley (2019-02-10 14:55:33)


- Queen Medley

Offline

Board footer

Powered by FluxBB