Command and Tool Reference

LDAP Directory Tools

INSERT_BASE

This DN tells ldapentry where to insert new entries.

 

This value will default to LDAP_BASEDN or a default

 

discovered by the configuration profile. INSERT_BASE

 

is only used when adding entries.

EDITOR

The editor to use when an entry is added or modified.

Syntax

ldapentry -<amd> [options] <service value dn>

where

-a Adds a new entry to the directory.

-mModifies an existing entry in the directory.

-dDeletes an existing entry in the directory.

options

-f Delete warning override

-v Display verbose information

-b search/insert base

-s search scope

-h directory host

-p directory port

-D directory login

service

The name of the service that will determine the type of entry to edit. Can be either passwd, group, hosts, rpc, services, or networks.

value

The name of the entry recognized by the directory to be added, modified, or deleted.

dn

The full distinguished name of the entry to add, modify or delete.

Refer to the ldapentry(1) man page for more detailed information.

156

Chapter 5