User:Petr-akhlamov/Samba
Samba is alternate implementation of SMB. She gives access to network disks and printers on various operating systems by protocol SMB/CIFS. ReactOS haven't built-in client. But, you can use third party client Samba/Samba-TNG.
Contents
Samba-TNG
Originally, in ReactOS was planned to use Samba-TNG (fork), which unlike Samba separate every service to separate application. But, at this moment, project is abandoned. Last release was in 2009. Copy exists on svn.reactos.org.
Samba
In february 2017, for MS Word 2010 support, for temporary implementation of NTLM Hermes Belusca choosed Samba 3.0.23 and uploaded it to svn-server of ReactOS. But, despite what her primary goal - NTLM for Word 2010, it can run their functions.
Using Samba
In example was used Windows Server 2003 and Build of Samba for ReactOS. Windows Server 2003 and ReactOS was installed to virtual machines and united to network.
Server setting
IP setting
Set, approximately, next IP:
- 192.168.1.2
- 255.255.255.0
- 192.168.1.1
Enable Guest account
In order to ReactOS could connect to resource without password on the server need to enable guest account. For that:
- Open "Control panel"
- Choose "User Accounts"
- Choose user "Guest"
- Uncheck the checkbox "Account is disabled"
Creating folder
- Create folder, which will be shared (For example, C:\Documents and Settings\Petr\My Documents\Public)
- In folder properties, in tab "Security", add user "Guest"
- Share folder. My computer> RMC> Manage> Shared Folders> Shares
- RMC> New Share
In the master select a directory for shared folder. In permissions choose: "Administrators have full access; other users have read and write access".
Later you will can change permissions in folder properties, on Security tab. (need change at user Guest).
Disable check SMB-packages signature
In order to ReactOS can get access to SMB-resource needed to disable in registry a parameter RequireSecuritySignature. That will make server less safely, but give to ReactOS access to it.
Address of key: HKLM\System\CurrentControlSet\Services\LanManServer\Parameters\RequireSecuritySignature[1]
Using client
Installation of Samba
Download and install Samba to C:\Program Files\Samba (You must pre-create the folder)
IP setting
Set, approximately, next IP:
- 192.168.1.3
- 255.255.255.0
- 192.168.1.1
Connect to resource
Open command line and enter:
smbclient \\192.168.1.2\Public
Leave the password blank.
For using Samba read the link "Using SmbClient".
Cyrillic support
Default, client does not display files on russian. But, after two steps you can get support of cyrillic in the client (but not fully - the client himself don't support input and output of russian).
- In the file dir-with-app\lib\smb.conf, after parameter workgroup, add next string:
display charset = ASCII
- In control panel, in applet "Command line", in combobox "Codepage", choose "ANSI-1251-cyrillic"
Links
- Samba-TNG wiki
- Samba-TNG (from march 2010) (mirror)
- Samba for ReactOS v1.3 (from feb 2017) (mirror)
- iso with both versions
- Using Samba in ReactOS (video)
- Using Samba-tng in ReactOS (video)
- Using SmbClient
- Использование SmbClient (on russian)
- Данная статья на русском