Command and Tool Reference

LDAP Directory Tools

LDAP_SCOPE

The scope of LDAP search (sub, one, base). Will default

 

to sub if LDAP_BASEDN is defined, but LDAP_SCOPE

 

is not. You must define LDAP_BASEDN, if you define

 

LDAP_SCOPE.

INSERT_BASE

This DN tells ldapentry where to insert new entries.

 

This value will default to LDAP_BASEDN or a default

 

discovered by the 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.

-m Modifies an existing entry in the directory.

-d Deletes 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.

42

Chapter 3