MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


System Administration Commands                       inityp2l(1M)



NAME
     inityp2l - create NIS (YP) to LDAP configuration files

SYNOPSIS
     /usr/lib/netsvc/yp/inityp2l [-m mappingfilename]
          [-c configfilename]


DESCRIPTION
     The inityp2l utility assists with creation of  the  NISLDAP-
     mapping  and  ypserv  files.  See  NISLDAPmapping(4)  andyp-
     serv(4). inityp2l examines the NIS maps  on  a  system.  and
     through  a  dialogue  with the user, determines which NIS to
     (and from) LDAP mappings are required. A NISLDAPmapping file
     is  then created based on this information. The utility asks
     users about their LDAP server  configuration  and  a  ypserv
     file is created based on this information.


     The inityp2l utility handles mappings for standard NIS  maps
     and  the  auto.*  series  of  maps. If requested, it creates
     default mappings  for  custom  maps,  with  each  map  entry
     represented as a single DIT string. inityp2l does not handle
     full custom mapping, but if requested, inityp2l will  insert
     comments  into  the  NISLDAPmapping file that indicate where
     these should be added.


     To write to the NISLDAPmapping or  ypserv  files  is  poten-
     tially  dangerous. inityp2l warns the user and asks for con-
     firmation before:

         1.   it overwrites either file

         2.   it writes to the default NISLDAPmapping file  loca-
              tion,  if  this file did not previously exist. This
              is important because the existence  of  a  file  in
              this  location causes NIS components to work NIS to
              LDAP (N2L)  mode when next restarted,  rather  than
              to traditional NIS mode.


     inityp2l assists with rapid creation of a simple N2L  confi-
     guration  files.  It  is  not  a  general  purpose  tool for
     themanagement of these files. An  advanced  user  who  would
     like  to  maintain  the  files or use custom mappings should
     examine the output of inityp2l and customize it by  using  a
     standard text editor.

OPTIONS
     inityp2l supports the following options:




SunOS 5.11          Last change: 10 Apr 2003                    1






System Administration Commands                       inityp2l(1M)



     -c    Specify the name of the  generated  ypserv  file.  The
           default location is  described in .


     -m    Specify the name of the generated NISLDAPmapping file.
           The default is described in .


FILES
     /var/yp                   The directory to be  searched  for
                               candidate  domains (/var/yp/*) and
                               NIS maps (/var/yp/*/*)


     /var/yp/NISLDAPmapping    The default location for the  gen-
                               erated NISLDAPmapping file


     /etc/default/ypserv       The default location for the  gen-
                               erated ypserv file


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWypu                     
    
     Interface Stability          Obsolete                    
    


SEE ALSO
     NISLDAPmapping(4), ypserv(4), attributes(5)
















SunOS 5.11          Last change: 10 Apr 2003                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™