Samba simple configuration

xiaoxiao2021-03-06  113

Using the Server Message Block protocol, by installing Samba on UNIX, UNIX can communicate with the Windows Series computers and allow UNIX machines to simulate a Windows machine. The core of Samba is two daemon SMBD and NMBD programs. The role of the SMBD process is to process the SMB packages that negotiate with Linux using the package, the NMBD process enables other hosts (or workstations) to browse Linux servers. Graphics management interface: / etc / services: swat 901 / tcp swat 901 / udp /etc/inetd.conf: swat stream tcp noAit.400 root / usr / local / samba / bin / swat swat via http: // ip: 901 Manage, enter the ROOT account / usr / local / samba / bin / testparm test configuration program When adding a user, the account must exist on the system, Samba will add / usr / local / samba / private / smbpasswd, modify password, SMBPasswd Samba User name configuration files are as follows: (/ usr / local / samba / lib / smb.conf) # Samba config file created sale swat # date: 2002/12/31 11:53:48 # Global parameters [global] client code page = 936 Workgroup = Workgroup // Setting Working Group Netbios Name = Trans / / Setting Up Network Neighbors String = Donald Home SECRITY = User // User Validation ENCRYPT Passwords = Yes Password Level = 3 log file = /var/log/samba/log.%M deadtime = 10 invalid users = root [Project] Comment = super-ftpd project path = / opt / super-ftpd / super-ftpd project admin = chdonald // administrator Write List = chDonald, test // [public] comment = super-ftpd path = / opt / super-ftpd / public guest account = valid users = chDonald, test admi N users = chdonald write list = chdonald [other] comment = others path = / OPT / other admin users = chDonald write list = test, TEST

(Finish)

转载请注明原文地址:https://www.9cbs.com/read-125510.html

New Post(0)