NIS/LDAP Gateway Administrator's Guide

The NIS/LDAP Gateway Components
The NIS/LDAP Gateway product, comprising the following components, can be found under
/opt/ldapux/ypldapd, except where noted.
Table 1-1 NIS/LDAP Gateway Components
DescriptionComponent
The daemon that replaces the ypserv daemon and serves NIS requests from
NIS clients.
ypldapd
The NIS/LDAP Gateway configuration file.ypldapd.conf
Configuration file that specifies where in the LDAP directory each NIS map
is.
namingcontexts.conf
Contains start-up files.init.d
Contains libraries used by ypldapd.lib
The directory schema for posix account and other information (RFC 2307)
required by the NIS/LDAP Gateway. LDAP version 2 and version 3.
slapd-v2.nis.conf, slapd-v3.nis.conf
The ypldapd(8) man page.ypldapd.8
The installation process copies the automatic start-up file to /etc/rc.config.d/ypldapd and the
manual start-up file to /sbin/init.d/ypldapd.
Client Administration Tools
The Client Administration Tools listed below can be found under /opt/ldapux.
Table 1-2 Client Administration Tools
DescriptionComponent
Allows you to delete entries in the directory.ldapdelete
Allows you to add, delete, modify, or rename directory entries. All
operations are specified using LDIF update statements.
ldapmodify
Changes passwords in the directory. Replaces yppasswd.ldappasswd
Allows you to search the directory. Returns results in LDIF format.ldapsearch
Migrates files to LDIF or to an LDAP directory. Uses perl scripts listed
below.
migrate_all_online.sh
Migrates NIS maps to LDIF or to an LDAP directory. Uses perl scripts
listed below.
migrate_all_nis_online.sh
Migrates /etc/aliases to LDIF.migrate_aliases.pl
Creates base DN information.migrate_base.pl
Routines used by other migration scripts.migrate_common.ph
Migrates /etc/fstab to LDIF.migrate_fstab.pl
Migrates /etc/groups to LDIF.migrate_group.pl
Migrates /etc/hosts to LDIF.migrate_hosts.pl
Migrates /etc/netgroup to LDIF.migrate_netgroup.pl
Migrates netgroup.byhost NIS map to LDIF.migrate_netgroup_byhost.pl
Migrates netgroup.buyser NIS map to LDIF.migrate_netgroup_byuser.pl
Migrates /etc/networks to LDIF.migrate_networks.pl
16 Overview of NIS/LDAP Gateway