If we want to see the content of the file without considering the commented options either with « " or with " #«, We must execute: egrep -v '# | | ^ * $' /etc/samba/smb.conf The configuration options commented with a « #«, Have the Samba default values, and are also considered important to be displayed. The options commented with a « ✺re considered important enough to display, and their default values differ from the Samba behavior defaults. Samba has a huge number of configuration options, most of which are not shown in the example from smb.conf which installs by default. The smb.conf file is the most important in the Samba Suite Through Synaptic or through the console we install the package samba. If there is NO WINS server on our LAN, we can make our Samba act as such by adding in the « overall✿rom the file smb.conf the parameter wins support = Yes., which is highly recommended.Share names cannot be repeated on a LAN.We recommend not using accents, eñes, or spaces in the names of folders and shared resources.It is essential to understand how to handle the behavior of the file system from the file smb.conf, as well as understanding how UNIX / Linux file system security works.Many problems are solved by paying due attention to file and directory permissions. The resource sharing service in Samba works on the Linux filesystem, including its inherent security.The less we change and / or add parameters to the file /etc/smb.conf Without first knowing in detail what we want to achieve, it will be Much Better.It also does not provide Login to a Domain. A Standalone Samba Server does NOT provide Network Login, like a Domain Controller does. We can only add to the Samba user database those users that already exist on our server or desktop machine.In order for a user to be able to access resources from a remote computer, they must also be registered in the Samba user base.User authentication is performed on the server itself where the resources reside.An Independent Server can be as secure or insecure according to our needs, and we can configure it in a simple or complex way.Despite all the aura that surrounds Active Directories and their Domain Controllers, which on numerous occasions are not necessary or poorly exploited, installing and configuring an Independent Samba Server IS a valid and reliable option.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |