ldbedit --version (return code: 0)
Version 4.6.7-Ubuntu
ldbedit --help (return code: 0)
Usage: [OPTION...]
-H, --url=URL database URL
-b, --basedn=DN base DN
-e, --editor=PROGRAM external editor
-s, --scope=SCOPE search scope
-v, --verbose increase verbosity
--trace enable tracing
-i, --interactive input from stdin
-r, --recursive recursive delete
--modules-path=PATH modules path
--num-searches=INT number of test searches
--num-records=INT number of test records
-a, --all (|(objectClass=*)(distinguishedName=*))
--nosync non-synchronous transactions
-S, --sorted sort attributes
-o=OPTION ldb_connect option
--controls=STRING controls
--show-binary display binary LDIF
--paged use a paged search
--show-deleted show deleted objects
--show-recycled show recycled objects
--show-deactivated-link show deactivated links
--reveal reveal ldb internals
--relax pass relax control
--cross-ncs search across NC boundaries
--extended-dn show extended DNs
Help options:
-?, --help Show this help message
--usage Display brief usage message
Common Samba options:
-d, --debuglevel=DEBUGLEVEL Set debug level
--debug-stderr Send debug output to STDERR
-s, --configfile=CONFIGFILE Use alternative configuration
file
--option=name=value Set smb.conf option from command
line
-l, --log-basename=LOGFILEBASE Basename for log/debug files
--leak-report enable talloc leak reporting on
exit
--leak-report-full enable full talloc leak
reporting on exit
Authentication options:
-U, --user=[DOMAIN/]USERNAME[%PASSWORD] Set the network username
-N, --no-pass Don't ask for a password
--password=STRING Password
-A, --authentication-file=FILE Get the credentials from a file
-P, --machine-pass Use stored machine account
password
--simple-bind-dn=STRING DN to use for a simple bind
-k, --kerberos=STRING Use Kerberos, -k [yes|no]
--krb5-ccache=STRING Credentials cache location for
Kerberos
-S, --sign Sign connection to prevent
modification in transit
-e, --encrypt Encrypt connection for privacy
Connection options:
-R, --name-resolve=NAME-RESOLVE-ORDER Use these name resolution
services only
-O, --socket-options=SOCKETOPTIONS socket options to use
-n, --netbiosname=NETBIOSNAME Primary netbios name
-S, --signing=on|off|required Set the client signing state
-W, --workgroup=WORKGROUP Set the workgroup name
--realm=REALM Set the realm name
-i, --scope=SCOPE Use this Netbios scope
-m, --maxprotocol=MAXPROTOCOL Set max protocol level
Version options:
-V, --version Print version