Linuxsamba configuration problems (unknown user name or password error)

Source: Internet
Author: User
Linuxsamba configuration problems (unknown user name or password error) I will not talk about samba configuration here. baidu and google will check a lot of problems that may occur during the configuration process, after configuring the linuxsamba service, many users encounter problems when accessing the service in windows... linux samba configuration problems (unknown user name or password error) I will not talk about samba configuration here. baidu and google will check a lot of problems that may occur during the configuration process, after configuring the linux samba service, many users encounter the system prompts "unknown user name or password error" or "inaccessible" when accessing the service in windows ", the fault cause analysis and solutions are summarized as follows: www.2cto.com 1. The network is not connected. Analysis and solution: enable the ping service and run the ping command to test the service. 2. the samba service fails to be started. Analysis and solution: restart the test through service smb restart. If an error occurs during startup, analyze and resolve the problem or reinstall samba .. 3. your username and password are incorrect. Analysis and solution: This problem is simple. do you still need to talk about it! 4. access restriction configuration problems. Analysis and solution: in the configuration file samba. interfaces or hosts allow is enabled in conf, but the restricted network segment or IP address officially accesses the machine you are using. can this problem be caused by adding interfaces before hosts allow = and interfaces =; comment out these settings for testing. Www.2cto.com 5. network workgroup settings. Analysis and solution: View samba in a different network working group. conf row workgroup =/The name of the network workgroup you set/is the same as the name of the network workgroup on the machine you accessed. otherwise, access may fail. 6. Windows 7 system access problems. Analysis and solution: XP can be accessed normally, but win7 cannot be accessed. make the following settings: First, click [start] -- [run] and enter "secpol. msc open the management tool and expand Local Policies )". Then, click Security Options )". Double-click "Network Security: LAN Manager authentication level" and click send LM and NTLMv2 in the list, use the NTLMv2 protocol (LM and NTLM-use NTLMV2 session security if negotiated ). Www.2cto.com 7. Questions About Virtual User ING. Analysis and solution: the problem may be caused by user Virtual User ING. in conf, username map =/etc/samba/smbusers is used. comment out and test the function. if every windows user has an account on the samba server, this function can be disabled. 8. samba user problems. Analysis and solution: the samba user has not been created or activated. you can use the following method to add a user: useradd your user to samba: smbpasswd-a your user activation User: smbpasswd-e your user.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.