�������: ������ (���� | �����������) ��RU opennet.me  
The OpenNET Project / Index page

[ ������� /+++ | ����� | ���� | ]

������� ������������ / ������ "������������ ��� Linux" / ���������� ���������
next up previous contents index
Next: ������ ������� Up: Samba Previous: ��������   Contents   Index

���������

������ �����, ��� ���� ����� ������������ Samba ���� ������ ������ ��������� � ��������� ethernet-�������� ��������� ���� � ������������ �������� TCP/IP. Samba �� ����� �������� ��� ������������� ������ ������� ����������. ��� ���������� � ����� ����� �����������, ��������� Linux � Windows 95/98/NT ������������ � ���������� TCP/IP.

��� ����, ����� ���������� TCP/IP �� ������ � Windows 95/98 , �������� Control Panel - Network , ����� �������� � ��������� Microsoft TCP/IP. � Windows NT, �������� Control Panel - Network - Protocols.

��� ����, ����� �������� �������� ������ ��������� ������ Samba, ��������� � ftp://ftp.samba.org/ � �������� ��������� � ��� ������- �������. � ����������� ������� ����������� Linux ������������ � �������, ������� �������� ������ ������ Samba.

��������� ��� ������ ���������� ��� ������ ������ Samba. ��� ������ ��������������� � /usr/sbin � ����������� ���� ��� �������� �� ��������� ��������, ���� �� inetd. ������� �������� ���� ����.

  1. smbd - ����� SMB.
  2. nmbd - ������������ ��������� ������� ���� NetBIOS ��� ��������.

�������, ��� ������ ����, ��������������� ������� nmbd, �������� �������� �� ������� ����, ���������������� Domain Name Service (DNS). ������ ���� NetBIOS �������� �������� ���� � ����� Windows, ������������ SMB. ������� �������, ��������� ������ ���� DNS ����� �� ������������ Samba ��� ���������� ���� �����.

������ ��������� �������� ����� Samba ��������������� � ���������� /usr/bin, ���� �� ������������ �����������.

  1. smbclient - ������ SMB ��� UNIX-�����.
  2. smbprint - ������ ��� ������ �� ������� �� SMB-������.
  3. smbprint.sysv - ����� ��� ����, �� ��� ����� � SVR4 UNIX.
  4. smbstatus - ����������� ������� SMB-���������� ��� ��������� ������.
  5. smbrun - glue ������ ��� ������� ���������� �� SMB- ������.

�������� ����� ����������� � ��������� �������� ������� smbfs ����������� �����.

������������� ��������������� ������, ��������� print, ������� ������ ��� �������� ���������� ��� �������� smbprint.

����� Samba ����� ����� � ���������. ������ �������� �������� ������ �� ������, ���������� ����, � ���������� ���� README � ������������. ����� � ������������ ���� ���� docs/INSTALL.txt, ������� ���� ����� ��������� ����������. ����������� ���������, �������� ������ � /usr/sbin � �������� ����� � /usr/bin. ���������� ���������� �������� � /usr/local/man.

��� ��������� ������ Samba, ����� ������� � Makefile ������������ ����� ������������, smb.conf. ������ ��� /etc, �� �� ������ ��������� ��� ���� ������. ����� ����� ������������, ��� �� ������� ������������ ����� ������������ ��� /etc/smb.conf, ������������ ����� ��������� ��� log file = /var/log/samba-log.%m � ������������� ���������� ��� lock directory = /var/lock/samba.

���������� ���� ������������ smb.conf. ��������� � ����������, ��� ���� �������������� Samba. ���������� � ������������� examples/simple � �������� ���� README. ���������� ���� smb.conf ��������� � ���� ���������� � ���� /etc. ���� � ��� ����������� Linux � ������������� Samba, �� ���� ������������ Samba ����� ��� ���� � /etc. �� ������ ������ �������� � �����-���� �� ���. ���� �� �� ������ ������������� ���� ������������ � ���������� /etc, �� ��������� ��� � ������ �����, �� ����� ������������� ��������� ������������� ������ �� ���� � ���������� /etc:

ln -s /path/to/smb.conf /etc/smb.conf



Alex Otwagin 2002-12-16



������:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
�������:

�������� �� �����
���������� �� ���������
Created 1996-2026 by Maxim Chirkov
��������, ����������, ����������