LDBEDIT(1)
π ldbedit β bestie edition π
okay so this is the ldbedit manual page, from the System Administration tools corner of the universe, and I'm gonna hold your hand through the whole thing, no cap. π«Ά
β¨ NAME β¨
ldbedit β edit LDB databases using your preferred editor πΈ
β¨ SYNOPSIS β¨
ldbedit [-?] [--usage] [-s base|one|sub] [-b basedn] [-a] [-e editor]
[-H LDB-URL] [expression] [attributes...]
β¨ DESCRIPTION β¨
so ldbedit is literally a utility that lets you edit LDB entries β whether they're chillin' in database files or vibing on LDAP servers β using your preferred editor. π
here's the whole glow-up pipeline: ldbedit generates an LDIF file based on your query, hands it to you to edit however you want, and then merges that LDIF right back into the LDB backend. it's giving round-trip. it's giving main character energy. π
β¨ OPTIONS β¨
-?,--helpβ shows you the list of available options plus a little phrase describing what each one does. your classic "help me help you" moment π--usageβ shows the list of available options too, but like... no descriptions. it's the short version. similar to the help option, just speedier, iykyk. β‘-H <ldb-url>β the LDB URL to connect to. fortdbandlmdbdatabases it looks liketdb://filenameormdb://filenamerespectively. if you useldb://filename, it'll try to detect the file format automatically (so smart π ). for an LDAP connection over unix domain sockets, the form isldapi://socket. for a (potentially remote) LDAP connection over TCP, it'sldap://hostname, orldaps://hostnameif you want that TLS-protected connection, periodt. π-s one|sub|baseβ the search scope to use. one-level, subtree, or base. pick your fighter π¦-a,-allβ edit all the records. this lets you apply the same change to a whole bunch of records at once. you probably wanna combine this with an expression of the form"objectclass=*". lowkey powerful, highkey dangerous, be careful bestie π-e editor,--editor editorβ pick which editor should be used. this overrides theVISUALandEDITORenvironment variables. if you don't use this option and neitherVISUALnorEDITORis set, then thevieditor gets used. default behavior, iconic. π-b basednβ specify the Base Distinguished Name to use. π-v,--verboseβ makesldbeditmore verbose about the operations being performed. without this option,ldbeditwill only provide a summary change line. so if you want the tea, you gotta ask for it β
β¨ ENVIRONMENT β¨
LDB_URLβ the LDB URL to connect to. heads up: this can be overridden by using the-Hcommand-line option. πVISUALandEDITORβ environment variables used to figure out what editor to use.VISUALtakes precedence overEDITOR, and both of them are overridden by the-ecommand-line option. hierarchy, bestie. it's a whole pecking order π
β¨ VERSION β¨
this man page is correct for version 1.1 of LDB. β
β¨ SEE ALSO β¨
ldb(3), ldbmodify(1), ldbdel(1), ldif(5), vi(1)
β¨ AUTHOR β¨
ldb was written by Andrew Tridgell[1]. π«Ά
if you wish to report a problem or make a suggestion, then please see the http://ldb.samba.org/ web site for current contact and maintainer information. β¨
this manpage was written by Jelmer Vernooij and updated by Brad Hards. πΈ
β¨ NOTES β¨
- Andrew Tridgell
https://www.samba.org/~tridge/
so yeah, that's the whole page β brought to you by LDB 1.1, dated 09/09/2026, and yeah I know, the file header said LDBEDIT(1) up top, but you already knew that bestie. go forth, edit some LDIFs, slay πππ¦β¨
π¦ where this page comes from
- fedora 44: ldb-tools 2:4.24.7-1.fc44 Β· LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms