I started to learn about Samba-Linux Enterprise Application-Linux server application. Here is the details. The time passed quickly. After another week, my Linux learning plan took a step forward. I did not read APACHE and Samba in the week and roughly read it again, we are going to perform a Samba test today on detailed configurations of the Samba server.
1. at the beginning, I encountered a problem about the host name. By default, the host name of Llinux is localhost, which is the same as that of windows, if you do not change the value, the windows network neighbor will be able to see but cannot access it. when not changed.
When we click this samba server (localhost), an error code such as "no access permission or network name duplication" is displayed, and the following prompt is displayed: "\ localhost cannot be remotely accessed. so I thought the host name should be the same as the default local name of windows.
Solution: add a line in the [global] segment in the/etc/samba/smb. conf file:
Netbios name = mainserver' set the bios Host name
Save and exit. Then run the following command in the command line:
# Service smb restart' restart the samba service
In this way, you can see the name of the Samba server on the network neighbor, and you will be prompted to enter the user name and password during access.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service