Re: Please help me with samba or my brain will explode.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux