On Tue, 2018-02-13 at 09:08 +0000, Илья Коскин wrote: > path statement should not be specified in [homes] section, this is samba built in section, to > dynamically share user home directories. > > I am not logged in as kasak, samba users is not the same as system users. To login as kasak, first I > need to add kasak to samba with smbpasswd -a kasak, or samba-tool user add kasak. But I have not added > kasak to samba, so when smbclient tries to login as kasak it doesn't find it and falls back to guest > (unix nobody) account, because i have option "Map to guest=Bad user" in my config. > > Look: > [kasak@kasakoff ~]$ smbclient \\\\kasakoff\\Share > Enter WORKGROUP\kasak's password: > Try "help" to get a list of possible commands. > smb: \> ^Z > [1]+ Остановлен smbclient \\\\kasakoff\\Share <<<<<<< ctrl+z > > [kasak@kasakoff ~]$ sudo smbstatus > [sudo] пароль для kasak: > > Samba version 4.7.5 > PID Username Group Machine Protocol > Version Encryption Signing > ------------------------------------------------------------------------------------------------------ > ---------------------------------- > 8027 nobody nobody 192.168.2.87 > (ipv4:192.168.2.87:12209) SMB2_10 - - > 8001 nobody nobody 192.168.3.251 > (ipv4:192.168.3.251:36734) SMB3_11 - - <<< my ip > > Service pid Machine Connected at Encryption Signing > --------------------------------------------------------------------------------------------- > IPC$ 8027 192.168.2.87 Вт фев 13 12:07:01 2018 MSK - - > Share 8001 192.168.3.251 Вт фев 13 12:06:46 2018 MSK - - > > No locked files > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Does running smbd in a terminal tell you more? systemctl stop smbd.service smbd -F -S -d 2 Had to do this yesterday - it helped me fix a problem _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx