14 directory hierarchy on each NIS server.
15 .sp
16 .LP
17 A \fBdbm\fR database served by the NIS server is called a NIS \fImap\fR. A NIS
18 \fIdomain\fR is a subdirectory of \fB/var/yp\fR that contains a set of NIS maps
19 on each NIS server.
20 .sp
21 .LP
22 Standard nicknames are defined in the file \fB/var/yp/nicknames\fR. These names
23 can be used in place of the full map name in the \fBypmatch\fR and \fBypcat\fR
24 commands. Use the command \fBypwhich\fR \fB-x\fR to display the current set of
25 nicknames. Use the command \fBypwhich\fR \fB-m\fR to display all the available
26 maps. Each line of the nickname file contains two fields separated by white
27 space. The first field is the nickname, and the second field is the name of the
28 map that it expands to. The nickname cannot contain a ".".
29 .SS "NIS to LDAP (N2L)"
30 .LP
31 If the \fB/var/yp/NISLDAPmapping\fR configuration file is present, the NIS
32 server operates in NIS to LDAP (N2L) mode. In this mode, NIS maps are stored in
33 a new set of DBM files, prepended by the \fBLDAP_\fR prefix, at
34 \fB/var/yp/\fIdomainename\fR\fR. These files are used as a cache backed by
35 information from an LDAP server. Additional DBM files are created in the same
36 directory to hold the cache's TTL values.
37 .sp
38 .LP
39 N2L mode enables NIS clients to be supported in an LDAP environment.
40 .sp
41 .LP
42 In N2L mode, the old style DBM files, NIS source files, and the
43 \fBypmake\fR(1M) utility have to role. They are retained to enable easy
44 conversion back to the traditional mode, if required.
45 .SS "Converting from N2L to Traditional NIS"
46 .LP
47 When NIS is operating in N2L mode, it uses a new set of NIS maps with an
48 \fBLDAP_\fR prefix, based on the contents of the LDAP DIT. The NIS source files
49 are unused and become out of date. If you wish to convert back to the
50 traditional NIS mode, the N2L configuration file should be deleted. The system
51 will then return to using the standard map files. Optionally, the N2L mode map
52 files, \fB/var/yp/*/LDAP_*\fR can also be deleted.
53 .sp
54 .LP
|
14 directory hierarchy on each NIS server.
15 .sp
16 .LP
17 A \fBdbm\fR database served by the NIS server is called a NIS \fImap\fR. A NIS
18 \fIdomain\fR is a subdirectory of \fB/var/yp\fR that contains a set of NIS maps
19 on each NIS server.
20 .sp
21 .LP
22 Standard nicknames are defined in the file \fB/var/yp/nicknames\fR. These names
23 can be used in place of the full map name in the \fBypmatch\fR and \fBypcat\fR
24 commands. Use the command \fBypwhich\fR \fB-x\fR to display the current set of
25 nicknames. Use the command \fBypwhich\fR \fB-m\fR to display all the available
26 maps. Each line of the nickname file contains two fields separated by white
27 space. The first field is the nickname, and the second field is the name of the
28 map that it expands to. The nickname cannot contain a ".".
29 .SS "NIS to LDAP (N2L)"
30 .LP
31 If the \fB/var/yp/NISLDAPmapping\fR configuration file is present, the NIS
32 server operates in NIS to LDAP (N2L) mode. In this mode, NIS maps are stored in
33 a new set of DBM files, prepended by the \fBLDAP_\fR prefix, at
34 \fB/var/yp/\fIdomainname\fR\fR. These files are used as a cache backed by
35 information from an LDAP server. Additional DBM files are created in the same
36 directory to hold the cache's TTL values.
37 .sp
38 .LP
39 N2L mode enables NIS clients to be supported in an LDAP environment.
40 .sp
41 .LP
42 In N2L mode, the old style DBM files, NIS source files, and the
43 \fBypmake\fR(1M) utility have to role. They are retained to enable easy
44 conversion back to the traditional mode, if required.
45 .SS "Converting from N2L to Traditional NIS"
46 .LP
47 When NIS is operating in N2L mode, it uses a new set of NIS maps with an
48 \fBLDAP_\fR prefix, based on the contents of the LDAP DIT. The NIS source files
49 are unused and become out of date. If you wish to convert back to the
50 traditional NIS mode, the N2L configuration file should be deleted. The system
51 will then return to using the standard map files. Optionally, the N2L mode map
52 files, \fB/var/yp/*/LDAP_*\fR can also be deleted.
53 .sp
54 .LP
|