Difference between revisions of "User:Petr-akhlamov/Samba"

From ReactOS Wiki
Jump to: navigation, search
Line 5: Line 5:
  
 
==Samba==
 
==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, she can run their functions.
+
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==
 
==Using Samba==

Revision as of 12:55, 29 November 2017

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.

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

Image - http://winehq.org.ru/File:Ros-smb1.png

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:

  1. Open "Control panel"
  2. Choose "User Accounts"
  3. Choose user "Guest"
  4. Uncheck the checkbox "Account is disabled"

Creating folder

Image - http://winehq.org.ru/File:Ros-smb2.png

  1. Create folder, which will be shared (For example, C:\Documents and Settings\Petr\My Documents\Public)
  2. In folder properties, in tab "Security", add user "Guest"
  3. Share folder. My computer> RMC> Manage> Shared Folders> Shares
  4. 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

Image - http://winehq.org.ru/File:Ros-smb3.png

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

Image - http://winehq.org.ru/File:Ros-smb5.png

Set, approximately, next IP:

  • 192.168.1.3
  • 255.255.255.0
  • 192.168.1.1

Connect to resource

Image - http://winehq.org.ru/File:Ros-smb6.png

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