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 

[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 (ipv4:    
SMB2_10           -                    -                    
8001    nobody       nobody (ipv4:  
SMB3_11           -                    -                    <<< my ip

Service      pid     Machine       Connected at                     Encryption  
IPC$         8027  Вт фев 13 12:07:01 2018 MSK -            -   
Share        8001 Вт фев 13 12:06:46 2018 MSK -            -   

No locked files
users mailing list --
To unsubscribe send an email to

Reply via email to