My samba service configuration process-Linux Enterprise Application-Linux server application information. The following is a detailed description. 1. install five installation packages: rpm-ivh samba-common-*, samba-*, and samba-client -*. redhat-config-samba -*. noarch. the four rpm packages are included in the first disk. The rpm-ivh samba-swat-* (IE managed service package) is included in the third Disk.
2. Check whether the rpm-qa | grep samba installation is successful. There should be five lines of packages.
3. Check whether the netbios-record in/etc/services is available. By default, the firewall does not allow samba services.
4. Create a user useradd sambauser, passwd sambauser, ××××××, smbpasswd-a sambauser ,****
After the user is added, the system automatically adds two database files.
5./etc/samba/lmhosts corresponds to the ip address and host name.
6./etc/samba/smbausers controls user ing.
7. The samba log file is in/var/log/samba.
8. Configure/etc/samba/smb. conf.
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