1inityp2l(1M) System Administration Commands inityp2l(1M)
2
3
4
6 inityp2l - create NIS (YP) to LDAP configuration files
7
9 /usr/lib/netsvc/yp/inityp2l [-m mapping_file_name]
10 [-c config_file_name]
11
12
14 The inityp2l utility assists with creation of the NISLDAPmapping and
15 ypserv files. See NISLDAPmapping(4) andypserv(4). inityp2l examines the
16 NIS maps on a system. and through a dialogue with the user, determines
17 which NIS to (and from) LDAP mappings are required. A NISLDAPmapping
18 file is then created based on this information. The utility asks users
19 about their LDAP server configuration and a ypserv file is created
20 based on this information.
21
22
23 The inityp2l utility handles mappings for standard NIS maps and the
24 auto.* series of maps. If requested, it creates default mappings for
25 custom maps, with each map entry represented as a single DIT string.
26 inityp2l does not handle full custom mapping, but if requested, ini‐
27 typ2l will insert comments into the NISLDAPmapping file that indicate
28 where these should be added.
29
30
31 To write to the NISLDAPmapping or ypserv files is potentially danger‐
32 ous. inityp2l warns the user and asks for confirmation before:
33
34 1. it overwrites either file
35
36 2. it writes to the default NISLDAPmapping file location, if
37 this file did not previously exist. This is important
38 because the existence of a file in this location causes NIS
39 components to work NIS to LDAP (N2L) mode when next
40 restarted, rather than to traditional NIS mode.
41
42
43 inityp2l assists with rapid creation of a simple N2L configuration
44 files. It is not a general purpose tool for the management of
45 these files. An advanced user who would like to maintain the files or
46 use custom mappings should examine the output of inityp2l and customize
47 it by using a standard text editor.
48
50 inityp2l supports the following options:
51
52 -c Specify the name of the generated ypserv file. The default loca‐
53 tion is described in .
54
55
56 -m Specify the name of the generated NISLDAPmapping file. The
57 default is described in .
58
59
61 /var/yp The directory to be searched for candidate
62 domains (/var/yp/*) and NIS maps
63 (/var/yp/*/*)
64
65
66 /var/yp/NISLDAPmapping The default location for the generated
67 NISLDAPmapping file
68
69
70 /etc/default/ypserv The default location for the generated ypserv
71 file
72
73
75 See attributes(5) for descriptions of the following attributes:
76
77
78
79
80 ┌─────────────────────────────┬─────────────────────────────┐
81 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
82 ├─────────────────────────────┼─────────────────────────────┤
83 │Availability │SUNWypu │
84 ├─────────────────────────────┼─────────────────────────────┤
85 │Interface Stability │Obsolete │
86 └─────────────────────────────┴─────────────────────────────┘
87
89 NISLDAPmapping(4), ypserv(4), attributes(5)
90
91
92
93SunOS 5.11 10 Apr 2003 inityp2l(1M)