Samba server domain name resolution problem-Linux general technology-Linux technology and application information, the following is a detailed description. Samba is successfully installed and configured without any problems. however, my windows Host Name is Beyond and the Working Group is workgroup. linux has also joined this Working Group. When I use linux to access windows, use this command: smbclient-L // 192.168.1.100/workspace: (100 is my windows Host IP address)
Password:
Domain = [MYGROUP] OS = [Unix] Server = [Samba 3.0.25-2. fc7]
Sharename Type Comment
-----------------------------------
Workspace Disk share workspace
IPC $ IPC
Session request to 192.168.1.100 failed (Called name not present)
Session request to 192 failed (Called name not present)
Domain = [BEYOND] OS = [Windows 5.1] Server = [Windws 2000 LAN Manager]
Server Comment
--------------------------
Workgroup Master
------------------------------
What makes me strange is that my windows Host Name is Beyond working group, but the "Domain = [BEYOND]" should be "Domain = [workgroup]" in the linux Command feedback.
My/etc/samba/smb. conf configuration is as follows:
[Global] Section
Workgroup = workgroup
Netbios name = liyu
Server string = my linux server
Security = share
Share resources
[Workspace]
Path =/home/liyu/workspace
Comment = share workspace
Public = yes
After the configuration is complete, run the following command:
# Service smb start
# Service nmb start
Started successfully!
Run the following command:
# Smbclient-L // 192.168.1.101/workspace (101 is the IP address of my linux host and the shared information is accessed)
Password:
Domain = [WORKGROUP] OS = [Unix] Server = [Samba 3.0.25-2. fc7]
Sharename Type Comment
-----------------------------------
Workspace Disk share workspace
IPC $ IPC Service (my linux server)
Domain = [WORKGROUP] OS = [Unix] Server = [Samba 3.0.25-2. fc7]
Server Comment
--------------------------
LIYU my linux server
Workgroup Master
------------------------------
WORKGROUP
I don't know what the problem is. Please help me.
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.