Perteneciente a LPIC-2
En este apartado deberás configurar un servidor Samba para varios clientes. Este objetivo incluye configurar Samba como un servidor independiente, así como la integración de Samba como miembro en un Active Directory y además, exportar sistemas de archivos utilizando NFS.
Módulos:
De cara al examen, hay que conocer bien:
Which of the following is needed, to synchronize the Unix password with the SMB password, when the encrypted SMB password in the smbpasswd file is changed?
netvamp regularly, to convert the passwords.winbind --sync, to synchronize the passwords.unix password sync = yes to smb.conf. (Solución)smbunix password = sync to smb.conf.Which Samba-related command will show all options that were not modified using smb.conf and thus are set to their default values? Please enter the command and its parameter(s).
testparm -vWhich command can be used to list all exported file systems from a remote NFS server:
exportfsnfsstatrpcinfoshowmount (Solución)importfsWhich of the following configuration lines will export /usr/local/share/ to nfsclient with read-write access, ensuring that all changes are straight to the disk?
/usr/local/share nfsclient(rw) writtennfsclient: /usr/local/share/:rw,sync/usr/local/share nfsclient:rw:sync/usr/local/share nfsclient(rw,sync) (Solución)nfsclient(rw,sync) /usr/local/shareWhich of the following files defines the directories and permissions for NFS shares on your server?
/etc/exportfs/etc/shares/etc/exports (Solución)Which of the following utilities will test the configuration of your SAMBA shares?
testparm (Solución)checkparmviewparmchickenparmWhich packages are required for both the SAMBA client and server?
Why is it important to map the UID/GID between NFS servers and their clients?
Clients can only mount NFS shares from a server at the command line (i.e. manually as needed).