3
.\" Author: [see the "AUTHOR" section]
4
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6
.\" Manual: User Commands
10
.TH "LDBEDIT" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
11
.\" -----------------------------------------------------------------
12
.\" * set default formatting
13
.\" -----------------------------------------------------------------
14
.\" disable hyphenation
16
.\" disable justification (adjust text to left margin only)
18
.\" -----------------------------------------------------------------
19
.\" * MAIN CONTENT STARTS HERE *
20
.\" -----------------------------------------------------------------
22
ldbedit \- Edit LDB databases using your preferred editor
25
ldbedit [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...]
28
ldbedit is a utility that allows you to edit LDB entries (in tdb files, sqlite files or LDAP servers) using your preferred editor\&. ldbedit generates an LDIF file based on your query, allows you to edit the LDIF, and then merges that LDIF back into the LDB backend\&.
33
Show list of available options, and a phrase describing what that option does\&.
38
Show list of available options\&. This is similar to the help option, however it does not provide any description, and is hence shorter\&.
43
LDB URL to connect to\&. For a tdb database, this will be of the form tdb://\fIfilename\fR\&. For a LDAP connection over unix domain sockets, this will be of the form ldapi://\fIsocket\fR\&. For a (potentially remote) LDAP connection over TCP, this will be of the form ldap://\fIhostname\fR\&. For an SQLite database, this will be of the form sqlite://\fIfilename\fR\&.
48
Search scope to use\&. One\-level, subtree or base\&.
53
Edit all records\&. This allows you to apply the same change to a number of records at once\&. You probably want to combine this with an expression of the form "objectclass=*"\&.
56
\-e editor, \-\-editor editor
58
Specify the editor that should be used (overrides the VISUAL and EDITOR environment variables)\&. If this option is not used, and neither VISUAL nor EDITOR environment variables are set, then the vi editor will be used\&.
63
Specify Base Distinguished Name to use\&.
68
Make ldbedit more verbose about the operations that are being performed\&. Without this option, ldbedit will only provide a summary change line\&.
74
LDB URL to connect to\&. This can be overridden by using the \-H command\-line option\&.)
79
Environment variables used to determine what editor to use\&. VISUAL takes precedence over EDITOR, and both are overridden by the \-e command\-line option\&.
83
This man page is correct for version 4\&.0 of the Samba suite\&.
86
ldb(7), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
92
If you wish to report a problem or make a suggestion then please see the
93
: http://ldb.samba.org/
94
web site for current contact and maintainer information\&.
96
This manpage was written by Jelmer Vernooij and updated by Brad Hards\&.