NIS/LDAP Gateway Administrator's Guide
userPassword: {crypt}*
gidNumber: 325
The following command migrates /etc/hosts:
migrate_hosts.pl /etc/hosts
Configuration Parameters
You can change the NIS/LDAP Gateway's run-time configuration parameters in the file
/opt/ldapux/ypldapd/etc/ypldapd.conf. This section describes these parameters in detail.
NOTE: Because the configuration file contains a password, you should protect it by making
the file only accessible by root. Use a command like the following:
chmod 600 ypldapd.conf
Changing Configuration Parameter Values
You can change configuration parameter values by editing the
/opt/ldapux/ypldapd/etc/ypldapd.conf file. Each entry in the file consists of a key word, followed
by white space, followed by the value for that parameter. Any line starting with a pound sign
or hash symbol (#) is treated as a comment and ignored.
NIS Domain to Serve
Specifies the NIS domain that the NIS/LDAP Gateway serves. See domainname(1) for more
information.
Required.
Syntax
ypdomain domain-name
where domain-name is the domain name ypldapd is to serve.
Example
ypdomain dev-team
LDAP Server Name
Specifies the host name of your LDAP server. The host's IP address must be resolvable without
consulting NIS (through NIS or /etc/hosts) or specified in dotted decimal notation, to avoid
reentrancy problems. It is suggested you use a DNS name (and configure /etc/nsswitch.conf to
perform host lookups in DNS before NIS) or an IP address.
Required.
Syntax
ldaphost server-name
where server-name is a host name or IP address.
Example
ldaphost nis-ldap
ldaphost 15.0.96.234
38 Command and Tool Reference