📄 ldbedit.1
字号:
.\" Title: ldbedit.\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\" Date: 06/03/2008.\" Manual: .\" Source: .\".TH "LDBEDIT" "1" "06/03/2008" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"ldbedit - Edit LDB databases using your preferred editor.SH "SYNOPSIS".HP 8\fBldbedit\fR [\-?] [\-\-usage] [\-s\ base|one|sub] [\-b\ basedn] [\-a] [\-e\ editor] [\-H\ LDB\-URL] [expression] [attributes...].SH "DESCRIPTION".PPldbedit 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\..SH "OPTIONS".PP\-?, \-\-help.RS 4Show list of available options, and a phrase describing what that option does\..RE.PP\-\-usage.RS 4Show list of available options\. This is similar to the help option, however it does not provide any description, and is hence shorter\..RE.PP\-H <ldb\-url>.RS 4LDB 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\..RE.PP\-s one|sub|base.RS 4Search scope to use\. One\-level, subtree or base\..RE.PP\-a, \-all.RS 4Edit 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=*"\..RE.PP\-e editor, \-\-editor editor.RS 4Specify 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\..RE.PP\-b basedn.RS 4Specify Base Distinguished Name to use\..RE.PP\-v, \-\-verbose.RS 4Make ldbedit more verbose about the operations that are being performed\. Without this option, ldbedit will only provide a summary change line\..RE.SH "ENVIRONMENT".PPLDB_URL.RS 4LDB URL to connect to\. This can be overridden by using the \-H command\-line option\.).RE.PPVISUAL and EDITOR.RS 4Environment variables used to determine what editor to use\. VISUAL takes precedence over EDITOR, and both are overridden by the \-e command\-line option\..RE.SH "VERSION".PPThis man page is correct for version 4\.0 of the Samba suite\..SH "SEE ALSO".PPldb(7), ldbmodify(1), ldbdel(1), ldif(5), vi(1).SH "AUTHOR".PPldb was written by\fIAndrew Tridgell\fR\&[1]\..PPIf you wish to report a problem or make a suggestion then please see the\fI\%http://ldb.samba.org/\fRweb site for current contact and maintainer information\..PPThis manpage was written by Jelmer Vernooij and updated by Brad Hards\..SH "NOTES".IP " 1." 4Andrew Tridgell.RS 4\%http://samba.org/~tridge/.RE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -