DNS update mode and the interim DHCP-DNS interaction draft update mode. If and when these two are accepted as part of the IETF standards process, there will be a third mode the standard DNS update method. The DHCP server must be configured to use one of the two current schemes. Invite you to consult Lesson LPI 202 Chapter 4 - Advancer Linux Netword Administration Network Client Management.
Trang 1Network Client Management
Chapter 06 Advanced Linux Network
Trang 5notes only
Trang 8option host-name "apex.example.com";
hardware ethernet 00:A0:78:8E:9E:AA;
fixed-address 192.168.1.4;
}
Trang 10notes only
Trang 11notes only
Trang 12– On a Linux system the network information system (NIS)
server is called ypserv (package name: ypserv). The RPM package has the same name and installs the following main files
Trang 13– In /etc/sysconfig/network set the variable
NISDOMAIN. For example we can set the nisdomain to linis as follows
Trang 15– On the slave server, we need to install the ypserv package too. This time we run ypinit and point it to the the master
Trang 16• Client Setup
– On the client the main service is called ypbind (package name:
ypbind). This daemon is responsible for binding to a NIS server and successfully resolves names and passwords as needed.
– The main configuration file is /etc/yp.conf.
– If the NISDOMAIN variable is set in /etc/sysconfig/network which
is sourced by the rcscript
– /etc/init.d/ypbind then the NIS server will be detected using the broadcast. One can also configure yp.conf and specify. So all that is needed is to start ypbind
– /etc/init.d/ypbind start
– Make sure that the nis keyword is added to /etc/nsswitch.conf.
Trang 20• A "directory" service is a network accessible database:
– Small amount of information in each request/reply.
– Limited functionality (as compared to a complete database system)
– Updates (changes) are much less frequent than queries.
Trang 32C=US
O=RPI O=MIT
OU=Computer Science OU=Math
CN=Dave Hollinger
Trang 46– CN in SSL certificate should be canonical name of server as reported by reverse DNS
Trang 57• Finally, /etc/nsswitch.conf needs to have the line:
– passwd ldap files
• Check the /var/log/ldap/ldap.log file on the server
Trang 59– Need to have the nss_ldap package installed (or separate pam_ldap package). The following files and libraries are
Trang 61can use the pluggable authentication module (PAM) mechanism which offer a modular approach to the
to use this new authentication scheme.
Trang 64• type
– defines the “management group type”.
– PAM modules are classified into four management groups which define different aspects of the authentication process:
• account
• auth
• password
• session
Trang 65– defines what action to take if the module fails. The simple controls are: