1LDBEDIT(1)                System Administration tools               LDBEDIT(1)
2
3
4

NAME

6       ldbedit - Edit LDB databases using your preferred editor
7

SYNOPSIS

9       ldbedit [-?] [--usage] [-s base|one|sub] [-b basedn] [-a] [-e editor]
10               [-H LDB-URL] [expression] [attributes...]
11

DESCRIPTION

13       ldbedit is a utility that allows you to edit LDB entries (in tdb files,
14       sqlite files or LDAP servers) using your preferred editor. ldbedit
15       generates an LDIF file based on your query, allows you to edit the
16       LDIF, and then merges that LDIF back into the LDB backend.
17

OPTIONS

19       -?, --help
20           Show list of available options, and a phrase describing what that
21           option does.
22
23       --usage
24           Show list of available options. This is similar to the help option,
25           however it does not provide any description, and is hence shorter.
26
27       -H <ldb-url>
28           LDB URL to connect to. For a tdb database, this will be of the form
29           tdb://filename. For a LDAP connection over unix domain sockets,
30           this will be of the form ldapi://socket. For a (potentially remote)
31           LDAP connection over TCP, this will be of the form ldap://hostname.
32           For an SQLite database, this will be of the form sqlite://filename.
33
34       -s one|sub|base
35           Search scope to use. One-level, subtree or base.
36
37       -a, -all
38           Edit all records. This allows you to apply the same change to a
39           number of records at once. You probably want to combine this with
40           an expression of the form "objectclass=*".
41
42       -e editor, --editor editor
43           Specify the editor that should be used (overrides the VISUAL and
44           EDITOR environment variables). If this option is not used, and
45           neither VISUAL nor EDITOR environment variables are set, then the
46           vi editor will be used.
47
48       -b basedn
49           Specify Base Distinguished Name to use.
50
51       -v, --verbose
52           Make ldbedit more verbose about the operations that are being
53           performed. Without this option, ldbedit will only provide a summary
54           change line.
55

ENVIRONMENT

57       LDB_URL
58           LDB URL to connect to. This can be overridden by using the -H
59           command-line option.)
60
61       VISUAL and EDITOR
62           Environment variables used to determine what editor to use. VISUAL
63           takes precedence over EDITOR, and both are overridden by the -e
64           command-line option.
65

VERSION

67       This man page is correct for version 1.1 of LDB.
68

SEE ALSO

70       ldb(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
71

AUTHOR

73       ldb was written by Andrew Tridgell[1].
74
75       If you wish to report a problem or make a suggestion then please see
76       the http://ldb.samba.org/ web site for current contact and maintainer
77       information.
78
79       This manpage was written by Jelmer Vernooij and updated by Brad Hards.
80

NOTES

82        1. Andrew Tridgell
83           https://www.samba.org/~tridge/
84
85
86
87LDB 1.1                           04/28/2020                        LDBEDIT(1)
Impressum