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