1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
3 <refentry id="ldbedit.1">
6 <refentrytitle>ldbedit</refentrytitle>
7 <manvolnum>1</manvolnum>
12 <refname>ldbedit</refname>
13 <refpurpose>Edit LDB databases using your favorite editor</refpurpose>
18 <command>ldbedit</command>
19 <arg choice="opt">-h</arg>
20 <arg choice="opt">-s base|one|sub</arg>
21 <arg choice="opt">-b basedn</arg>
22 <arg chioce="opt">-a</arg>
23 <arg choice="opt">-e editor</arg>
24 <arg choice="opt">-H LDB-URL</arg>
25 <arg choice="opt">expression</arg>
26 <arg choice="opt">attributes</arg>
31 <title>DESCRIPTION</title>
33 <para>ldbedit is a utility that allows you to edit LDB files using
34 your favorite editor. ldbedit generates an LDIF file based on
35 your query, allows you to edit it and then merges it back
36 into the LDB database.
43 <title>OPTIONS</title>
49 Show list of available options.</para></listitem>
53 <term>-H <ldb-url></term>
55 LDB URL to connect to. See ldb(7) for details.
60 <term>-s one|sub|base</term>
61 <listitem><para>Search scope to use. One-level, subtree or base.</para></listitem>
66 <listitem><para>Edit all records. </para></listitem>
70 <term>-e editor</term>
71 <listitem><para>Specify the editor that should be used (overrides
72 the VISUAL and EDITOR environment variables).</para></listitem>
76 <term>-b basedn</term>
77 <listitem><para>Specify Base DN to use.</para></listitem>
85 <title>ENVIRONMENT</title>
88 <varlistentry><term>LDB_URL</term>
89 <listitem><para>LDB URL to connect to (can be overrided by using the
90 -H command-line option.)</para></listitem>
92 <varlistentry><term>VISUAL and EDITOR</term>
93 <listitem><para>Environment variables used to determine what
94 editor to use. If VISUAL isn't set, EDITOR is used.
102 <title>VERSION</title>
104 <para>This man page is correct for version 4.0 of the Samba suite.</para>
108 <title>SEE ALSO</title>
110 <para>ldb(7), ldbmodify, ldbdel, ldif(5)</para>
115 <title>AUTHOR</title>
119 <para>ldbedit was written by Andrew Tridgell.</para>
121 <para>This manpage was written by Jelmer Vernooij.</para>