DSCONF(8)
๐ DSCONF(8) โ Generated Python Manual ๐
okay bestie, welcome to the dsconf man page, but make it fashion. this is part 1 of 33, so buckle up. ๐
โจ NAME โจ
dsconf โ the whole entire vibe. that's the name. she's the command-line bestie for your 389 Directory Server instance. periodt.
โจ SYNOPSIS โจ
dsconf [-h] [-v] [-j] [-D BINDDN] [-w BINDPW] [-W] [-y PWDFILE] [-b
BASEDN] [-Z] instance
{backend,backup,chaining,config,directory_manager,logging,monitor,plugin,pwpolicy,localpwp,replication,repl,repl-
agmt,repl-winsync-agmt,repl-tasks,repl-conflict,sasl,security,schema}
...
๐ POSITIONAL ARGUMENTS ๐
dsconf backendโ Manage database suffixes and backends. the whole backend situation, slay.dsconf backupโ Manage online backups. protect the bag. ๐ฐdsconf chainingโ Manage database chaining and database links. linking databases like it's a group chat.dsconf configโ Manage the server configuration. the settings page but make it CLI.dsconf directory_managerโ Manage the Directory Manager account. the VIP account, no cap.dsconf loggingโ Manage the server logs. receipts, but forever.dsconf monitorโ Monitor the state of the instance. vibe check on your server.dsconf pluginโ Manage plug-ins available on the server. add-ons, but UNIX.dsconf pwpolicyโ Manage the global password policy settings. rules for the passwords, periodt.dsconf localpwpโ Manage the local user and subtree password policies. more password rules, but local.dsconf replicationโ Manage replication for a suffix. copy and paste but for databases.dsconf repl-agmtโ Manage replication agreements. the contracts between replicas.dsconf repl-winsync-agmtโ Manage Winsync agreements. syncing with Windows, iconic.dsconf repl-tasksโ Manage replication tasks. chores but for replication.dsconf repl-conflictโ Manage replication conflicts. when replicas argue, you mediate.dsconf saslโ Manage SASL mappings. authentication glow-up.dsconf securityโ Manage security settings. lock it down, bestie.dsconf schemaโ Manage the directory schema. the blueprint of the whole thing.
๐ฆ COMMAND 'dsconf backend' ๐ฆ
usage: dsconf [-v] [-j] instance backend [-h]
{suffix,index,vlv-index,attr-encrypt,config,monitor,import,export,create,delete,get-tree,compact-db}
...
๐ธ POSITIONAL ARGUMENTS 'dsconf backend' ๐ธ
dsconf backend suffixโ Manage backend suffixes. the endings, but for databases.dsconf backend indexโ Manage backend indexes. speed up your searches, lowkey essential.dsconf backend vlv-indexโ Manage VLV searches and indexes. virtual list view, very fancy.dsconf backend attr-encryptโ Manage encrypted attribute settings. secrets stay secret. ๐คซdsconf backend configโ Manage the global database configuration settings. the big settings.dsconf backend monitorโ Displays global database or suffix monitoring information. see how your database is doing, emotionally.dsconf backend importโ Online import of a suffix. bring data in while the server is up.dsconf backend exportโ Online export of a suffix. yeet data out while the server is up.dsconf backend createโ Create a backend database. build-a-bear but for databases.dsconf backend deleteโ Delete a backend database. bye bye, bestie. ๐ญdsconf backend get-treeโ Display the suffix tree. family tree but for suffixes.dsconf backend compact-dbโ Compact the database and the replication changelog. tidy up, clean girl aesthetic.
๐ COMMAND 'dsconf backend suffix' ๐
usage: dsconf [-v] [-j] instance backend suffix [-h]
{list,get,get-dn,get-sub-suffixes,set}
...
๐ POSITIONAL ARGUMENTS 'dsconf backend suffix' ๐
dsconf backend suffix listโ List active backends and suffixes. show me the menu.dsconf backend suffix getโ Display the suffix entry. one suffix, all the tea.dsconf backend suffix get-dnโ Display the DN of a backend. the full distinguished name, okay.dsconf backend suffix get-sub-suffixesโ Display sub-suffixes. the children of suffixes.dsconf backend suffix setโ Set configuration settings for a specific backend. customize your backend, main character energy.
โญ COMMAND 'dsconf backend suffix list' โญ
usage: dsconf [-v] [-j] instance backend suffix list [-h] [--suffix]
[--skip-subsuffixes]
๐ฅ OPTIONS 'dsconf backend suffix list' ๐ฅ
--suffixโ Displays the suffixes without backend name. just the suffix, no last name.--skip-subsuffixesโ Displays the list of suffixes without sub-suffixes. no kids allowed on this list.
๐ COMMAND 'dsconf backend suffix get' ๐
usage: dsconf [-v] [-j] instance backend suffix get [-h] [selector]
selectorโ The backend database name to search for. tell me who you're looking for.
๐ง COMMAND 'dsconf backend suffix get-dn' ๐ง
usage: dsconf [-v] [-j] instance backend suffix get-dn [-h] [dn]
dnโ The DN to the database entry incn=ldbm database,cn=plugins,cn=config. the whole address, periodt.
๐ COMMAND 'dsconf backend suffix get-sub-suffixes' ๐
usage: dsconf [-v] [-j] instance backend suffix get-sub-suffixes
[-h] [--suffix] be_name
be_nameโ The backend name or suffix. which backend are we talking about, bestie?
โจ OPTIONS 'dsconf backend suffix get-sub-suffixes' โจ
--suffixโ Displays the list of suffixes without backend name. again, just the suffix.
๐ COMMAND 'dsconf backend suffix set' ๐
usage: dsconf [-v] [-j] instance backend suffix set [-h]
[--enable-readonly]
[--disable-readonly]
[--enable-orphan]
[--disable-orphan]
[--require-index]
[--ignore-index]
[--add-referral
ADD_REFERRAL]
[--del-referral
DEL_REFERRAL]
[--enable]
[--disable]
[--cache-size
CACHE_SIZE]
[--cache-memsize
CACHE_MEMSIZE]
[--cache-preserved-entries
CACHE_PRESERVED_ENTRIES]
[--dncache-memsize
DNCACHE_MEMSIZE]
[--state STATE]
be_name
be_nameโ The backend name or suffix. which one are we setting up?
๐ OPTIONS 'dsconf backend suffix set' ๐
--enable-readonlyโ Enables read-only mode for the backend database. no writing, just reading. it's giving library.--disable-readonlyโ Disables read-only mode for the backend database. writing is back on the menu.--enable-orphanโ Disconnect a subsuffix from its parent suffix. free the subsuffix, it's an orphan now.--disable-orphanโ Let the subsuffix be connected to its parent suffix. family reunion, we love to see it.--require-indexโ Allows only indexed searches. if it's not indexed, it's not invited.--ignore-indexโ Allows all searches even if they are unindexed. chaos, but make it searchable.--add-referral ADD_REFERRALโ Adds an LDAP referral to the backend. sending people elsewhere, politely.--del-referral DEL_REFERRALโ Removes an LDAP referral from the backend. no more forwarding address.--enableโ Enables the backend database. turn it on, bestie.--disableโ Disables the backend database. turn it off, bye.--cache-size CACHE_SIZEโ Sets the maximum number of entries to keep in the entry cache. how many entries can crash on your couch.--cache-memsize CACHE_MEMSIZEโ Sets the maximum size in bytes that the entry cache can grow to. memory limit, but for cache.--cache-preserved-entries CACHE_PRESERVED_ENTRIESโ Sets the maximum number of entries that are not evicted from the cache when trying to make space. This is typically used to keep very large groups in the cache. VIP entries that never get kicked out.--dncache-memsize DNCACHE_MEMSIZEโ Sets the maximum size in bytes that the DN cache can grow to. same, but for the DN cache.--state STATEโ Changes the backend state to:"backend","disabled","referral", or"referral on update". pick a state, any state.
๐ฆ COMMAND 'dsconf backend index' ๐ฆ
usage: dsconf [-v] [-j] instance backend index [-h]
{add,set,get,list,delete,reindex}
...
๐ธ POSITIONAL ARGUMENTS 'dsconf backend index' ๐ธ
dsconf backend index addโ Add an index. new index, who dis?dsconf backend index setโ Update an index. glow-up for your index.dsconf backend index getโ Display an index entry. show me the index.dsconf backend index listโ Display the index. the whole index list, periodt.dsconf backend index deleteโ Delete an index. cancel that index.dsconf backend index reindexโ Re-index the database for a single index or all indexes. rebuild the index, it's a reset.
๐ COMMAND 'dsconf backend index add' ๐
usage: dsconf [-v] [-j] instance backend index add [-h]
--index-type
INDEX_TYPE
[--matching-rule
MATCHING_RULE]
[--reindex] --attr
ATTR
be_name
be_nameโ The backend name or suffix. which backend gets the new index?
๐ OPTIONS 'dsconf backend index add' ๐
--index-type INDEX_TYPEโ Sets the indexing type (eq,sub,pres, orapprox). choose your fighter.--matching-rule MATCHING_RULEโ Sets the matching rule for the index. the rule of matching, obviously.--reindexโ Re-indexes the database after adding a new index. rebuild after adding, no cap.--attr ATTRโ Sets the attribute name to index. which attribute? tell me.
โญ COMMAND 'dsconf backend index set' โญ
usage: dsconf [-v] [-j] instance backend index set [-h] --attr ATTR
[--add-type ADD_TYPE]
[--del-type DEL_TYPE]
[--add-mr ADD_MR]
[--del-mr DEL_MR]
[--reindex]
be_name
be_nameโ The backend name or suffix. which backend are we editing?
๐ฅ OPTIONS 'dsconf backend index set' ๐ฅ
--attr ATTRโ Sets the indexed attribute to update. which attribute gets the update?--add-type ADD_TYPEโ Adds an index type to the index (eq,sub,pres, orapprox). add a type, slay.--del-type DEL_TYPEโ Removes an index type from the index: (eq,sub,pres, orapprox). remove a type, bye.--add-mr ADD_MRโ Adds a matching-rule to the index. more rules, more power.--del-mr DEL_MRโ Removes a matching-rule from the index. rule removed, periodt.--reindexโ Re-indexes the database after editing the index. rebuild after edit.
๐ง COMMAND 'dsconf backend index get' ๐ง
usage: dsconf [-v] [-j] instance backend index get [-h] --attr ATTR
be_name
be_nameโ The backend name or suffix. which backend?
๐ OPTIONS 'dsconf backend index get' ๐
--attr ATTRโ Sets the index name to display. show me that index.
โจ COMMAND 'dsconf backend index list' โจ
usage: dsconf [-v] [-j] instance backend index list [-h] [--just-names]
be_name
be_nameโ The backend name or suffix. which backend's index list?
๐ OPTIONS 'dsconf backend index list' ๐
--just-namesโ Displays only the names of indexed attributes. no extra details, just names.
๐ COMMAND 'dsconf backend index delete' ๐
usage: dsconf [-v] [-j] instance backend index delete [-h] [--attr ATTR]
be_name
be_nameโ The backend name or suffix. which backend loses an index?
๐ง OPTIONS 'dsconf backend index delete' ๐ง
--attr ATTRโ Sets the name of the attribute to delete from the index. which attribute gets deleted?
๐ฆ COMMAND 'dsconf backend index reindex' ๐ฆ
usage: dsconf [-v] [-j] instance backend index reindex [-h] [--attr
ATTR]
[--wait]
[--watch]
be_name
be_nameโ The backend name or suffix. which backend gets reindexed?--attr_ATTR_ โ names the attribute you wanna re-index. Leave it out and it re-indexes every attribute, no cap. โจ--waitโ waits for the index task to finish and then tells you the status--watchโ peeks at the reindexing task's status while it's running ๐
๐ฆ COMMAND dsconf backend vlv-index ๐ฆ
usage: dsconf [-v] [-j] instance backend vlv-index [-h]
{list,get,add-search,edit-search,del-search,add-index,del-index,reindex}
...
VLV is the "virtual list view" situation โ basically sorted, pre-built views so big result sets don't have to suffer. ๐
๐ธ POSITIONAL ARGUMENTS dsconf backend vlv-index ๐ธ
dsconf backend vlv-index listโ lists your VLV search and index entriesdsconf backend vlv-index getโ displays a VLV search and its indexesdsconf backend vlv-index add-searchโ adds a VLV search entry. Bestie, the search entry is the parent of the VLV index entries, and it's the thing that specifies the search parameters used to match entries for those indexes.dsconf backend vlv-index edit-searchโ updates a VLV search and indexdsconf backend vlv-index del-searchโ deletes a VLV search & indexdsconf backend vlv-index add-indexโ creates a VLV index under a VLV search entry (that's the parent entry,formatter_class=CustomHelpFormatter). The VLV index is what specifies the attributes to sortdsconf backend vlv-index del-indexโ deletes a VLV index under a VLV search entry (the parent entry)dsconf backend vlv-index reindexโ indexes/re-indexes the VLV database index
โญ COMMAND dsconf backend vlv-index list โญ
usage: dsconf [-v] [-j] instance backend vlv-index list [-h]
[--just-names]
be_name
be_nameโ the backend name of the VLV index
๐ OPTIONS dsconf backend vlv-index list ๐
--just-namesโ shows you only the names of the VLV search entries, nothing else
๐ฆ COMMAND dsconf backend vlv-index get ๐ฆ
usage: dsconf [-v] [-j] instance backend vlv-index get [-h] [--name
NAME]
be_name
be_nameโ the backend name of the VLV index
๐ OPTIONS dsconf backend vlv-index get ๐
--name_NAME_ โ displays the VLV search entry and its index entries
๐ COMMAND dsconf backend vlv-index add-search ๐
usage: dsconf instance [-v] [-j] backend vlv-index add-search
[-h] --name NAME --search-base SEARCH_BASE --search-scope
SEARCH_SCOPE
--search-filter SEARCH_FILTER
be_name
be_nameโ the backend name of the VLV index
โจ OPTIONS dsconf backend vlv-index add-search โจ
--name_NAME_ โ sets the name of the VLV search entry--search-base_SEARCH_BASE_ โ sets the VLV search base--search-scope_SEARCH_SCOPE_ โ sets the VLV search scope, and the vibes are strictly:0(base search),1(one-level search), or2(subtree search)--search-filter_SEARCH_FILTER_ โ sets the VLV search filter
๐ COMMAND dsconf backend vlv-index edit-search ๐
usage: dsconf [-v] [-j] instance backend vlv-index edit-search
[-h] --name NAME [--search-base SEARCH_BASE]
[--search-scope SEARCH_SCOPE] [--search-filter SEARCH_FILTER]
[--reindex]
be_name
be_nameโ the backend name of the VLV index to update
๐ซถ OPTIONS dsconf backend vlv-index edit-search ๐ซถ
--name_NAME_ โ sets the name of the VLV index--search-base_SEARCH_BASE_ โ sets the VLV search base--search-scope_SEARCH_SCOPE_ โ sets the VLV search scope:0(base search),1(one-level search), or2(subtree search)--search-filter_SEARCH_FILTER_ โ sets the VLV search filter--reindexโ re-indexes all the VLV database indexes. all of them. no survivors. ๐ฅ
๐ง COMMAND dsconf backend vlv-index del-search ๐ง
usage: dsconf [-v] [-j] instance backend vlv-index del-search
[-h] --name NAME be_name
be_nameโ the backend name of the VLV index
๐ธ OPTIONS dsconf backend vlv-index del-search ๐ธ
--name_NAME_ โ sets the name of the VLV search index
๐ COMMAND dsconf backend vlv-index add-index ๐
usage: dsconf instance [-v] [-j] backend vlv-index add-index
[-h] --parent-name PARENT_NAME --index-name INDEX_NAME --sort
SORT
[--index-it]
be_name
be_nameโ the backend name of the VLV index
๐ OPTIONS dsconf backend vlv-index add-index ๐
--parent-name_PARENT_NAME_ โ sets the name, or the"cn"attribute, of the parent VLV search entry--index-name_INDEX_NAME_ โ sets the name of the brand new VLV index--sort_SORT_ โ sets a space-separated list of attributes to sort for this VLV index--index-itโ actually creates the database index for this VLV index definition
โญ COMMAND dsconf backend vlv-index del-index โญ
usage: dsconf [-v] [-j] instance backend vlv-index del-index
[-h] --parent-name PARENT_NAME [--index-name INDEX_NAME] [--sort
SORT]
be_name
be_nameโ the backend name of the VLV index
๐ฆ OPTIONS dsconf backend vlv-index del-index ๐ฆ
--parent-name_PARENT_NAME_ โ sets the name, or the"cn"attribute value, of the parent VLV search entry--index-name_INDEX_NAME_ โ sets the name of the VLV index to delete--sort_SORT_ โ deletes a VLV index that has thisvlvsortvalue
๐ COMMAND dsconf backend vlv-index reindex ๐
usage: dsconf [-v] [-j] instance backend vlv-index reindex [-h]
[--index-name
INDEX_NAME]
--parent-name
PARENT_NAME
be_name
be_nameโ the backend name of the VLV index
๐ OPTIONS dsconf backend vlv-index reindex ๐
--index-name_INDEX_NAME_ โ sets the name of the VLV index entry to re-index. If you don't set it, every index gets re-indexed--parent-name_PARENT_NAME_ โ sets the name, or the"cn"attribute value, of the parent VLV search entry
๐ COMMAND dsconf backend attr-encrypt ๐
usage: dsconf [-v] [-j] instance backend attr-encrypt [-h] [--list]
[--just-names]
[--add-attr
ADD_ATTR]
[--del-attr
DEL_ATTR]
be_name
be_nameโ the backend name or suffix
๐
OPTIONS dsconf backend attr-encrypt ๐
--listโ lists every encrypted attribute in the backend--just-namesโ when you use it with--list, it lists only the names of the encrypted attributes--add-attr_ADD_ATTR_ โ turns on encryption for the attribute you specify--del-attr_DEL_ATTR_ โ turns off encryption for the attribute you specify
๐ COMMAND dsconf backend config ๐
usage: dsconf [-v] [-j] instance backend config [-h] {get,set} ...
๐ธ POSITIONAL ARGUMENTS dsconf backend config ๐ธ
dsconf backend config getโ displays the global database configurationdsconf backend config setโ sets the global database configuration
๐ COMMAND dsconf backend config get ๐
usage: dsconf [-v] [-j] instance backend config get [-h]
๐ COMMAND dsconf backend config set ๐
usage: dsconf [-v] [-j] instance backend config set [-h]
[--lookthroughlimit
LOOKTHROUGHLIMIT]
[--mode MODE]
[--idlistscanlimit
IDLISTSCANLIMIT]
[--directory
DIRECTORY]
[--dbcachesize
DBCACHESIZE]
[--logdirectory
LOGDIRECTORY]
[--txn-wait
TXN_WAIT]
[--checkpoint-interval
CHECKPOINT_INTERVAL]
[--compactdb-interval
COMPACTDB_INTERVAL]
[--compactdb-time
COMPACTDB_TIME]
[--txn-batch-val
TXN_BATCH_VAL]
[--txn-batch-min
TXN_BATCH_MIN]
[--txn-batch-max
TXN_BATCH_MAX]
[--logbufsize
LOGBUFSIZE]
[--locks LOCKS]
[--locks-monitoring-enabled
LOCKS_MONITORING_ENABLED]
[--locks-monitoring-threshold
LOCKS_MONITORING_THRESHOLD]
[--locks-monitoring-pause
LOCKS_MONITORING_PAUSE]
[--import-cache-autosize
IMPORT_CACHE_AUTOSIZE]
[--cache-autosize
CACHE_AUTOSIZE]
[--cache-autosize-split
CACHE_AUTOSIZE_SPLIT]
[--import-cachesize
IMPORT_CACHESIZE]
[--exclude-from-export
EXCLUDE_FROM_EXPORT]
[--pagedlookthroughlimit
PAGEDLOOKTHROUGHLIMIT]
[--pagedidlistscanlimit
PAGEDIDLISTSCANLIMIT]
[--rangelookthroughlimit
RANGELOOKTHROUGHLIMIT]
[--backend-opt-level
BACKEND_OPT_LEVEL]
[--deadlock-policy
DEADLOCK_POLICY]
[--db-home-directory
DB_HOME_DIRECTORY]
[--db-lib DB_LIB]
[--mdb-max-size
MDB_MAX_SIZE]
[--mdb-max-readers
MDB_MAX_READERS]
[--mdb-max-dbs
MDB_MAX_DBS]
[--enable-dynamic-lists]
[--disable-dynamic-lists]
[--dynamic-oc
DYNAMIC_OC]
[--dynamic-url-attr
DYNAMIC_URL_ATTR]
[--dynamic-list-attr
DYNAMIC_LIST_ATTR]
Alright bestie, we're still in the config set menu and this is where the real database knobs live. Buckle up. ๐
--lookthroughlimit LOOKTHROUGHLIMITโ the max number of entries the server will actually check when it's out here examining candidate entries in response to a search request. It's giving "how hard am I allowed to look for you" energy.--mode MODEโ the permissions that get slapped onto newly created index files.--idlistscanlimit IDLISTSCANLIMITโ how many entry IDs get searched during a search operation.--directory DIRECTORYโ absolute path to the database instance. Absolute, bestie, not vibes-based relative nonsense.--dbcachesize DBCACHESIZEโ the database index cache size, in bytes.--logdirectory LOGDIRECTORYโ the path to the directory holding the database transaction logs.--txn-wait TXN_WAITโ sets whether the server should wait when there are no db locks available.--checkpoint-interval CHECKPOINT_INTERVALโ how much time, in seconds, before the server sends a checkpoint entry to the database transaction log.--compactdb-interval COMPACTDB_INTERVALโ the interval in seconds when the database gets compacted.--compactdb-time COMPACTDB_TIMEโ the actual time of day (HH:MMformat) when the database should be compacted, but only after the "compactdb interval" has been reached.--txn-batch-val TXN_BATCH_VALโ how many transactions will be batched up before being committed.--txn-batch-min TXN_BATCH_MINโ controls when transactions should be flushed earliest, independent of the batch count. Requires thattxn-batch-valis set. Notxn-batch-val, no party.--txn-batch-max TXN_BATCH_MAXโ controls when transactions should be flushed latest, independent of the batch count. Also requires thattxn-batch-valis set.--logbufsize LOGBUFSIZEโ the transaction log information buffer size.--locks LOCKSโ the maximum number of database locks.--locks-monitoring-enabled LOCKS_MONITORING_ENABLEDโ turns monitoring of DB locks on or off, triggered when the value crosses the percentage set with"--locks-monitoring-threshold".--locks-monitoring-threshold LOCKS_MONITORING_THRESHOLDโ the DB lock exhaustion threshold as a percentage (valid range is 70-90 ๐ซฃ). Once that threshold is hit, all searches get aborted until the number of active locks drops below the configured threshold and/or the administrator increases the number of database locks (nsslapd-db-locks). This threshold is literally a safeguard against DB corruption that locks exhaustion could cause. Respect it.--locks-monitoring-pause LOCKS_MONITORING_PAUSEโ the DB lock monitoring value in milliseconds for how long the monitoring thread sits there waiting between checks.--import-cache-autosize IMPORT_CACHE_AUTOSIZEโ enables or disables automatically setting the size of the import cache used during the import process of LDIF files.--cache-autosize CACHE_AUTOSIZEโ the percentage of free memory used in total for the database and entry cache.--cache-autosize-split CACHE_AUTOSIZE_SPLITโ the percentage of RAM used for the database cache. Whatever's left over goes to the entry cache. Splitting the bag, basically.--import-cachesize IMPORT_CACHESIZEโ the size in bytes of the database cache used in the import process.--exclude-from-export EXCLUDE_FROM_EXPORTโ a list of attributes to not include during database export operations. Bye ๐--pagedlookthroughlimit PAGEDLOOKTHROUGHLIMITโ the max number of entries the server will check when examining candidate entries for a search that uses the simple paged results control.--pagedidlistscanlimit PAGEDIDLISTSCANLIMITโ the number of entry IDs that get searched, specifically for a search operation using the simple paged results control.--rangelookthroughlimit RANGELOOKTHROUGHLIMITโ the max number of entries the server will check when examining candidate entries in response to a range search request.--backend-opt-level BACKEND_OPT_LEVELโ sets the backend optimization level for write performance (0,1,2, or4).
โ ๏ธ WARNING: This parameter can trigger experimental code. Fr fr, tread carefully.
--deadlock-policy DEADLOCK_POLICYโ adjusts the backend database deadlock policy. (Advanced setting ๐)--db-home-directory DB_HOME_DIRECTORYโ the directory for the database mmapped files. (Advanced setting ๐)--db-lib DB_LIBโ which db lib is used. Valid values are:bdbormdb.--mdb-max-size MDB_MAX_SIZEโ the lmdb database maximum size (accepts bytes, or with a unit suffix:k,m,g,t).--mdb-max-readers MDB_MAX_READERSโ the lmdb database maximum number of readers. (Advanced setting ๐)--mdb-max-dbs MDB_MAX_DBSโ the lmdb database maximum number of sub databases. (Advanced setting ๐)--enable-dynamic-listsโ enables dynamic lists โจ--disable-dynamic-listsโ disables dynamic lists ๐--dynamic-oc DYNAMIC_OCโ sets the objectclass for dynamic lists.--dynamic-url-attr DYNAMIC_URL_ATTRโ sets the url attribute for dynamic lists.--dynamic-list-attr DYNAMIC_LIST_ATTRโ sets the list attribute for dynamic lists.
๐ฆ COMMAND 'dsconf backend monitor'
usage: dsconf [-v] [-j] instance backend monitor [-h] [--suffix SUFFIX]
๐ธ OPTIONS 'dsconf backend monitor'
--suffix SUFFIXโ displays monitoring information only for the suffix you name. One suffix, no chaos.
๐ COMMAND 'dsconf backend import'
usage: dsconf [-v] [-j] instance backend import [-h] [-c CHUNKS_SIZE] [-E]
[-g GEN_UNIQ_ID] [-O]
[-s INCLUDE_SUFFIXES [INCLUDE_SUFFIXES ...]]
[-x EXCLUDE_SUFFIXES [EXCLUDE_SUFFIXES ...]]
[--timeout TIMEOUT] [-w]
[be_name] [ldifs ...]
๐ POSITIONAL ARGUMENTS 'dsconf backend import'
be_nameโ the backend name or the root suffix.ldifsโ the filename(s) of the input LDIF files. Multiple files get imported in the order you specified them, so order matters bestie.
โจ OPTIONS 'dsconf backend import'
-c CHUNKS_SIZE,--chunks-size CHUNKS_SIZEโ the number of chunks to have during the import operation.-E,--encryptedโ encrypt attributes configured in the database for encryption.-g GEN_UNIQ_ID,--gen-uniq-id GEN_UNIQ_IDโ generate a unique id. Set"none"for no unique ID to be generated, and"deterministic"for the generated unique ID to be name-based. By default, a time-based unique ID is generated. When you use the deterministic generation to get a name-based unique ID, you can also specify the namespace for the server to use.namespaceIdis a string of characters in the format00-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx.-O,--only-coreโ creates only the core database attribute indexes.-s INCLUDE_SUFFIXES [INCLUDE_SUFFIXES ...],--include-suffixes INCLUDE_SUFFIXES [INCLUDE_SUFFIXES ...]โ the suffixes or the subtrees to be included.-x EXCLUDE_SUFFIXES [EXCLUDE_SUFFIXES ...],--exclude-suffixes EXCLUDE_SUFFIXES [EXCLUDE_SUFFIXES ...]โ the suffixes to be excluded.--timeout TIMEOUTโ set a timeout to wait for the export task. Default is0(no timeout).-w,--watchโ watch the status of the import. Live updates, main character energy ๐ฅ
๐ COMMAND 'dsconf backend export'
usage: dsconf [-v] [-j] instance backend export [-h] [-l LDIF] [-C] [-E] [-m]
[-N] [-r] [-u] [-U]
[-s INCLUDE_SUFFIXES [INCLUDE_SUFFIXES ...]]
[-x EXCLUDE_SUFFIXES [EXCLUDE_SUFFIXES ...]]
[--timeout TIMEOUT] [-w]
be_names [be_names ...]
๐ซถ POSITIONAL ARGUMENTS 'dsconf backend export'
be_namesโ the backend names or the root suffixes. Yes, plural, you can pile them on.
๐ OPTIONS 'dsconf backend export'
-l LDIF,--ldif LDIFโ the filename of the output LDIF file. Separate multiple file names with spaces.-C,--use-id2entryโ uses only the main database file.-E,--encryptedโ decrypts encrypted data during export. This option is used only if database encryption is enabled.-m,--min-base64โ sets minimal base-64 encoding.-N,--no-seq-numโ suppresses printing the sequence numbers.-r,--replicationโ exports the data with the information required to initialize a replica.-u,--no-dump-uniq-idโ omits exporting the unique ID.-U,--not-foldedโ disables folding the output.-s INCLUDE_SUFFIXES [INCLUDE_SUFFIXES ...],--include-suffixes INCLUDE_SUFFIXES [INCLUDE_SUFFIXES ...]โ the suffixes or the subtrees to be included.-x EXCLUDE_SUFFIXES [EXCLUDE_SUFFIXES ...],--exclude-suffixes EXCLUDE_SUFFIXES [EXCLUDE_SUFFIXES ...]โ the suffixes to be excluded.--timeout TIMEOUTโ set a timeout to wait for the export task. Default is0(no timeout).-w,--watchโ watch the status of the export ๐
๐ COMMAND 'dsconf backend create'
usage: dsconf [-v] [-j] instance backend create [-h]
[--parent-suffix PARENT_SUFFIX]
--suffix SUFFIX
--be-name BE_NAME
[--create-entries]
[--create-suffix]
๐ OPTIONS 'dsconf backend create'
--parent-suffix PARENT_SUFFIXโ sets the parent suffix, but only if this backend is a sub-suffix.--suffix SUFFIXโ sets the database suffix DN.--be-name BE_NAMEโ sets the database backend name.--create-entriesโ adds sample entries to the database.--create-suffixโ creates the suffix object entry in the database. Only suffixes using the'dc',
๐ COMMAND 'dsconf backend delete'
usage: dsconf [-v] [-j] instance backend delete [-h] [--do-it] be_name
๐ POSITIONAL ARGUMENTS 'dsconf backend delete'
be_nameโ the backend name or suffix.
๐ญ OPTIONS 'dsconf backend delete'
--do-itโ remove backend and its subsuffixes. Yeah it's really happening, no take-backs.
โญ COMMAND 'dsconf backend get-tree'
usage: dsconf [-v] [-j] instance backend get-tree [-h]
๐ COMMAND 'dsconf backend compact-db' ๐
okay so you wanna squash that database into a lil compact lil guy, no cap. Here's the vibe:
usage: dsconf [-v] [-j] instance backend compact-db [-h]
[--only-changelog]
[--timeout TIMEOUT]
โจ OPTIONS 'dsconf backend compact-db' โจ
--only-changelogโ bestie this one compacts only the replication change log. That's it, that's the whole job ๐--timeout TIMEOUTโ sets a timeout to wait for the compaction task. Default is0aka no timeout โ she'll wait forever, devoted gf energy ๐ซถ
๐ COMMAND 'dsconf backup' ๐
the backup mothership. She doesn't do anything herself, she just has two iconic children:
usage: dsconf [-v] [-j] instance backup [-h] {create,restore} ...
๐ POSITIONAL ARGUMENTS 'dsconf backup' ๐
dsconf backup createโ creates a backup of the database ๐ฆโจdsconf backup restoreโ restores a database from a backup ๐ช back from the dead, literally
๐ฅ COMMAND 'dsconf backup create' ๐ฅ
usage: dsconf [-v] [-j] instance backup create [-h] [-t DB_TYPE]
[--timeout TIMEOUT] [--watch]
[archive]
archiveโ sets the directory where to store the backup files. The format for these is instance_name-year_month_date_hour_minutes_seconds. Default:/var/lib/dirsrv/slapd-instance/bak/โ classic, timeless, we stan ๐
โจ OPTIONS 'dsconf backup create' โจ
-t DB_TYPE,--db-type DB_TYPEโ sets the database type. Default:ldbmdatabase ๐--timeout TIMEOUTโ sets the task timeout. Default is120seconds ๐--watchโ watch the status of the backup task like it's your comfort show ๐๐ฟ
๐ฆ COMMAND 'dsconf backup restore' ๐ฆ
usage: dsconf [-v] [-j] instance backup restore [-h] [-t DB_TYPE]
[--timeout TIMEOUT] [--watch]
archive
archiveโ set the directory that contains the backup files (note: this one is required bestie, no skipping it ๐)
โจ OPTIONS 'dsconf backup restore' โจ
-t DB_TYPE,--db-type DB_TYPEโ sets the database type. Default:ldbmdatabase ๐--timeout TIMEOUTโ sets the task timeout. Default is120seconds ๐--watchโ watch the status of the restore task, live, in real time, main character energy ๐
๐ธ COMMAND 'dsconf chaining' ๐ธ
chaining!! this is where one server goes "hey bestie can u handle this for me" and forwards the request along. iconic behaviour, very group-chat of it honestly ๐ฌโจ
usage: dsconf [-v] [-j] instance chaining [-h]
{config-get,config-set,config-get-def,config-set-def,link-create,
link-get,link-set,link-delete,monitor,link-list}
...
๐ POSITIONAL ARGUMENTS 'dsconf chaining' ๐
dsconf chaining config-getโ display the chaining controls and server component lists ๐dsconf chaining config-setโ set the chaining controls and server component lists โ๏ธdsconf chaining config-get-defโ display the default creation parameters for new database links ๐ฑdsconf chaining config-set-defโ set the default creation parameters for new database links ๐งdsconf chaining link-createโ create a database link to a remote server ๐dsconf chaining link-getโ displays chaining database links ๐๏ธdsconf chaining link-setโ edit a database link to a remote server ๐dsconf chaining link-deleteโ delete a database link ๐๏ธ (so long, farewell)dsconf chaining monitorโ display monitor information for a database chaining link ๐dsconf chaining link-listโ list database links ๐
๐ COMMAND 'dsconf chaining config-get' ๐
usage: dsconf [-v] [-j] instance chaining config-get [-h]
[--avail-controls]
[--avail-comps]
โจ OPTIONS 'dsconf chaining config-get' โจ
--avail-controlsโ lists available chaining controls ๐๏ธ--avail-compsโ lists available chaining plugin components ๐งฉ
โญ COMMAND 'dsconf chaining config-set' โญ
usage: dsconf [-v] [-j] instance chaining config-set [-h]
[--add-control ADD_CONTROL]
[--del-control DEL_CONTROL]
[--add-comp ADD_COMP]
[--del-comp DEL_COMP]
โจ OPTIONS 'dsconf chaining config-set' โจ
--add-control ADD_CONTROLโ adds a transmitted control OID โ--del-control DEL_CONTROLโ deletes a transmitted control OID โ--add-comp ADD_COMPโ adds a chaining component ๐งฉโ--del-comp DEL_COMPโ deletes a chaining component ๐งฉโ
๐ COMMAND 'dsconf chaining config-get-def' ๐
usage: dsconf [-v] [-j] instance chaining config-get-def [-h]
that's it. no options. she just tells u the defaults, slay, unproblematic queen ๐
๐ COMMAND 'dsconf chaining config-set-def' ๐
okay so THIS one is the big one. Eighteen options. Eighteen. She said "let me cook" and then cooked a whole five-course meal ๐ฅ๐
usage: dsconf [-v] [-j] instance chaining config-set-def [-h]
[--conn-bind-limit CONN_BIND_LIMIT]
[--conn-op-limit CONN_OP_LIMIT]
[--abandon-check-interval ABANDON_CHECK_INTERVAL]
[--bind-limit BIND_LIMIT]
[--op-limit OP_LIMIT]
[--proxied-auth PROXIED_AUTH]
[--conn-lifetime CONN_LIFETIME]
[--bind-timeout BIND_TIMEOUT]
[--return-ref RETURN_REF]
[--check-aci CHECK_ACI]
[--bind-attempts BIND_ATTEMPTS]
[--size-limit SIZE_LIMIT]
[--time-limit TIME_LIMIT]
[--hop-limit HOP_LIMIT]
[--response-delay RESPONSE_DELAY]
[--test-response-delay TEST_RESPONSE_DELAY]
[--use-starttls USE_STARTTLS]
โจ OPTIONS 'dsconf chaining config-set-def' โจ
--conn-bind-limit CONN_BIND_LIMITโ sets the max number of BIND connections the database link establishes with the remote server ๐ค--conn-op-limit CONN_OP_LIMITโ sets the max number of LDAP connections the database link establishes with the remote server ๐--abandon-check-interval ABANDON_CHECK_INTERVALโ sets the number of seconds that pass before the server checks for abandoned operations โฑ๏ธ (checking on the ops that ghosted u, so real)--bind-limit BIND_LIMITโ sets the max number of concurrent bind operations per TCP connection ๐ฆ--op-limit OP_LIMITโ sets the max number of concurrent operations allowed ๐ง--proxied-auth PROXIED_AUTHโ enables or disables proxied authorization. If it's set to"off", the server executes bind for chained operations as the user set in thensMultiplexorBindDnattribute ๐ญ--conn-lifetime CONN_LIFETIMEโ specifies connection lifetime in seconds."0"keeps the connection open forever โ committed, ride or die ๐--bind-timeout BIND_TIMEOUTโ sets the amount of time in seconds before a bind attempt times out โณ--return-ref RETURN_REFโ enables or disables whether referrals are returned by scoped searches โฉ๏ธ--check-aci CHECK_ACIโ enables or disables whether the server evaluates ACIs on the database link as well as the remote data server ๐--bind-attempts BIND_ATTEMPTSโ sets the number of times the server tries to bind to the remote server ๐ (persistence!!)--size-limit SIZE_LIMITโ sets the max number of entries to return from a search operation ๐--time-limit TIME_LIMITโ sets the max number of seconds allowed for an operation โ--hop-limit HOP_LIMITโ sets the max number of times a database is allowed to chain. That is the number of times a request can be forwarded from one database link to another ๐๐ (hop hop hop, then stop)--response-delay RESPONSE_DELAYโ sets the max amount of time it can take a remote server to respond to an LDAP operation request made by a database link before an error is suspected ๐ฌ--test-response-delay TEST_RESPONSE_DELAYโ sets the duration of the test issued by the database link to check whether the remote server is responding ๐ฉบ ("u up?")--use-starttls USE_STARTTLSโ configured that database links use StartTLS if set to"on"๐โจ
๐ COMMAND 'dsconf chaining link-create' ๐
making a brand new database link to a remote server. It's giving long-distance relationship but make it LDAP ๐
usage: dsconf instance [-v] [-j] chaining link-create [-h]
[--conn-bind-limit CONN_BIND_LIMIT]
[--conn-op-limit CONN_OP_LIMIT]
[--abandon-check-interval ABANDON_CHECK_INTERVAL]
[--bind-limit BIND_LIMIT]
[--op-limit OP_LIMIT]
[--proxied-auth PROXIED_AUTH]
[--conn-lifetime CONN_LIFETIME]
[--bind-timeout BIND_TIMEOUT]
[--return-ref RETURN_REF]
[--check-aci CHECK_ACI]
[--bind-attempts BIND_ATTEMPTS]
[--size-limit SIZE_LIMIT]
[--time-limit TIME_LIMIT]
[--hop-limit HOP_LIMIT]
[--response-delay RESPONSE_DELAY]
[--test-response-delay TEST_RESPONSE_DELAY]
[--use-starttls USE_STARTTLS]
--suffix SUFFIX
--server-url SERVER_URL
--bind-mech BIND_MECH
--bind-dn BIND_DN
[--bind-pw BIND_PW]
[--bind-pw-file BIND_PW_FILE]
[--bind-pw-prompt]
CHAIN_NAME
CHAIN_NAMEโ the name of the database link ๐ท๏ธโจ
โจ OPTIONS โ dsconf chaining link-create โจ
bestie we are SO deep in the chaining rabbit hole rn and honestly? iconic. here's every dial you can turn when you're creating a link ๐
--conn-bind-limit CONN_BIND_LIMITโ caps how many BIND connections the database link is allowed to open up with the remote server. it's giving "know your limits" ๐--conn-op-limit CONN_OP_LIMITโ same energy but for LDAP connections: the max number the database link establishes with the remote server.--abandon-check-interval ABANDON_CHECK_INTERVALโ how many seconds go by before the server peeks around for abandoned operations. like checking the group chat for messages nobody replied to ๐--bind-limit BIND_LIMITโ the max number of concurrent bind operations allowed per TCP connection. concurrency queen ๐--op-limit OP_LIMITโ the max number of concurrent operations allowed, periodt.--proxied-auth PROXIED_AUTHโ turns proxied authorization on or off. if you set it to"off", the server runs the bind for chained operations as the user set in thensMultiplexorBindDnattribute. iykyk โจ--conn-lifetime CONN_LIFETIMEโ connection lifetime in seconds. set it to"0"and the connection stays open forever, no cap, main character energy fr fr.--bind-timeout BIND_TIMEOUTโ how many seconds the server waits before a bind attempt times out. we do not wait around here โฐ--return-ref RETURN_REFโ toggles whether referrals get returned by scoped searches.--check-aci CHECK_ACIโ toggles whether the server evaluates ACIs on the database link and on the remote data server. double the checks, double the slay ๐ฆ--bind-attempts BIND_ATTEMPTSโ how many times the server tries to bind to the remote server. resilience bestie ๐--size-limit SIZE_LIMITโ the max number of entries a search operation hands back.--time-limit TIME_LIMITโ the max number of seconds an operation is allowed to take.--hop-limit HOP_LIMITโ the max number of times a database is allowed to chain. as in, how many times a request can get forwarded from one database link to another. hops on hops on hops ๐--response-delay RESPONSE_DELAYโ the max amount of time a remote server can take to respond to an LDAP operation request made by a database link before the server starts suspecting an error. ghosting is not tolerated ๐--test-response-delay TEST_RESPONSE_DELAYโ how long the test the database link sends out lasts, the one checking whether the remote server is even responding. are you there?? ๐--use-starttls USE_STARTTLSโ configures the database links to use StartTLS when set to"on".--suffix SUFFIXโ sets the suffix the database link manages.--server-url SERVER_URLโ the LDAP/LDAPS URL pointing at the remote server.--bind-mech BIND_MECHโ which authentication method to use against the remote server. valid values:"SIMPLE"(default),"EXTERNAL","DIGEST-MD5", or"GSSAPI". pick your fighter ๐ฅ--bind-dn BIND_DNโ the DN of the administrative entry used to talk to the remote server.--bind-pw BIND_PWโ the password of that administrative user. keep it secret, keep it safe ๐ซถ--bind-pw-file BIND_PW_FILEโ file containing the password.--bind-pw-promptโ prompt for the password instead.
COMMAND โ dsconf chaining link-get ๐ธ
usage: dsconf [-v] [-j] instance chaining link-get [-h] CHAIN_NAME
CHAIN_NAME the chaining link name or suffix you want to retrieve. yes, either one works, we love options ๐
COMMAND โ dsconf chaining link-set ๐
this one is a long synopsis bestie, brace yourself, every flag from link-create shows up again because it's the setter:
usage: dsconf instance [-v] [-j] chaining link-set [-h]
[--conn-bind-limit
CONN_BIND_LIMIT]
[--conn-op-limit
CONN_OP_LIMIT]
[--abandon-check-interval
ABANDON_CHECK_INTERVAL]
[--bind-limit
BIND_LIMIT]
[--op-limit OP_LIMIT]
[--proxied-auth
PROXIED_AUTH]
[--conn-lifetime
CONN_LIFETIME]
[--bind-timeout
BIND_TIMEOUT]
[--return-ref
RETURN_REF]
[--check-aci
CHECK_ACI]
[--bind-attempts
BIND_ATTEMPTS]
[--size-limit
SIZE_LIMIT]
[--time-limit
TIME_LIMIT]
[--hop-limit
HOP_LIMIT]
[--response-delay
RESPONSE_DELAY]
[--test-response-delay
TEST_RESPONSE_DELAY]
[--use-starttls
USE_STARTTLS]
[--suffix SUFFIX]
[--server-url
SERVER_URL]
[--bind-mech
BIND_MECH]
[--bind-dn BIND_DN]
[--bind-pw BIND_PW]
[--bind-pw-file
BIND_PW_FILE]
[--bind-pw-prompt]
CHAIN_NAME
CHAIN_NAME the name of the database link. that's it, that's the whole thing ๐
โจ OPTIONS โ dsconf chaining link-set โจ
same squad as link-create, but now we're editing an existing link. glow-up time ๐
--conn-bind-limit CONN_BIND_LIMITโ the max number of BIND connections the database link establishes with the remote server.--conn-op-limit CONN_OP_LIMITโ the max number of LDAP connections the database link establishes with the remote server.--abandon-check-interval ABANDON_CHECK_INTERVALโ how many seconds pass before the server checks for abandoned operations.--bind-limit BIND_LIMITโ the max number of concurrent bind operations per TCP connection.--op-limit OP_LIMITโ the max number of concurrent operations allowed.--proxied-auth PROXIED_AUTHโ enables or disables proxied authorization. if it's set to"off", the server executes bind for chained operations as the user set in thensMultiplexorBindDnattribute.--conn-lifetime CONN_LIFETIMEโ connection lifetime in seconds."0"keeps the connection open forever.--bind-timeout BIND_TIMEOUTโ the amount of time in seconds before a bind attempt times out.--return-ref RETURN_REFโ enables or disables whether referrals are returned by scoped searches.--check-aci CHECK_ACIโ enables or disables whether the server evaluates ACIs on the database link as well as the remote data server.--bind-attempts BIND_ATTEMPTSโ the number of times the server tries to bind to the remote server.--size-limit SIZE_LIMITโ the max number of entries to return from a search operation.--time-limit TIME_LIMITโ the max number of seconds allowed for an operation.--hop-limit HOP_LIMITโ the max number of times a database is allowed to chain. that is, the number of times a request can be forwarded from one database link to another.--response-delay RESPONSE_DELAYโ the max amount of time it can take a remote server to respond to an LDAP operation request made by a database link before an error is suspected.--test-response-delay TEST_RESPONSE_DELAYโ the duration of the test issued by the database link to check whether the remote server is responding.--use-starttls USE_STARTTLSโ configured that database links use StartTLS if set to"on".--suffix SUFFIXโ sets the suffix managed by the database link.--server-url SERVER_URLโ sets the LDAP/LDAPS URL to the remote server.--bind-mech BIND_MECHโ sets the authentication method to use to authenticate to the remote server: valid values:"SIMPLE"(default),"EXTERNAL","DIGEST-MD5", or"GSSAPI".--bind-dn BIND_DNโ sets the DN of the administrative entry used to communicate with the remote server.--bind-pw BIND_PWโ sets the password of the administrative user.--bind-pw-file BIND_PW_FILEโ file containing the password.--bind-pw-promptโ prompt for password.
COMMAND โ dsconf chaining link-delete ๐๏ธ
usage: dsconf [-v] [-j] instance chaining link-delete [-h] CHAIN_NAME
CHAIN_NAME the name of the database link. bye bestie ๐
COMMAND โ dsconf chaining monitor ๐
usage: dsconf [-v] [-j] instance chaining monitor [-h] CHAIN_NAME
CHAIN_NAME the name of the database link. we're just watching it live its life ๐ฆ
COMMAND โ dsconf chaining link-list ๐
usage: dsconf [-v] [-j] instance chaining link-list [-h]
no args, no drama, just the list. we love a low-effort icon ๐
COMMAND โ dsconf config โ๏ธ
usage: dsconf [-v] [-j] instance config [-h] {get,add,replace,delete}
...
POSITIONAL ARGUMENTS โ dsconf config ๐
dsconf config getโ getdsconf config addโ Add attribute value to configurationdsconf config replaceโ Replace attribute value in configurationdsconf config deleteโ Delete attribute value in configuration
COMMAND โ dsconf config get ๐
usage: dsconf [-v] [-j] instance config get [-h] [attrs ...]
attrs Configuration attribute(s) to get. plural friendly, bring as many as you want โจ
COMMAND โ dsconf config add โ
usage: dsconf [-v] [-j] instance config add [-h] [attr ...]
attr Configuration attribute to add.
COMMAND โ dsconf config replace ๐
usage: dsconf [-v] [-j] instance config replace [-h] [attr ...]
attr Configuration attribute to replace.
COMMAND โ dsconf config delete ๐ฎ
usage: dsconf [-v] [-j] instance config delete [-h] [attr ...]
attr Configuration attribute to delete.
COMMAND โ dsconf directory_manager ๐
usage: dsconf [-v] [-j] instance directory_manager [-h]
{password_change} ...
POSITIONAL ARGUMENTS โ dsconf directory_manager ๐
dsconf directory_manager password_changeโ Changes the password of the Directory Manager account
COMMAND โ dsconf directory_manager password_change ๐
usage: dsconf [-v] [-j] instance directory_manager password_change [-h]
that's the whole synopsis, no extra args. short and powerful, like all the best people ๐
COMMAND โ dsconf logging ๐
usage: dsconf [-v] [-j] instance logging [-h]
{access,audit,auditfail,error,security}
...
๐ POSITIONAL ARGUMENTS 'dsconf logging'
Bestie, dsconf logging is the โจumbrellaโจ and under it you've got five whole flavor options. Pick your fighter:
dsconf logging accessโ Manage access log settings ๐ฅdsconf logging auditโ Manage audit log settings ๐dsconf logging auditfailโ Manage auditfail log settings ๐dsconf logging errorโ Manage error log settings ๐จdsconf logging securityโ Manage security log settings ๐
๐ธ COMMAND 'dsconf logging access'
Okay so this is the access log. Every time somebody touches your directory, this is the log that's like "noted ๐ธ". Here's the shape of it:
usage: dsconf [-v] [-j] instance logging access [-h] {get,set,list-levels} ...
So you get three moves: get, set, list-levels.
๐ POSITIONAL ARGUMENTS 'dsconf logging access'
Pick one, bestie:
dsconf logging access getโ Get access log configuration ๐dsconf logging access setโ Set access log configuration โ๏ธdsconf logging access list-levelsโ List all the log levels ๐
๐ COMMAND 'dsconf logging access get'
Reading the config, no notes, just vibes:
usage: dsconf [-v] [-j] instance logging access get [-h]
๐ฆ COMMAND 'dsconf logging access set'
This is the main character right here. Look at ALL these options โ she's giving menu, she's giving buffet, she's giving infinite scroll:
usage: dsconf [-v] [-j] instance logging access set [-h]
{level,logging-enabled,logging-disabled,mode,location,compress-enabled,compress-disabled,buffering-enabled,buffering-disabled,max-logs,max-logsize,rotation-interval,rotation-interval-unit,rotation-tod-enabled,rotation-tod-disabled,rotation-tod-hour,rotation-tod-minute,deletion-interval,deletion-interval-unit,max-disk-space,free-disk-space,log-format,time-format}
...
๐ POSITIONAL ARGUMENTS 'dsconf logging access set'
Take your pick, queen:
dsconf logging access set levelโ Set the log level ๐๏ธdsconf logging access set logging-enabledโ Enable access logging โdsconf logging access set logging-disabledโ Disable access logging ๐ซdsconf logging access set modeโ Set the log file permissions. Default is600๐dsconf logging access set locationโ Set the log name and location ๐dsconf logging access set compress-enabledโ Enable log compression for rotated logs ๐๏ธdsconf logging access set compress-disabledโ Disable log compression for rotated logs ๐dsconf logging access set buffering-enabledโ Enable log buffering ๐งบdsconf logging access set buffering-disabledโ Disable log buffering ๐ชฃdsconf logging access set max-logsโ Set the maximum number of rotated logs the server will maintain ๐ขdsconf logging access set max-logsizeโ Set the maximum size for a log in MB ๐dsconf logging access set rotation-intervalโ Set the interval for when a log is rotated. This works with the interval unit โฐdsconf logging access set rotation-interval-unitโ Set the time unit for the rotation interval for when a log is rotated. Choose between:"minute","hour","day","week", and"month"๐ฐ๏ธdsconf logging access set rotation-tod-enabledโ Enable"time of day"rotation for expired logs ๐dsconf logging access set rotation-tod-disabledโ Disable"time of day"rotation for expired logs ๐dsconf logging access set rotation-tod-hourโ Set the hour when an expired log should be rotated ๐dsconf logging access set rotation-tod-minuteโ Set the minute when an expired log should be rotated ๐dsconf logging access set deletion-intervalโ Set the interval a rotated log should be deleted. This works with the deletion internal unit setting ๐๏ธdsconf logging access set deletion-interval-unitโ Set the interval unit a rotated log should be deleted. Choose from:"day","week", or"month"๐dsconf logging access set max-disk-spaceโ Set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted. ๐พdsconf logging access set free-disk-spaceโ The server deletes the oldest rotated log file when the available disk space in MB is less than this amount. ๐dsconf logging access set log-formatโ Choose between"default","json", or"json-pretty"๐จdsconf logging access set time-formatโ Time format for JSON logging (strftime) โ
โญ COMMAND 'dsconf logging access set level'
usage: dsconf [-v] [-j] instance logging access set level [-h] levels [levels ...]
- levels โ log level ๐๏ธ
๐ COMMAND 'dsconf logging access set logging-enabled'
usage: dsconf [-v] [-j] instance logging access set logging-enabled [-h]
๐ COMMAND 'dsconf logging access set logging-disabled'
usage: dsconf [-v] [-j] instance logging access set logging-disabled [-h]
๐ง COMMAND 'dsconf logging access set mode'
usage: dsconf [-v] [-j] instance logging access set mode [-h] values
- values โ File permissions. Default is
600๐
๐ธ COMMAND 'dsconf logging access set location'
usage: dsconf [-v] [-j] instance logging access set location [-h] values
- values โ Log name and location ๐
๐ COMMAND 'dsconf logging access set compress-enabled'
usage: dsconf [-v] [-j] instance logging access set compress-enabled [-h]
โจ COMMAND 'dsconf logging access set compress-disabled'
usage: dsconf [-v] [-j] instance logging access set compress-disabled [-h]
๐ฆ COMMAND 'dsconf logging access set buffering-enabled'
usage: dsconf [-v] [-j] instance logging access set buffering-enabled [-h]
๐ซถ COMMAND 'dsconf logging access set buffering-disabled'
usage: dsconf [-v] [-j] instance logging access set buffering-disabled [-h]
๐ข COMMAND 'dsconf logging access set max-logs'
usage: dsconf [-v] [-j] instance logging access set max-logs [-h] values
- values โ Set the maximum number of rotated logs the server will maintain ๐ข
๐ COMMAND 'dsconf logging access set max-logsize'
usage: dsconf [-v] [-j] instance logging access set max-logsize [-h] values
- values โ Set the maximum size for a log in MB ๐
โฐ COMMAND 'dsconf logging access set rotation-interval'
usage: dsconf [-v] [-j] instance logging access set rotation-interval [-h] values
- values โ Set the interval for when a log is rotated. This works with the interval unit โฐ
๐ฐ๏ธ COMMAND 'dsconf logging access set rotation-interval-unit'
usage: dsconf [-v] [-j] instance logging access set rotation-interval-unit [-h] values
- values โ Set the time unit for the rotation interval for when a log is rotated. Choose between:
"minute","hour","day","week", and"month"๐ฐ๏ธ
๐ COMMAND 'dsconf logging access set rotation-tod-enabled'
usage: dsconf [-v] [-j] instance logging access set rotation-tod-enabled [-h]
๐ COMMAND 'dsconf logging access set rotation-tod-disabled'
usage: dsconf [-v] [-j] instance logging access set rotation-tod-disabled [-h]
๐ COMMAND 'dsconf logging access set rotation-tod-hour'
usage: dsconf [-v] [-j] instance logging access set rotation-tod-hour [-h] values
- values โ Set the hour when an expired log should be rotated ๐
๐ COMMAND 'dsconf logging access set rotation-tod-minute'
usage: dsconf [-v] [-j] instance logging access set rotation-tod-minute [-h] values
- values โ Set the minute when an expired log should be rotated ๐
๐๏ธ COMMAND 'dsconf logging access set deletion-interval'
usage: dsconf [-v] [-j] instance logging access set deletion-interval [-h] values
- values โ Set the interval a rotated log should be deleted. This works with the deletion internal unit setting ๐๏ธ
๐ COMMAND 'dsconf logging access set deletion-interval-unit'
usage: dsconf [-v] [-j] instance logging access set deletion-interval-unit [-h] values
- values โ Set the interval unit a rotated log should be deleted. Choose from:
"day","week", or"month"๐
๐พ COMMAND 'dsconf logging access set max-disk-space'
usage: dsconf [-v] [-j] instance logging access set max-disk-space [-h] values
- values โ Set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted. ๐พ
๐ COMMAND 'dsconf logging access set free-disk-space'
usage: dsconf [-v] [-j] instance logging access set free-disk-space [-h] values
- values โ Set the minimum available disk space in MB that triggers the server to delete rotated log files. ๐
๐จ COMMAND 'dsconf logging access set log-format'
usage: dsconf [-v] [-j] instance logging access set log-format [-h] values
- values โ Choose between
"default","json", or"json-pretty"๐จ
โ COMMAND 'dsconf logging access set time-format'
usage: dsconf [-v] [-j] instance logging access set time-format [-h] values
- values โ Time format for JSON logging (
strftime) โ
๐ COMMAND 'dsconf logging access list-levels'
All the levels, laid out like a little mood board:
usage: dsconf [-v] [-j] instance logging access list-levels [-h]
๐ COMMAND 'dsconf logging audit'
The audit log โ she's the one who writes EVERYTHING down and remembers it forever, iconic behavior honestly. Only two moves here:
usage: dsconf [-v] [-j] instance logging audit [-h] {get,set} ...
๐ POSITIONAL ARGUMENTS 'dsconf logging audit'
dsconf logging audit getโ Get audit log configuration ๐dsconf logging audit setโ Set audit log configuration โ๏ธ
๐ COMMAND 'dsconf logging audit get'
usage: dsconf [-v] [-j] instance logging audit get [-h]
๐๏ธ COMMAND 'dsconf logging audit set'
Look at this lineup, bestie โ she brought nearly the whole access-log menu AND display-attrs as a little treat:
usage: dsconf [-v] [-j] instance logging audit set [-h]
{logging-enabled,logging-disabled,mode,location,compress-enabled,compress-disabled,buffering-enabled,buffering-disabled,max-logs,max-logsize,rotation-interval,rotation-interval-unit,rotation-tod-enabled,rotation-tod-disabled,rotation-tod-hour,rotation-tod-minute,deletion-interval,deletion-interval-unit,max-disk-space,free-disk-space,log-format,time-format,display-attrs}
...
โฆand that's exactly where we're picking up next, so don't go anywhere ๐
POSITIONAL ARGUMENTS 'dsconf logging audit set' ๐
okay so all the little levers you can pull on the audit log config live here, bestie. every single one:
dsconf logging audit set logging-enabledโ turn access logging ON โจdsconf logging audit set logging-disabledโ turn audit logging OFF ๐dsconf logging audit set modeโ sets the log file permissions. default is600๐dsconf logging audit set locationโ sets the log name and where it lives ๐dsconf logging audit set compress-enabledโ turn on log compression for rotated logs ๐๏ธdsconf logging audit set compress-disabledโ turn off log compression for rotated logsdsconf logging audit set buffering-enabledโ turn log buffering ON ๐ซงdsconf logging audit set buffering-disabledโ turn log buffering OFFdsconf logging audit set max-logsโ the max number of rotated logs the server will keep arounddsconf logging audit set max-logsizeโ the max size for a log, in MBdsconf logging audit set rotation-intervalโ how often a log gets rotated. this works with the interval unit ๐dsconf logging audit set rotation-interval-unitโ the time unit for that rotation interval, for when a log gets rotated. pick from:"minute","hour","day","week", and"month"โฐdsconf logging audit set rotation-tod-enabledโ enable "time of day" rotation for expired logs ๐dsconf logging audit set rotation-tod-disabledโ disable "time of day" rotation for expired logsdsconf logging audit set rotation-tod-hourโ sets the hour when an expired log should get rotated ๐dsconf logging audit set rotation-tod-minuteโ sets the minute when an expired log should get rotateddsconf logging audit set deletion-intervalโ the interval at which a rotated log should be deleted. this works with the deletion internal unit setting ๐๏ธdsconf logging audit set deletion-interval-unitโ the interval unit at which a rotated log should be deleted. choose from:"day","week", or"month"dsconf logging audit set max-disk-spaceโ the max amount of disk space in MB rotated logs can eat before rotated logs get deleted ๐พdsconf logging audit set free-disk-spaceโ the server deletes the oldest rotated log file when the available disk space in MB drops below this amountdsconf logging audit set log-formatโ choose between"default","json", or"json-pretty"๐dsconf logging audit set time-formatโ time format for JSON logging (strftime)dsconf logging audit set display-attrsโ sets additional identifying attrs to display ๐
COMMAND 'dsconf logging audit set logging-enabled' โจ
usage:
dsconf [-v] [-j] instance logging audit set logging-enabled [-h]
no values needed, she's just a vibe flip. ๐
COMMAND 'dsconf logging audit set logging-disabled' ๐ค
usage:
dsconf [-v] [-j] instance logging audit set logging-disabled [-h]
COMMAND 'dsconf logging audit set mode' ๐
usage:
dsconf [-v] [-j] instance logging audit set mode [-h] values
- values โ file permissions. default is
600
COMMAND 'dsconf logging audit set location' ๐
usage:
dsconf [-v] [-j] instance logging audit set location [-h] values
- values โ log name and location
COMMAND 'dsconf logging audit set compress-enabled' ๐๏ธ
usage:
dsconf [-v] [-j] instance logging audit set compress-enabled [-h]
COMMAND 'dsconf logging audit set compress-disabled' ๐ซ
usage:
dsconf [-v] [-j] instance logging audit set compress-disabled [-h]
COMMAND 'dsconf logging audit set buffering-enabled' ๐ซง
usage:
dsconf [-v] [-j] instance logging audit set buffering-enabled [-h]
COMMAND 'dsconf logging audit set buffering-disabled' ๐
usage:
dsconf [-v] [-j] instance logging audit set buffering-disabled [-h]
COMMAND 'dsconf logging audit set max-logs' ๐๏ธ
usage:
dsconf [-v] [-j] instance logging audit set max-logs [-h] values
- values โ set the maximum number of rotated logs the server will maintain
COMMAND 'dsconf logging audit set max-logsize' ๐
usage:
dsconf [-v] [-j] instance logging audit set max-logsize [-h] values
- values โ set the maximum size for a log in MB
COMMAND 'dsconf logging audit set rotation-interval' ๐
usage:
dsconf [-v] [-j] instance logging audit set rotation-interval [-h] values
- values โ set the interval for when a log is rotated.This works with the interval unit
COMMAND 'dsconf logging audit set rotation-interval-unit' โฐ
usage:
dsconf [-v] [-j] instance logging audit set rotation-interval-unit [-h] values
- values โ set the time unit for the rotation interval for whena log is rotated. choose between:
"minute","hour","day","week", and"month"
COMMAND 'dsconf logging audit set rotation-tod-enabled' ๐
usage:
dsconf [-v] [-j] instance logging audit set rotation-tod-enabled [-h]
COMMAND 'dsconf logging audit set rotation-tod-disabled' ๐
usage:
dsconf [-v] [-j] instance logging audit set rotation-tod-disabled [-h]
COMMAND 'dsconf logging audit set rotation-tod-hour' ๐
usage:
dsconf [-v] [-j] instance logging audit set rotation-tod-hour [-h] values
- values โ set the hour when an expired log should be rotated
COMMAND 'dsconf logging audit set rotation-tod-minute' โ
usage:
dsconf [-v] [-j] instance logging audit set rotation-tod-minute [-h] values
- values โ set the minute when an expired log should be rotated
COMMAND 'dsconf logging audit set deletion-interval' ๐๏ธ
usage:
dsconf [-v] [-j] instance logging audit set deletion-interval [-h] values
- values โ set the interval a rotated log should be deleted. this works with the deletion internal unit setting
COMMAND 'dsconf logging audit set deletion-interval-unit' ๐
usage:
dsconf [-v] [-j] instance logging audit set deletion-interval-unit [-h] values
- values โ set the interval unit a rotated log should be deleted. choose from:
"day","week", or"month"
COMMAND 'dsconf logging audit set max-disk-space' ๐พ
usage:
dsconf [-v] [-j] instance logging audit set max-disk-space [-h] values
- values โ set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted.
COMMAND 'dsconf logging audit set free-disk-space' ๐งน
usage:
dsconf [-v] [-j] instance logging audit set free-disk-space [-h] values
- values โ set the minimum available disk space in MB that triggers the server to delete rotated log files.
COMMAND 'dsconf logging audit set log-format' ๐
usage:
dsconf [-v] [-j] instance logging audit set log-format [-h] values
- values โ choose between
"default","json", or"json-pretty"
COMMAND 'dsconf logging audit set time-format' ๐ฐ๏ธ
usage:
dsconf [-v] [-j] instance logging audit set time-format [-h] values
- values โ time format for JSON logging (
strftime)
COMMAND 'dsconf logging audit set display-attrs' ๐
usage:
dsconf [-v] [-j] instance logging audit set display-attrs [-h] values [values ...]
- values โ sets additional identifying attrs to display
COMMAND 'dsconf logging auditfail' ๐จ
usage:
dsconf [-v] [-j] instance logging auditfail [-h] {get,set} ...
this is the auditfail log, aka the place where failed-audit receipts go. she has two moves: get and set. ๐
POSITIONAL ARGUMENTS 'dsconf logging auditfail' ๐ซถ
dsconf logging auditfail getโ get auditfail log configurationdsconf logging auditfail setโ set auditfail log configuration
COMMAND 'dsconf logging auditfail get' ๐
usage:
dsconf [-v] [-j] instance logging auditfail get [-h]
COMMAND 'dsconf logging auditfail set' โ๏ธ
usage:
dsconf [-v] [-j] instance logging auditfail set [-h]
{logging-enabled,logging-disabled,mode,location,compress-enabled,compress-disabled,max-logs,max-logsize,rotation-interval,rotation-interval-unit,rotation-tod-enabled,rotation-tod-disabled,rotation-tod-hour,rotation-tod-minute,deletion-interval,deletion-interval-unit,max-disk-space,free-disk-space}
...
look at that giant menu, bestie. pick your fighter from the brace list. ๐
POSITIONAL ARGUMENTS 'dsconf logging auditfail set' ๐
dsconf logging auditfail set logging-enabledโ enable access logging โจdsconf logging auditfail set logging-disabledโ disable auditfail logging ๐dsconf logging auditfail set modeโ sets the log file permissions. default is600๐dsconf logging auditfail set locationโ sets the log name and location ๐dsconf logging auditfail set compress-enabledโ turn on log compression for rotated logs ๐๏ธdsconf logging auditfail set compress-disabledโ turn off log compression for rotated logsdsconf logging auditfail set max-logsโ the max number of rotated logs the server will keep arounddsconf logging auditfail set max-logsizeโ the max size for a log, in MBdsconf logging auditfail set rotation-intervalโ how often a log gets rotated. this works with the interval unit ๐dsconf logging auditfail set rotation-interval-unitโ the time unit for the rotation interval, for when a log gets rotated. pick from:"minute","hour","day","week", and"month"โฐdsconf logging auditfail set rotation-tod-enabledโ enable "time of day" rotation for expired logs ๐dsconf logging auditfail set rotation-tod-disabledโ disable "time of day" rotation for expired logsdsconf logging auditfail set rotation-tod-hourโ sets the hour when an expired log should get rotated ๐dsconf logging auditfail set rotation-tod-minuteโ sets the minute when an expired log should get rotateddsconf logging auditfail set deletion-intervalโ the interval at which a rotated log should be deleted. this works with the deletion internal unit setting ๐๏ธdsconf logging auditfail set deletion-interval-unitโ the interval unit at which a rotated log should be deleted. choose from:"day","week", or"month"dsconf logging auditfail set max-disk-spaceโ the max amount of disk space in MB rotated logs can consume before rotated logs get deleted ๐พdsconf logging auditfail set free-disk-spaceโ the server deletes the oldest rotated log file when the available disk space in MB drops below this amount
COMMAND 'dsconf logging auditfail set logging-enabled' ๐
usage:
dsconf [-v] [-j] instance logging auditfail set logging-enabled [-h]
COMMAND 'dsconf logging auditfail set logging-disabled' ๐ด
usage:
dsconf [-v] [-j] instance logging auditfail set logging-disabled [-h]
COMMAND 'dsconf logging auditfail set mode' ๐
usage:
dsconf [-v] [-j] instance logging auditfail set mode [-h] values
- values โ file permissions. default is
600
COMMAND 'dsconf logging auditfail set location' ๐
usage:
dsconf [-v] [-j] instance logging auditfail set location [-h] values
- values โ log name and location
COMMAND 'dsconf logging auditfail set compress-enabled' ๐ง
usage:
dsconf [-v] [-j] instance logging auditfail set compress-enabled [-h]
COMMAND 'dsconf logging auditfail set compress-disabled' ๐
usage:
dsconf [-v] [-j] instance logging auditfail set compress-disabled [-h]
๐ COMMAND 'dsconf logging auditfail set max-logs'
okay so the usage is literally:
dsconf [-v] [-j] instance logging auditfail set max-logs [-h] values
- values โ set the max number of rotated logs your server is gonna keep around. girl, after that many, they're gone bestie ๐
๐ COMMAND 'dsconf logging auditfail set max-logsize'
dsconf [-v] [-j] instance logging auditfail set max-logsize [-h] values
- values โ the biggest a log can get, in MB, before it's giving rotated ๐
๐ COMMAND 'dsconf logging auditfail set rotation-interval'
dsconf [-v] [-j] instance logging auditfail set rotation-interval
[-h] values
- values โ sets the interval for when a log gets rotated. lowkey important: this works together with the interval unit, so don't set one and ghost the other ๐ซถ
๐ COMMAND 'dsconf logging auditfail set rotation-interval-unit'
dsconf [-v] [-j] instance logging auditfail set
rotation-interval-unit
[-h] values
- values โ the time unit for that rotation interval, aka when a log gets rotated. you pick from exactly:
"minute","hour","day","week", and"month"โจ
๐ COMMAND 'dsconf logging auditfail set rotation-tod-enabled'
dsconf [-v] [-j] instance logging auditfail set
rotation-tod-enabled
[-h]
no args, no values, no drama โ it just turns it on, periodt ๐
๐ COMMAND 'dsconf logging auditfail set rotation-tod-disabled'
dsconf [-v] [-j] instance logging auditfail set
rotation-tod-disabled
[-h]
and this one turns it off. that's the whole post ๐ฆ
๐ COMMAND 'dsconf logging auditfail set rotation-tod-hour'
dsconf [-v] [-j] instance logging auditfail set rotation-tod-hour
[-h] values
- values โ the hour when an expired log should get rotated ๐
๐ COMMAND 'dsconf logging auditfail set rotation-tod-minute'
dsconf [-v] [-j] instance logging auditfail set
rotation-tod-minute
[-h] values
- values โ the minute when an expired log should get rotated โฑ๏ธ
๐ COMMAND 'dsconf logging auditfail set deletion-interval'
dsconf [-v] [-j] instance logging auditfail set deletion-interval
[-h] values
- values โ the interval after which a rotated log gets deleted. and yes, this works with the deletion internal unit setting, they're a package deal fr fr ๐ฆ
๐ COMMAND 'dsconf logging auditfail set deletion-interval-unit'
dsconf [-v] [-j] instance logging auditfail set
deletion-interval-unit
[-h] values
- values โ the interval unit for when a rotated log gets deleted. choose from:
"day","week", or"month"๐
๐ COMMAND 'dsconf logging auditfail set max-disk-space'
dsconf [-v] [-j] instance logging auditfail set max-disk-space
[-h] values
- values โ the max amount of disk space, in MB, that rotated logs are allowed to consume before the rotated logs get deleted. it's giving "you've had enough bestie" ๐
๐ COMMAND 'dsconf logging auditfail set free-disk-space'
dsconf [-v] [-j] instance logging auditfail set free-disk-space
[-h] values
- values โ the minimum available disk space, in MB, that triggers the server to delete rotated log files ๐๏ธโจ
๐ COMMAND 'dsconf logging error'
dsconf [-v] [-j] instance logging error [-h]
{get,set,list-levels} ...
this is the error log's whole world, and it's super manageable:
POSITIONAL ARGUMENTS 'dsconf logging error'
dsconf logging error getโ get the error log configuration ๐dsconf logging error setโ set the error log configuration โ๏ธdsconf logging error list-levelsโ list all the log levels ๐
๐ COMMAND 'dsconf logging error get'
dsconf [-v] [-j] instance logging error get [-h]
just go get it, no extra args needed bestie ๐ซถ
๐ COMMAND 'dsconf logging error set'
dsconf [-v] [-j] instance logging error set [-h]
{level,logging-enabled,logging-disabled,mode,location,compress-enabled,compress-disabled,buffering-enabled,buffering-disabled,max-logs,max-logsize,rotation-interval,rotation-interval-unit,rotation-tod-enabled,rotation-tod-disabled,rotation-tod-hour,rotation-tod-minute,deletion-interval,deletion-interval-unit,max-disk-space,free-disk-space,log-format,time-format}
...
look at that menu of options, she ate ๐
POSITIONAL ARGUMENTS 'dsconf logging error set'
dsconf logging error set levelโ set the log leveldsconf logging error set logging-enabledโ enable access loggingdsconf logging error set logging-disabledโ disable error loggingdsconf logging error set modeโ set the log file permissions. default is600dsconf logging error set locationโ set the log name and locationdsconf logging error set compress-enabledโ enable log compression for rotated logsdsconf logging error set compress-disabledโ disable log compression for rotated logsdsconf logging error set buffering-enabledโ enable log bufferingdsconf logging error set buffering-disabledโ disable log bufferingdsconf logging error set max-logsโ set the maximum number of rotated logs the server will maintaindsconf logging error set max-logsizeโ set the maximum size for a log in MBdsconf logging error set rotation-intervalโ set the interval for when a log is rotated. this works with the interval unitdsconf logging error set rotation-interval-unitโ set the time unit for the rotation interval for when a log is rotated. choose between:"minute","hour","day","week", and"month"dsconf logging error set rotation-tod-enabledโ enable "time of day" rotation for expired logsdsconf logging error set rotation-tod-disabledโ disable "time of day" rotation for expired logsdsconf logging error set rotation-tod-hourโ set the hour when an expired log should be rotateddsconf logging error set rotation-tod-minuteโ set the minute when an expired log should be rotateddsconf logging error set deletion-intervalโ set the interval a rotated log should be deleted. this works with the deletion internal unit settingdsconf logging error set deletion-interval-unitโ set the interval unit a rotated log should be deleted. choose from:"day","week", or"month"dsconf logging error set max-disk-spaceโ set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted.dsconf logging error set free-disk-spaceโ the server deletes the oldest rotated log file when the available disk space in MB is less than this amount.dsconf logging error set log-formatโ choose between"default","json", or"json-pretty"dsconf logging error set time-formatโ time format for JSON logging (strftime)
๐ COMMAND 'dsconf logging error set level'
dsconf [-v] [-j] instance logging error set level [-h]
levels [levels
...]
- levels โ log level. yes you can pass more than one, she's flexible like that ๐
๐ COMMAND 'dsconf logging error set logging-enabled'
dsconf [-v] [-j] instance logging error set logging-enabled [-h]
๐ COMMAND 'dsconf logging error set logging-disabled'
dsconf [-v] [-j] instance logging error set logging-disabled [-h]
๐ COMMAND 'dsconf logging error set mode'
dsconf [-v] [-j] instance logging error set mode [-h] values
- values โ file permissions. default is
600๐
๐ COMMAND 'dsconf logging error set location'
dsconf [-v] [-j] instance logging error set location [-h] values
- values โ log name and location ๐
๐ COMMAND 'dsconf logging error set compress-enabled'
dsconf [-v] [-j] instance logging error set compress-enabled [-h]
๐ COMMAND 'dsconf logging error set compress-disabled'
dsconf [-v] [-j] instance logging error set compress-disabled
[-h]
๐ COMMAND 'dsconf logging error set buffering-enabled'
dsconf [-v] [-j] instance logging error set buffering-enabled
[-h]
๐ COMMAND 'dsconf logging error set buffering-disabled'
dsconf [-v] [-j] instance logging error set buffering-disabled
[-h]
๐ COMMAND 'dsconf logging error set max-logs'
dsconf [-v] [-j] instance logging error set max-logs [-h] values
- values โ set the maximum number of rotated logs the server will maintain ๐
๐ COMMAND 'dsconf logging error set max-logsize'
dsconf [-v] [-j] instance logging error set max-logsize [-h]
values
- values โ set the maximum size for a log in MB ๐
๐ COMMAND 'dsconf logging error set rotation-interval'
dsconf [-v] [-j] instance logging error set rotation-interval
[-h] values
- values โ set the interval for when a log is rotated. this works with the interval unit, they're besties ๐ซ
๐ COMMAND 'dsconf logging error set rotation-interval-unit'
dsconf [-v] [-j] instance logging error set
rotation-interval-unit
[-h] values
- values โ set the time unit for the rotation interval for when a log is rotated. choose between:
"minute","hour","day","week", and"month"โณ
๐ COMMAND 'dsconf logging error set rotation-tod-enabled'
dsconf [-v] [-j] instance logging error set rotation-tod-enabled
[-h]
๐ COMMAND 'dsconf logging error set rotation-tod-disabled'
dsconf [-v] [-j] instance logging error set rotation-tod-disabled
[-h]
๐ COMMAND 'dsconf logging error set rotation-tod-hour'
dsconf [-v] [-j] instance logging error set rotation-tod-hour
[-h] values
- values โ set the hour when an expired log should be rotated ๐
๐ COMMAND 'dsconf logging error set rotation-tod-minute'
dsconf [-v] [-j] instance logging error set rotation-tod-minute
[-h] values
- values โ set the minute when an expired log should be rotated ๐
๐ COMMAND 'dsconf logging error set deletion-interval'
dsconf [-v] [-j] instance logging error set deletion-interval
[-h] values
- values โ set the interval a rotated log should be deleted. this works with the deletion internal unit setting โ๏ธ
๐ COMMAND 'dsconf logging error set deletion-interval-unit'
dsconf [-v] [-j] instance logging error set
deletion-interval-unit
[-h] values
- values โ set the interval unit a rotated log should be deleted. choose from:
"day","week", or"month"๐๏ธ
๐ COMMAND 'dsconf logging error set max-disk-space'
dsconf [-v] [-j] instance logging error set max-disk-space [-h]
values
- values โ set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted. ๐พ
๐ COMMAND 'dsconf logging error set free-disk-space'
dsconf [-v] [-j] instance logging error set free-disk-space [-h]
values
- values โ set the minimum available disk space in MB that triggers the server to delete rotated log files. ๐งน
๐ COMMAND 'dsconf logging error set log-format'
dsconf [-v] [-j] instance logging error set log-format [-h]
values
- values โ choose between
"default","json", or"json-pretty"โจ
๐ COMMAND 'dsconf logging error set time-format'
dsconf [-v] [-j] instance logging error set time-format [-h]
values
- values โ time format for JSON logging (
strftime) ๐ฐ๏ธ
๐ COMMAND 'dsconf logging error list-levels'
dsconf [-v] [-j] instance logging error list-levels [-h]
show me every single level, no gatekeeping ๐
๐ฆ COMMAND 'dsconf logging security'
dsconf [-v] [-j] instance logging security [-h] {get,set} ...
security log time, and it's a whole vibe:
POSITIONAL ARGUMENTS 'dsconf logging security'
dsconf logging security getโ get security log configuration ๐dsconf logging security setโ set security log configuration ๐ง
๐ซถ COMMAND 'dsconf logging security get' ๐ซถ
usage: dsconf [-v] [-j] instance logging security get [-h]
That's it bestie, that's the whole thing. No flags, no args, she just gets. ๐
โจ COMMAND 'dsconf logging security set' โจ
usage: dsconf [-v] [-j] instance logging security set [-h]
{logging-enabled,logging-disabled,mode,location,compress-enabled,compress-disabled,buffering-enabled,buffering-disabled,max-logs,max-logsize,rotation-interval,rotation-interval-unit,rotation-tod-enabled,rotation-tod-disabled,rotation-tod-hour,rotation-tod-minute,deletion-interval,deletion-interval-unit,max-disk-space,free-disk-space}
...
Look at that menu of choices, it's giving โจ options โจ. Every single one is a positional argument you can pick, and we're about to run through all twenty of them, one by one, no skips. ๐ธ
๐ POSITIONAL ARGUMENTS 'dsconf logging security set' ๐
dsconf logging security set logging-enabledโ Enable access logging ๐dsconf logging security set logging-disabledโ Disable security logging ๐dsconf logging security set modeโ Set the log file permissions. Default is600๐dsconf logging security set locationโ Set the log name and location ๐dsconf logging security set compress-enabledโ Enable log compression for rotated logs ๐๏ธdsconf logging security set compress-disabledโ Disable log compression for rotated logsdsconf logging security set buffering-enabledโ Enable log buffering ๐ซงdsconf logging security set buffering-disabledโ Disable log bufferingdsconf logging security set max-logsโ Set the maximum number of rotated logs the server will maintain ๐๏ธdsconf logging security set max-logsizeโ Set the maximum size for a log in MBdsconf logging security set rotation-intervalโ Set the interval for when a log is rotated.This works with the interval unit โฐ (yes the missing space is canon, I don't make the rules)dsconf logging security set rotation-interval-unitโ Set the time unit for the rotation interval for whena log is rotated. Choose between:"minute","hour","day","week", and"month"๐ฐ๏ธdsconf logging security set rotation-tod-enabledโ Enable "time of day" rotation for expired logs ๐dsconf logging security set rotation-tod-disabledโ Disable "time of day" rotation for expired logsdsconf logging security set rotation-tod-hourโ Set the hour when an expired log should be rotated ๐dsconf logging security set rotation-tod-minuteโ Set the minute when an expired log should be rotated โฑ๏ธdsconf logging security set deletion-intervalโ Set the interval a rotated log should be deleted. This works with the deletion internal unit setting ๐๏ธdsconf logging security set deletion-interval-unitโ Set the interval unit a rotated log should be deleted. Choose from:"day","week", or"month"dsconf logging security set max-disk-spaceโ Set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted. ๐พdsconf logging security set free-disk-spaceโ The server deletes the oldest rotated log file when the available disk space in MB is less than this amount. ๐งน
๐ COMMAND 'dsconf logging security set logging-enabled' ๐
usage: dsconf [-v] [-j] instance logging security set logging-enabled
[-h]
No values, no nothing. You just say the word and it's on. โจ
๐ฆ COMMAND 'dsconf logging security set logging-disabled' ๐ฆ
usage: dsconf [-v] [-j] instance logging security set logging-disabled
[-h]
The opposite vibe check. Off it goes.
๐ COMMAND 'dsconf logging security set mode' ๐
usage: dsconf [-v] [-j] instance logging security set mode [-h] values
valuesโ File permissions. Default is600๐
Default is 600, bestie. Remember that number, it's the whole personality of this option. ๐
๐ COMMAND 'dsconf logging security set location' ๐
usage: dsconf [-v] [-j] instance logging security set location [-h]
values
valuesโ Log name and location ๐บ๏ธ
๐๏ธ COMMAND 'dsconf logging security set compress-enabled' ๐๏ธ
usage: dsconf [-v] [-j] instance logging security set compress-enabled
[-h]
Squish those rotated logs down to size. ๐ซธโจ
COMMAND 'dsconf logging security set compress-disabled'
usage: dsconf [-v] [-j] instance logging security set compress-disabled
[-h]
No squishing. Full size files, full size feelings.
๐ซง COMMAND 'dsconf logging security set buffering-enabled' ๐ซง
usage: dsconf [-v] [-j] instance logging security set buffering-enabled
[-h]
COMMAND 'dsconf logging security set buffering-disabled'
usage: dsconf [-v] [-j] instance logging security set buffering-disabled
[-h]
๐๏ธ COMMAND 'dsconf logging security set max-logs' ๐๏ธ
usage: dsconf [-v] [-j] instance logging security set max-logs [-h]
values
valuesโ Set the maximum number of rotated logs the server will maintain ๐
COMMAND 'dsconf logging security set max-logsize'
usage: dsconf [-v] [-j] instance logging security set max-logsize [-h]
values
valuesโ Set the maximum size for a log in MB ๐
โฐ COMMAND 'dsconf logging security set rotation-interval' โฐ
usage: dsconf [-v] [-j] instance logging security set rotation-interval
[-h] values
valuesโ Set the interval for when a log is rotated.This works with the interval unit ๐
๐ฐ๏ธ COMMAND 'dsconf logging security set rotation-interval-unit' ๐ฐ๏ธ
usage: dsconf [-v] [-j] instance logging security set
rotation-interval-unit
[-h] values
valuesโ Set the time unit for the rotation interval for whena log is rotated. Choose between:"minute","hour","day","week", and"month"๐
๐
COMMAND 'dsconf logging security set rotation-tod-enabled' ๐
usage: dsconf [-v] [-j] instance logging security set
rotation-tod-enabled
[-h]
COMMAND 'dsconf logging security set rotation-tod-disabled'
usage: dsconf [-v] [-j] instance logging security set
rotation-tod-disabled
[-h]
๐ COMMAND 'dsconf logging security set rotation-tod-hour' ๐
usage: dsconf [-v] [-j] instance logging security set rotation-tod-hour
[-h] values
valuesโ Set the hour when an expired log should be rotated โณ
โฑ๏ธ COMMAND 'dsconf logging security set rotation-tod-minute' โฑ๏ธ
usage: dsconf [-v] [-j] instance logging security set
rotation-tod-minute
[-h] values
valuesโ Set the minute when an expired log should be rotated ๐ซถ
๐๏ธ COMMAND 'dsconf logging security set deletion-interval' ๐๏ธ
usage: dsconf [-v] [-j] instance logging security set deletion-interval
[-h] values
valuesโ Set the interval a rotated log should be deleted. This works with the deletion internal unit setting โ๏ธ
COMMAND 'dsconf logging security set deletion-interval-unit'
usage: dsconf [-v] [-j] instance logging security set
deletion-interval-unit
[-h] values
valuesโ Set the interval unit a rotated log should be deleted. Choose from:"day","week", or"month"๐๏ธ
๐พ COMMAND 'dsconf logging security set max-disk-space' ๐พ
usage: dsconf [-v] [-j] instance logging security set max-disk-space
[-h] values
valuesโ Set the maximum amount of disk space in MB rotated logs can consume before rotated logs are deleted. ๐จ
๐งน COMMAND 'dsconf logging security set free-disk-space' ๐งน
usage: dsconf [-v] [-j] instance logging security set free-disk-space
[-h] values
valuesโ Set the minimum available disk space in MB that triggers the server to delete rotated log files. ๐ซง
๐ COMMAND 'dsconf monitor' ๐
usage: dsconf [-v] [-j] instance monitor [-h]
{server,dbmon,ldbm,backend,snmp,chaining,disk,memberof}
...
The watch-it-all command. Eight ways to stare lovingly at your server and see what it's actually doing. ๐
โจ POSITIONAL ARGUMENTS 'dsconf monitor' โจ
dsconf monitor serverโ Displays the server statistics, connections, and operations ๐ฅ๏ธdsconf monitor dbmonโ Monitor all database statistics in a single report ๐dsconf monitor ldbmโ Monitor the LDBM statistics, such as dbcache ๐งdsconf monitor backendโ Monitor the behavior of a backend database ๐๏ธdsconf monitor snmpโ Displays the SNMP statistics ๐กdsconf monitor chainingโ Monitor database chaining statistics โ๏ธdsconf monitor diskโ Displays the disk space statistics. All values are in bytes. ๐ฝdsconf monitor memberofโ Displays deferred memberof plugin stats. ๐ฏ
๐ฅ๏ธ COMMAND 'dsconf monitor server' ๐ฅ๏ธ
usage: dsconf [-v] [-j] instance monitor server [-h] [-r]
OPTIONS 'dsconf monitor server'
-r,--just-resourcesโ Just display the server resources being consumed โก
๐ COMMAND 'dsconf monitor dbmon' ๐
usage: dsconf [-v] [-j] instance monitor dbmon [-h] [-b BACKENDS] [-x]
OPTIONS 'dsconf monitor dbmon'
-b BACKENDS,--backends BACKENDSโ Specifies a list of space-separated backends to monitor. Default is all backends. ๐ฏ-x,--indexesโ Shows index stats for each backend ๐
๐ง COMMAND 'dsconf monitor ldbm' ๐ง
usage: dsconf [-v] [-j] instance monitor ldbm [-h]
๐๏ธ COMMAND 'dsconf monitor backend' ๐๏ธ
usage: dsconf [-v] [-j] instance monitor backend [-h] [backend]
backendโ The optional name of the backend to monitor ๐
๐ก COMMAND 'dsconf monitor snmp' ๐ก
usage: dsconf [-v] [-j] instance monitor snmp [-h]
โ๏ธ COMMAND 'dsconf monitor chaining' โ๏ธ
usage: dsconf [-v] [-j] instance monitor chaining [-h] [backend]
backendโ The optional name of the chaining backend to monitor ๐
๐ฝ COMMAND 'dsconf monitor disk' ๐ฝ
usage: dsconf [-v] [-j] instance monitor disk [-h]
Heads up bestie: for this one, all values are in bytes. ๐ซถ
๐ฏ COMMAND 'dsconf monitor memberof' ๐ฏ
usage: dsconf [-v] [-j] instance monitor memberof [-h]
๐ธ COMMAND 'dsconf plugin' ๐ธ
usage: dsconf [-v] [-j] instance plugin [-h]
{memberof,automember,referential-integrity,root-dn,usn,account-policy,attr-uniq,dna,ldap-pass-through-auth,linked-attr,managed-entries,pam-pass-through-auth,retro-changelog,posix-winsync,contentsync,entryuuid,pwstorage-scheme,list,show,set}
...
Okay so this is the big one โ eighteen plugin pipelines plus list, show, and set to round it out. A whole roster of little side-characters each with main character energy. ๐ญ We're gonna get into all of them, don't you worry. ๐
๐ POSITIONAL ARGUMENTS dsconf plugin
Okay bestie, the plugin command has a whole roster of sub-commands and honestly each one is a little icon in its own right ๐ here's the full guest list:
dsconf plugin memberofโ manage and configure the MemberOf plugin โจdsconf plugin automemberโ manage and configure the Automembership plugin ๐dsconf plugin referential-integrityโ manage and configure the Referential Integrity Postoperation plugindsconf plugin root-dnโ manage and configure the RootDN Access Control plugin ๐dsconf plugin usnโ manage and configure the USN plugindsconf plugin account-policyโ manage and configure the Account Policy plugindsconf plugin attr-uniqโ manage and configure the Attribute Uniqueness plugindsconf plugin dnaโ manage and configure the DNA plugin ๐งฌdsconf plugin ldap-pass-through-authโ manage and configure LDAP Pass-Through Authentication Plugindsconf plugin linked-attrโ manage and configure the Linked Attributes plugindsconf plugin managed-entriesโ manage and configure the Managed Entries Plugindsconf plugin pam-pass-through-authโ manage and configure Pass-Through Authentication plugins (LDAP URLs and PAM) ๐dsconf plugin retro-changelogโ manage and configure the Retro Changelog plugindsconf plugin posix-winsyncโ manage and configure the Posix Winsync API plugindsconf plugin contentsyncโ manage and configure Content Sync Plugin (aka syncrepl) ๐ฆdsconf plugin entryuuidโ manage and configure EntryUUID plugindsconf plugin pwstorage-schemeโ manage password storage scheme pluginsdsconf plugin listโ list current configured (enabled and disabled) plugins ๐dsconf plugin showโ show the plugin datadsconf plugin setโ edit the plugin settings
๐ ๏ธ COMMAND dsconf plugin memberof
So you wanna vibe with the MemberOf plugin? Say less. Here's the shape of it:
usage: dsconf [-v] [-j] instance plugin memberof [-h]
{show,enable,disable,status,set,add-attr,del-attr,config-entry,fixup,fixup-status}
...
๐ POSITIONAL ARGUMENTS dsconf plugin memberof
All the little moves you can pull:
dsconf plugin memberof showโ displays the plugin configuration ๐dsconf plugin memberof enableโ enables the plugin โdsconf plugin memberof disableโ disables the plugin ๐ซdsconf plugin memberof statusโ displays the plugin status ๐dsconf plugin memberof setโ edit the plugin settingsdsconf plugin memberof add-attrโ add attributes to the plugin โdsconf plugin memberof del-attrโ delete attributes from the plugin โdsconf plugin memberof config-entryโ manage the config entrydsconf plugin memberof fixupโ run the fix-up task for memberOf plugin ๐งdsconf plugin memberof fixup-statusโ check the status of a fix-up task
๐ ๏ธ COMMAND dsconf plugin memberof show
usage: dsconf [-v] [-j] instance plugin memberof show [-h]
๐ ๏ธ COMMAND dsconf plugin memberof enable
usage: dsconf [-v] [-j] instance plugin memberof enable [-h]
๐ ๏ธ COMMAND dsconf plugin memberof disable
usage: dsconf [-v] [-j] instance plugin memberof disable [-h]
๐ ๏ธ COMMAND dsconf plugin memberof status
usage: dsconf [-v] [-j] instance plugin memberof status [-h]
๐ ๏ธ COMMAND dsconf plugin memberof set
usage: dsconf [-v] [-j] instance plugin memberof set [-h] [--attr ATTR]
[--groupattr
GROUPATTR [GROUPATTR ...]]
[--allbackends
{on,off}]
[--skipnested
{on,off}]
[--scope SCOPE
[SCOPE ...]]
[--exclude EXCLUDE
[EXCLUDE ...]]
[--autoaddoc
AUTOADDOC]
[--deferredupdate
{on,off}]
[--launchfixup
{on,off}]
[--specific-group-oc
SPECIFIC_GROUP_OC [SPECIFIC_GROUP_OC ...]]
[--specific-group-filter
SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter
EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
[--config-entry
CONFIG_ENTRY]
โ๏ธ OPTIONS dsconf plugin memberof set
The full menu of knobs, no gatekeeping ๐ธ:
--attr ATTRโ says which attribute in the user entry the Directory Server should manage so it reflects group membership, aka thememberOfAttrโจ--groupattr GROUPATTR [GROUPATTR ...]โ says which attribute in the group entry is used to identify the DNs of group members, akamemberOfGroupAttr--allbackends {on,off}โ toggles whether to search the local suffix for user entries across all available suffixes, akamemberOfAllBackends--skipnested {on,off}โ toggles whether to skip nested groups or not, akamemberOfSkipNested๐ช--scope SCOPE [SCOPE ...]โ names the backends or multiple-nested suffixes the MemberOf plug-in should work on, akamemberOfEntryScope--exclude EXCLUDE [EXCLUDE ...]โ names the backends or multiple-nested suffixes the MemberOf plug-in should exclude, akamemberOfEntryScopeExcludeSubtree๐--autoaddoc AUTOADDOCโ if an entry doesn't have an object class that allows thememberOfattribute, the memberOf plugin will automatically add the object class listed in thememberOfAutoAddOCparameter ๐--deferredupdate {on,off}โ says the updates of the members happen after the update of the target group is done. On top of that, each update (group/members) uses its own transaction โณ--launchfixup {on,off}โ says that if the server shuts down disorderly (crash, kill, ..) then on restart the memberof fixup task gets launched automatically ๐ง--specific-group-oc SPECIFIC_GROUP_OC [SPECIFIC_GROUP_OC ...]โ sets objectclasses for the specific groups to include/exclude. Otherwise all other groups get excluded. Heads up: this replaces all existing values. If you just want to add a new value, use theadd-attrcommand instead, akamemberOfSpecificGroupOCโ ๏ธ--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ gives a filter for groups to include. Otherwise all other groups get excluded, akamemberOfSpecificGroupFilter--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ gives a filter for groups to exclude. Otherwise all other groups get included, akamemberOfExcludeSpecificGroupFilter--config-entry CONFIG_ENTRYโ the value to set asnsslapd-pluginConfigArea๐
๐ ๏ธ COMMAND dsconf plugin memberof add-attr
usage: dsconf [-v] [-j] instance plugin memberof add-attr [-h]
[--specific-group-filter
SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter
EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
โ๏ธ OPTIONS dsconf plugin memberof add-attr
--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ gives a filter for groups to include. This adds to the existing values. Otherwise all other groups get excluded, akamemberOfSpecificGroupFilterโ--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ gives a filter for groups to exclude. This adds to the existing values. Otherwise all other groups get included, akamemberOfExcludeSpecificGroupFilterโ
๐ ๏ธ COMMAND dsconf plugin memberof del-attr
usage: dsconf [-v] [-j] instance plugin memberof del-attr [-h]
[--specific-group-filter
SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter
EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
โ๏ธ OPTIONS dsconf plugin memberof del-attr
--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ removes a filter for groups to include. This removes the value from the existing values, akamemberOfSpecificGroupFilterโ--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ removes a filter for groups to exclude. This removes the value from the existing values, akamemberOfExcludeSpecificGroupFilterโ
๐ ๏ธ COMMAND dsconf plugin memberof config-entry
usage: dsconf [-v] [-j] instance plugin memberof config-entry
[-h] {add,set,add-attr,del-attr,show,delete} ...
๐ POSITIONAL ARGUMENTS dsconf plugin memberof config-entry
dsconf plugin memberof config-entry addโ add the config entry โdsconf plugin memberof config-entry setโ edit the config entry โ๏ธdsconf plugin memberof config-entry add-attrโ add attributes to the config entrydsconf plugin memberof config-entry del-attrโ delete attributes from the config entrydsconf plugin memberof config-entry showโ display the config entry ๐dsconf plugin memberof config-entry deleteโ delete the config entry and remove the reference in the plugin ๐๏ธ
๐ ๏ธ COMMAND dsconf plugin memberof config-entry add
usage: dsconf [-v] [-j] instance plugin memberof config-entry add
[-h] [--attr ATTR] [--groupattr GROUPATTR [GROUPATTR ...]]
[--allbackends {on,off}] [--skipnested {on,off}]
[--scope SCOPE [SCOPE ...]] [--exclude EXCLUDE [EXCLUDE ...]]
[--autoaddoc AUTOADDOC] [--deferredupdate {on,off}]
[--launchfixup {on,off}]
[--specific-group-oc SPECIFIC_GROUP_OC [SPECIFIC_GROUP_OC ...]]
[--specific-group-filter SPECIFIC_GROUP_FILTER
[SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER
[EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
DN
DNโ the config entry full DN ๐
OPTIONS of dsconf plugin memberof config-entry add ๐
okay bestie, these are the dials you can turn when you're creating a config entry. every single one, no skips:
--attr ATTRโ the attribute in the user entry that the Directory Server is gonna keep updated so it shows off group membership. in DS speak this ismemberOfAttr. ๐--groupattr GROUPATTR [GROUPATTR ...]โ the attribute over in the group entry that holds the DNs of who's in the group. give it one or give it a whole list. its real name ismemberOfGroupAttr. โจ--allbackends {on,off}โ flip this and the server will search the local suffix for user entries across all the suffixes that exist. maps tomemberOfAllBackends. ๐ธ--allbackendsvibes but nested groups edition:--skipnested {on,off}โ tells it whether to skip nested groups or not. it'smemberOfSkipNested. ๐ฆ--scope SCOPE [SCOPE ...]โ picks the backends or multiple-nested suffixes the MemberOf plug-in is allowed to work on. one value or a bunch.memberOfEntryScope. ๐--exclude EXCLUDE [EXCLUDE ...]โ same energy but the opposite direction: the backends / multiple-nested suffixes the MemberOf plug-in should not touch. this one ismemberOfEntryScopeExcludeSubtree. ๐--autoaddoc AUTOADDOCโ if an entry is missing an object class that would let thememberOfattribute exist, the plug-in just goes ahead and adds the object class you name here automatically. it lives inmemberOfAutoAddOC. โจ--deferredupdate {on,off}โ the members get updated after the target group's update finishes. and btw each update (group / members) gets its own transaction. no sharing. ๐--launchfixup {on,off}โ if the server went out sad and disorderly (crash, kill, โฆ) then on restart the memberof fixup task launches all by itself. main character energy. ๐ฅ--specific-group-oc SPECIFIC_GROUP_OC [SPECIFIC_GROUP_OC ...]โ set object classes for the specific groups you want to include/exclude. otherwise every other group gets excluded. heads up: this replaces all existing values. to add a new one instead, use the"add-attr"command.memberOfSpecificGroupOC. ๐--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ a filter for the groups to include. otherwise, yep, all other groups get excluded.memberOfSpecificGroupFilter. ๐--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ a filter for the groups to exclude. otherwise all other groups get included (opposite logic, same drama).memberOfExcludeSpecificGroupFilter. โญ
COMMAND dsconf plugin memberof config-entry set โ๏ธ
usage: dsconf [-v] [-j] instance plugin memberof config-entry set
[-h] [--attr ATTR] [--groupattr GROUPATTR [GROUPATTR ...]]
[--allbackends {on,off}] [--skipnested {on,off}]
[--scope SCOPE [SCOPE ...]] [--exclude EXCLUDE [EXCLUDE ...]]
[--autoaddoc AUTOADDOC] [--deferredupdate {on,off}]
[--launchfixup {on,off}]
[--specific-group-oc SPECIFIC_GROUP_OC [SPECIFIC_GROUP_OC ...]]
[--specific-group-filter SPECIFIC_GROUP_FILTER
[SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER
[EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
DN
DNโ the config entry full DN. ๐ซถ
OPTIONS of dsconf plugin memberof config-entry set ๐
same flags, same meanings, so you already know the lore โ but here they are again because we don't gatekeep:
--attr ATTRโ the attribute in the user entry for the Directory Server to manage so it reflects group membership (memberOfAttr). โจ--groupattr GROUPATTR [GROUPATTR ...]โ the attribute in the group entry used to identify the DNs of group members (memberOfGroupAttr). ๐--allbackends {on,off}โ whether to search the local suffix for user entries on all available suffixes (memberOfAllBackends). ๐ธ--skipnested {on,off}โ whether to skip nested groups or not (memberOfSkipNested). ๐ฆ--scope SCOPE [SCOPE ...]โ backends or multiple-nested suffixes for the MemberOf plug-in to work on (memberOfEntryScope). ๐--exclude EXCLUDE [EXCLUDE ...]โ backends or multiple-nested suffixes for the MemberOf plug-in to exclude (memberOfEntryScopeExcludeSubtree). ๐--autoaddoc AUTOADDOCโ if an entry doesn't have an object class that allows thememberOfattribute, the plug-in auto-adds the object class named in thememberOfAutoAddOCparameter. โญ--deferredupdate {on,off}โ member updates happen after the target group's update completes, and each update (group / members) uses its own transaction. ๐--launchfixup {on,off}โ if the server had a disorderly shutdown (crash, kill, ..) then at restart the memberof fixup task launches automatically. ๐ฅ--specific-group-oc SPECIFIC_GROUP_OC [SPECIFIC_GROUP_OC ...]โ object classes for the specific groups to include/exclude, otherwise all other groups get excluded. note: this replaces all existing values; to add a new value use the"add-attr"command. (memberOfSpecificGroupOC) ๐--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ a filter for groups to include; otherwise all other groups are excluded (memberOfSpecificGroupFilter). ๐--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ a filter for groups to exclude; otherwise all other groups are included (memberOfExcludeSpecificGroupFilter). ๐
COMMAND dsconf plugin memberof config-entry add-attr โ
usage: dsconf [-v] [-j] instance plugin memberof config-entry add-attr
[-h]
[--specific-group-filter SPECIFIC_GROUP_FILTER
[SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER
[EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
DN
DNโ the config entry full DN. ๐ซถ
OPTIONS of dsconf plugin memberof config-entry add-attr ๐
--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ a filter for groups to include. this one adds to the existing values (it doesn't nuke them, bestie ๐ซถ). otherwise all other groups get excluded (memberOfSpecificGroupFilter). โจ--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ a filter for groups to exclude, and again it adds to the existing values. otherwise all other groups get included (memberOfExcludeSpecificGroupFilter). ๐ธ
COMMAND dsconf plugin memberof config-entry del-attr โ
usage: dsconf [-v] [-j] instance plugin memberof config-entry del-attr
[-h]
[--specific-group-filter SPECIFIC_GROUP_FILTER
[SPECIFIC_GROUP_FILTER ...]]
[--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER
[EXCLUDE_SPECIFIC_GROUP_FILTER ...]]
DN
DNโ the config entry full DN. ๐
OPTIONS of dsconf plugin memberof config-entry del-attr ๐ฆ
--specific-group-filter SPECIFIC_GROUP_FILTER [SPECIFIC_GROUP_FILTER ...]โ removes a filter for groups to include. it takes the value out of the existing values (memberOfSpecificGroupFilter). ๐ฅ--exclude-specific-group-filter EXCLUDE_SPECIFIC_GROUP_FILTER [EXCLUDE_SPECIFIC_GROUP_FILTER ...]โ removes a filter for groups to exclude, also pulling the value out of the existing values (memberOfExcludeSpecificGroupFilter). ๐
COMMAND dsconf plugin memberof config-entry show ๐
usage: dsconf [-v] [-j] instance plugin memberof config-entry show [-h]
DN
DNโ the config entry full DN. ๐
COMMAND dsconf plugin memberof config-entry delete ๐๏ธ
usage: dsconf [-v] [-j] instance plugin memberof config-entry delete
[-h] DN
DNโ the config entry full DN. โญ
COMMAND dsconf plugin memberof fixup ๐ ๏ธ
usage: dsconf [-v] [-j] instance plugin memberof fixup [-h] [-f FILTER]
[--wait]
[--timeout
TIMEOUT]
DN
DNโ Base DN that contains entries to fix up. ๐ซถ
OPTIONS of dsconf plugin memberof fixup ๐
-f FILTER,--filter FILTERโ a filter for the entries to fix up. if you omit it, then all entries with objectclassinetuser/inetadmin/nsmemberofunder the base you specified get theirmemberOfattribute regenerated. all of them. ๐ญ--waitโ wait for the task to finish. heads up: this could take a long time. ๐--timeout TIMEOUTโ sets the task timeout. default is0(no timeout). โจ
COMMAND dsconf plugin memberof fixup-status ๐
usage: dsconf [-v] [-j] instance plugin memberof fixup-status
[-h] [--dn DN] [--show-log] [--watch]
OPTIONS of dsconf plugin memberof fixup-status ๐
--dn DNโ the task entry's DN. ๐--show-logโ display the task log. ๐--watchโ watch the task's status and wait for it to finish. ๐
COMMAND dsconf plugin automember ๐
usage: dsconf [-v] [-j] instance plugin automember [-h]
{show,enable,disable,status,list,definition,fixup,fixup-status,abort-fixup}
...
POSITIONAL ARGUMENTS of dsconf plugin automember ๐ง
dsconf plugin automember showโ displays the plugin configuration. โจdsconf plugin automember enableโ enables the plugin. ๐ฅdsconf plugin automember disableโ disables the plugin. ๐คdsconf plugin automember statusโ displays the plugin status. ๐dsconf plugin automember listโ list Automembership definitions or regex rules. ๐ธdsconf plugin automember definitionโ manage Automembership definition. ๐dsconf plugin automember fixupโ run a rebuild membership task. ๐ ๏ธdsconf plugin automember fixup-statusโ check the status of a fix-up task. ๐dsconf plugin automember abort-fixupโ abort the rebuild membership task. ๐ not me aborting but okay!
COMMAND dsconf plugin automember show ๐
usage: dsconf [-v] [-j] instance plugin automember show [-h]
COMMAND dsconf plugin automember enable ๐ฅ
usage: dsconf [-v] [-j] instance plugin automember enable [-h]
COMMAND dsconf plugin automember disable ๐ค
usage: dsconf [-v] [-j] instance plugin automember disable [-h]
COMMAND dsconf plugin automember status ๐
usage: dsconf [-v] [-j] instance plugin automember status [-h]
COMMAND dsconf plugin automember list ๐
usage: dsconf [-v] [-j] instance plugin automember list [-h]
{definitions,regexes}
...
POSITIONAL ARGUMENTS of dsconf plugin automember list ๐ฆ
dsconf plugin automember list definitionsโ lists Automembership definitions. ๐dsconf plugin automember list regexesโ list Automembership regex rules. ๐
COMMAND dsconf plugin automember list definitions ๐
usage: dsconf [-v] [-j] instance plugin automember list definitions [-h]
COMMAND dsconf plugin automember list regexes ๐งต
usage: dsconf [-v] [-j] instance plugin automember list regexes [-h]
DEFNAME
DEFNAMEโ the definition entry CN. ๐
it's giving very precise, and honestly? obsessed. ๐
๐ฆ COMMAND 'dsconf plugin automember definition'
usage: dsconf [-v] [-j] instance plugin automember definition
[-h] DEFNAME {add,set,delete,show,regex} ...
Okay bestie, this is the definition layer of automember โ the part where you actually tell the plugin the rules of the game. ๐
POSITIONAL ARGUMENTS 'dsconf plugin automember definition'
dsconf plugin automember definition addโ Creates Automembership definition. โจdsconf plugin automember definition setโ Edits Automembership definition. ๐dsconf plugin automember definition deleteโ Removes Automembership definition. ๐dsconf plugin automember definition showโ Displays Automembership definition. ๐dsconf plugin automember definition regexโ Manage Automembership regex rules. ๐ง
๐ธ COMMAND 'dsconf plugin automember definition add'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
add
[-h] --grouping-attr GROUPING_ATTR [--default-group
DEFAULT_GROUP]
--scope SCOPE --filter FILTER
OPTIONS 'dsconf plugin automember definition add'
--grouping-attr GROUPING_ATTRโ Specifies the name of the member attribute in the group entry and the attribute in the object entry that supplies the member attribute value, in the formatgroup_member_attr:entry_attr(autoMemberGroupingAttr). so like, the two halves of the handshake fr fr ๐ซถ--default-group DEFAULT_GROUPโ Sets default or fallback group to add the entry to as a member attribute in group entry (autoMemberDefaultGroup). the backup plan bestie ๐--scope SCOPEโ Sets the subtree DN to search for entries (autoMemberScope). ๐--filter FILTERโ Sets a standard LDAP search filter to use to search for matching entries (autoMemberFilter). โจ
๐ COMMAND 'dsconf plugin automember definition set'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
set
[-h] --grouping-attr GROUPING_ATTR [--default-group
DEFAULT_GROUP]
--scope SCOPE --filter FILTER
OPTIONS 'dsconf plugin automember definition set'
--grouping-attr GROUPING_ATTRโ Specifies the name of the member attribute in the group entry and the attribute in the object entry that supplies the member attribute value, in the formatgroup_member_attr:entry_attr(autoMemberGroupingAttr). ๐ซถ--default-group DEFAULT_GROUPโ Sets default or fallback group to add the entry to as a member attribute in group entry (autoMemberDefaultGroup). ๐--scope SCOPEโ Sets the subtree DN to search for entries (autoMemberScope). ๐--filter FILTERโ Sets a standard LDAP search filter to use to search for matching entries (autoMemberFilter). โจ
๐ COMMAND 'dsconf plugin automember definition delete'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
delete
[-h]
no options, it just yeets the definition into the void. say bye ๐
๐ COMMAND 'dsconf plugin automember definition show'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
show
[-h]
just shows you what the definition is. no options. peek at your own handiwork, main character energy. ๐
๐ง COMMAND 'dsconf plugin automember definition regex'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
regex
[-h] REGEXNAME {add,set,delete,show} ...
this is where the regex sorcery lives, bestie. ๐ช
POSITIONAL ARGUMENTS 'dsconf plugin automember definition regex'
dsconf plugin automember definition regex addโ Creates Automembership regex. โจdsconf plugin automember definition regex setโ Edits Automembership regex. ๐dsconf plugin automember definition regex deleteโ Removes Automembership regex. ๐dsconf plugin automember definition regex showโ Displays Automembership regex. ๐
โจ COMMAND 'dsconf plugin automember definition regex add'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
regex REGEXNAME add
[-h] [--exclusive EXCLUSIVE [EXCLUSIVE ...]]
[--inclusive INCLUSIVE [INCLUSIVE ...]] --target-group
TARGET_GROUP
OPTIONS 'dsconf plugin automember definition regex add'
--exclusive EXCLUSIVE [EXCLUSIVE ...]โ Sets a single regular expression to use to identify entries to exclude (autoMemberExclusiveRegex). not you, not you, absolutely not you ๐--inclusive INCLUSIVE [INCLUSIVE ...]โ Sets a single regular expression to use to identify entries to include (autoMemberInclusiveRegex). come in bestie, you're on the list ๐--target-group TARGET_GROUPโ Sets which group to add the entry to as a member, if it meets the regular expression conditions (autoMemberTargetGroup). the destination, periodt ๐ฏ
๐ COMMAND 'dsconf plugin automember definition regex set'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
regex REGEXNAME set
[-h] [--exclusive EXCLUSIVE [EXCLUSIVE ...]]
[--inclusive INCLUSIVE [INCLUSIVE ...]] --target-group
TARGET_GROUP
OPTIONS 'dsconf plugin automember definition regex set'
--exclusive EXCLUSIVE [EXCLUSIVE ...]โ Sets a single regular expression to use to identify entries to exclude (autoMemberExclusiveRegex). ๐--inclusive INCLUSIVE [INCLUSIVE ...]โ Sets a single regular expression to use to identify entries to include (autoMemberInclusiveRegex). ๐--target-group TARGET_GROUPโ Sets which group to add the entry to as a member, if it meets the regular expression conditions (autoMemberTargetGroup). ๐ฏ
๐ COMMAND 'dsconf plugin automember definition regex delete'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
regex REGEXNAME delete
[-h]
no options. gone. reduced to atoms. โจ
๐ COMMAND 'dsconf plugin automember definition regex show'
usage: dsconf [-v] [-j] instance plugin automember definition DEFNAME
regex REGEXNAME show
[-h]
no options, just vibes and output. ๐ฆ
๐ฅ COMMAND 'dsconf plugin automember fixup'
usage: dsconf [-v] [-j] instance plugin automember fixup [-h] -f FILTER
-s
{sub,base,one}
[--cleanup]
[--wait]
[--timeout
TIMEOUT]
DN
DN Base DN that contains entries to fix up
DN โ Base DN that contains entries to fix up ๐ซถ
OPTIONS 'dsconf plugin automember fixup'
-f FILTER,--filter FILTERโ Sets the LDAP filter for entries to fix up. ๐-s {sub,base,one},--scope {sub,base,one}โ Sets the LDAP search scope for entries to fix up. ๐--cleanupโ Clean up previous group memberships before rebuilding. ๐งน--waitโ Wait for the task to finish, this could take a long time. โณ (fr fr, be patient bestie)--timeout TIMEOUTโ Set a timeout to wait for the fixup task. Default is0(no timeout). โ
๐ฆ COMMAND 'dsconf plugin automember fixup-status'
usage: dsconf [-v] [-j] instance plugin automember fixup-status
[-h] [--dn DN] [--show-log] [--watch]
OPTIONS 'dsconf plugin automember fixup-status'
--dn DNโ The task entry's DN. ๐--show-logโ Display the task log. ๐--watchโ Watch the task's status and wait for it to finish. ๐
๐ญ COMMAND 'dsconf plugin automember abort-fixup'
usage: dsconf [-v] [-j] instance plugin automember abort-fixup
[-h] [--timeout TIMEOUT]
OPTIONS 'dsconf plugin automember abort-fixup'
--timeout TIMEOUTโ Set a timeout to wait for the abort task. Default is0(no timeout). โ
๐ COMMAND 'dsconf plugin referential-integrity'
usage: dsconf instance [-v] [-j] plugin referential-integrity
[-h] {show,enable,disable,status,set,config-entry} ...
Referential integrity, aka the plugin that keeps your groups from ghosting deleted users. iconic behaviour, honestly. ๐
POSITIONAL ARGUMENTS 'dsconf plugin referential-integrity'
dsconf plugin referential-integrity showโ Displays the plugin configuration. ๐dsconf plugin referential-integrity enableโ Enables the plugin. โdsconf plugin referential-integrity disableโ Disables the plugin. ๐ซdsconf plugin referential-integrity statusโ Displays the plugin status. ๐dsconf plugin referential-integrity setโ Edit the plugin settings. โ๏ธdsconf plugin referential-integrity config-entryโ Manage the config entry. ๐๏ธ
๐ COMMAND 'dsconf plugin referential-integrity show'
usage: dsconf [-v] [-j] instance plugin referential-integrity show [-h]
no options. just look at it. ๐
โ COMMAND 'dsconf plugin referential-integrity enable'
usage: dsconf [-v] [-j] instance plugin referential-integrity enable
[-h]
no options, just turn it on. slay. โจ
๐ซ COMMAND 'dsconf plugin referential-integrity disable'
usage: dsconf [-v] [-j] instance plugin referential-integrity disable
[-h]
no options, turn it off. ๐ด
๐ COMMAND 'dsconf plugin referential-integrity status'
usage: dsconf [-v] [-j] instance plugin referential-integrity status
[-h]
no options, pure status check energy. ๐
โ๏ธ COMMAND 'dsconf plugin referential-integrity set'
usage: dsconf [-v] [-j] instance plugin referential-integrity set
[-h] [--update-delay UPDATE_DELAY]
[--membership-attr MEMBERSHIP_ATTR [MEMBERSHIP_ATTR ...]]
[--entry-scope ENTRY_SCOPE] [--exclude-entry-scope
EXCLUDE_ENTRY_SCOPE]
[--container-scope CONTAINER_SCOPE] [--log-file LOG_FILE]
[--config-entry CONFIG_ENTRY]
OPTIONS 'dsconf plugin referential-integrity set'
--update-delay UPDATE_DELAYโ Sets the update interval. Special values:0โ The check is performed immediately,-1โ No check is performed (referint-update-delay). โฐ two very different vibes, pick wisely--membership-attr MEMBERSHIP_ATTR [MEMBERSHIP_ATTR ...]โ Specifies attributes to check for and update (referint-membership-attr). ๐ซถ--entry-scope ENTRY_SCOPEโ Defines the subtree in which the plug-in looks for the delete or rename operations of a user entry (nsslapd-pluginEntryScope). ๐--exclude-entry-scope EXCLUDE_ENTRY_SCOPEโ Defines the subtree in which the plug-in ignores any operations for deleting or renaming a user (nsslapd-pluginExcludeEntryScope). ๐--container-scope CONTAINER_SCOPEโ Specifies which branch the plug-in searches for the groups to which the user belongs. It only updates groups that are under the specified container branch, and leaves all other groups not updated (nsslapd-pluginContainerScope). ๐๏ธ--log-file LOG_FILEโ Specifies a path to the Referential integrity logfile.For example:/var/log/dirsrv/slapd-YOUR_INSTANCE/referint๐--config-entry CONFIG_ENTRYโ The value to set asnsslapd-pluginConfigArea. ๐
๐๏ธ COMMAND 'dsconf plugin referential-integrity config-entry'
usage: dsconf [-v] [-j] instance plugin referential-integrity
config-entry
[-h] {add,set,show,delete} ...
POSITIONAL ARGUMENTS 'dsconf plugin referential-integrity config-entry'
dsconf plugin referential-integrity config-entry addโ Add the config entry. โจdsconf plugin referential-integrity config-entry setโ Edit the config entry. โ๏ธdsconf plugin referential-integrity config-entry showโ Display the config entry. ๐dsconf plugin referential-integrity config-entry deleteโ Delete the config entry and remove the reference in the plugin entry. ๐
๐ COMMAND 'dsconf plugin referential-integrity config-entry add'
okay bestie, this one creates a fresh referential-integrity config entry and you get to dial in all the little knobs while you do it. here's the shape of it:
usage: dsconf [-v] [-j] instance plugin referential-integrity
config-entry add
[-h] [--update-delay UPDATE_DELAY]
[--membership-attr MEMBERSHIP_ATTR [MEMBERSHIP_ATTR ...]]
[--entry-scope ENTRY_SCOPE] [--exclude-entry-scope
EXCLUDE_ENTRY_SCOPE]
[--container-scope CONTAINER_SCOPE] [--log-file LOG_FILE]
DN
POSITIONAL ARGUMENTS 'dsconf plugin referential-integrity config-entry add'
DNโ the config entry's full DN, bestie. that's it, that's the whole job. ๐
OPTIONS 'dsconf plugin referential-integrity config-entry add'
--update-delay UPDATE_DELAYโ sets how often the check runs. โจ special little values:0means the check happens immediately, and-1means no check at all. (this maps toreferint-update-delay)--membership-attr MEMBERSHIP_ATTR [MEMBERSHIP_ATTR ...]โ tells it which attrs to check and update. you can list more than one, go off. (this isreferint-membership-attr)--entry-scope ENTRY_SCOPEโ defines the subtree where the plug-in goes looking for delete or rename operations on a user entry. (that'snsslapd-pluginEntryScope)--exclude-entry-scope EXCLUDE_ENTRY_SCOPEโ defines the subtree where the plug-in straight up ignores any delete-or-rename operations on a user. it's giving boundaries. (that'snsslapd-pluginExcludeEntryScope)--container-scope CONTAINER_SCOPEโ says which branch the plug-in should search for the groups the user belongs to. it will only update groups under that container branch and leaves every other group untouched, no cap. (that'snsslapd-pluginContainerScope)--log-file LOG_FILEโ gives you a path for the Referential integrity logfile.For example:/var/log/dirsrv/slapd-YOUR_INSTANCE/referint๐ซถ
๐ฆ COMMAND 'dsconf plugin referential-integrity config-entry set'
same energy, but this one edits the config entry you already have. it's the glow-up command:
usage: dsconf [-v] [-j] instance plugin referential-integrity
config-entry set
[-h] [--update-delay UPDATE_DELAY]
[--membership-attr MEMBERSHIP_ATTR [MEMBERSHIP_ATTR ...]]
[--entry-scope ENTRY_SCOPE] [--exclude-entry-scope
EXCLUDE_ENTRY_SCOPE]
[--container-scope CONTAINER_SCOPE] [--log-file LOG_FILE]
DN
POSITIONAL ARGUMENTS 'dsconf plugin referential-integrity config-entry set'
DNโ the config entry's full DN. you're pointing at the one you wanna change. โจ
OPTIONS 'dsconf plugin referential-integrity config-entry set'
--update-delay UPDATE_DELAYโ sets the update interval. the special values again, bestie:0= the check is performed immediately,-1= no check is performed. (this isreferint-update-delay)--membership-attr MEMBERSHIP_ATTR [MEMBERSHIP_ATTR ...]โ specifies which attributes to check for and update. (this isreferint-membership-attr)--entry-scope ENTRY_SCOPEโ defines the subtree where the plug-in looks for delete or rename operations of a user entry. (that'snsslapd-pluginEntryScope)--exclude-entry-scope EXCLUDE_ENTRY_SCOPEโ defines the subtree where the plug-in ignores any operations for deleting or renaming a user. not today, delete operation. ๐ (that'snsslapd-pluginExcludeEntryScope)--container-scope CONTAINER_SCOPEโ specifies which branch the plug-in searches for the groups the user belongs to. it only updates groups that are under the specified container branch, and leaves all other groups not updated. (that'snsslapd-pluginContainerScope)--log-file LOG_FILEโ specifies a path to the Referential integrity logfile.For example:/var/log/dirsrv/slapd-YOUR_INSTANCE/referint๐ธ
โญ COMMAND 'dsconf plugin referential-integrity config-entry show'
just look at it. that's the vibe. ๐
usage: dsconf [-v] [-j] instance plugin referential-integrity
config-entry show
[-h] DN
DNโ the config entry's full DN. โจ
๐ COMMAND 'dsconf plugin referential-integrity config-entry delete'
and this one removes it. bye bestie, no notes. ๐ซถ
usage: dsconf [-v] [-j] instance plugin referential-integrity
config-entry delete
[-h] DN
DNโ the config entry's full DN. โจ
๐ COMMAND 'dsconf plugin root-dn'
the root-dn plug-in, aka the bouncer at the club door deciding who gets root access. it's got a whole lil family of subcommands:
usage: dsconf [-v] [-j] instance plugin root-dn [-h]
{show,enable,disable,status,set}
...
POSITIONAL ARGUMENTS 'dsconf plugin root-dn'
dsconf plugin root-dn showโ displays the plugin configurationdsconf plugin root-dn enableโ enables the plugindsconf plugin root-dn disableโ disables the plugindsconf plugin root-dn statusโ displays the plugin statusdsconf plugin root-dn setโ edit the plugin settings
COMMAND 'dsconf plugin root-dn show'
usage: dsconf [-v] [-j] instance plugin root-dn show [-h]
COMMAND 'dsconf plugin root-dn enable'
usage: dsconf [-v] [-j] instance plugin root-dn enable [-h]
COMMAND 'dsconf plugin root-dn disable'
usage: dsconf [-v] [-j] instance plugin root-dn disable [-h]
COMMAND 'dsconf plugin root-dn status'
usage: dsconf [-v] [-j] instance plugin root-dn status [-h]
๐ฅ COMMAND 'dsconf plugin root-dn set'
this is the big one where you actually write the guest list. so many options, so much power, main character energy fr fr:
usage: dsconf [-v] [-j] instance plugin root-dn set [-h]
[--allow-host
ALLOW_HOST [ALLOW_HOST ...]]
[--deny-host
DENY_HOST [DENY_HOST ...]]
[--allow-ip ALLOW_IP
[ALLOW_IP ...]]
[--deny-ip DENY_IP
[DENY_IP ...]]
[--open-time
OPEN_TIME]
[--close-time
CLOSE_TIME]
[--days-allowed
DAYS_ALLOWED]
OPTIONS 'dsconf plugin root-dn set'
--allow-host ALLOW_HOST [ALLOW_HOST ...]โ sets which hosts, by fully-qualified domain name, the root user is allowed to use to access Directory Server. any hosts not listed are implicitly denied. ๐ (that'srootdn-allow-host)--deny-host DENY_HOST [DENY_HOST ...]โ sets which hosts, by fully-qualified domain name, the root user is not allowed to use to access Directory Server. any hosts not listed are implicitly allowed. (that'srootdn-deny-host) โ ๏ธ and listen: if a host address shows up in bothrootdn-allow-hostandrootdn-deny-host, it gets denied access. deny wins, periodt.--allow-ip ALLOW_IP [ALLOW_IP ...]โ sets which IP addresses, either IPv4 or IPv6, for machines the root user is allowed to use to access Directory Server. any IP addresses not listed are implicitly denied. (that'srootdn-allow-ip)--deny-ip DENY_IP [DENY_IP ...]โ sets which IP addresses, either IPv4 or IPv6, for machines the root user is not allowed to use to access Directory Server. any IP addresses not listed are implicitly allowed. (that'srootdn-deny-ip) โ ๏ธ same rule as the host one: if an IP address is listed in bothrootdn-allow-ipandrootdn-deny-ip, it is denied access.--open-time OPEN_TIMEโ sets part of a time period or range when the root user is allowed to access Directory Server. this one sets when the time-based access begins. (that'srootdn-open- time)--close-time CLOSE_TIMEโ sets part of a time period or range when the root user is allowed to access Directory Server. this one sets when the time-based access ends. (that'srootdn-close- time)--days-allowed DAYS_ALLOWEDโ sets a comma-separated list of what days the root user is allowed to use to access Directory Server. any days listed are implicitly denied. (that'srootdn-days- allowed)
๐ COMMAND 'dsconf plugin usn'
the USN plug-in! unique sequence numbers, living their best life. here's the whole roster:
usage: dsconf [-v] [-j] instance plugin usn [-h]
{show,enable,disable,status,global,cleanup}
...
POSITIONAL ARGUMENTS 'dsconf plugin usn'
dsconf plugin usn showโ displays the plugin configurationdsconf plugin usn enableโ enables the plugindsconf plugin usn disableโ disables the plugindsconf plugin usn statusโ displays the plugin statusdsconf plugin usn globalโ get or manage global USN mode (nsslapd-entryusn-global)dsconf plugin usn cleanupโ runs the USN tombstone cleanup task
COMMAND 'dsconf plugin usn show'
usage: dsconf [-v] [-j] instance plugin usn show [-h]
COMMAND 'dsconf plugin usn enable'
usage: dsconf [-v] [-j] instance plugin usn enable [-h]
COMMAND 'dsconf plugin usn disable'
usage: dsconf [-v] [-j] instance plugin usn disable [-h]
COMMAND 'dsconf plugin usn status'
usage: dsconf [-v] [-j] instance plugin usn status [-h]
๐ง COMMAND 'dsconf plugin usn global'
global mode moment. it's on or it's off, no in-between:
usage: dsconf [-v] [-j] instance plugin usn global [-h] {on,off} ...
POSITIONAL ARGUMENTS 'dsconf plugin usn global'
dsconf plugin usn global onโ enables USN global modedsconf plugin usn global offโ disables USN global mode
COMMAND 'dsconf plugin usn global on'
usage: dsconf [-v] [-j] instance plugin usn global on [-h]
COMMAND 'dsconf plugin usn global off'
usage: dsconf [-v] [-j] instance plugin usn global off [-h]
๐ COMMAND 'dsconf plugin usn cleanup'
sweeping up those tombstones ๐ชฆโจ โ and bestie, heads up, you must give it either a suffix or a backend:
usage: dsconf [-v] [-j] instance plugin usn cleanup [-h] (-s SUFFIX |
-n BACKEND) [-m
MAX_USN]
[--timeout TIMEOUT]
OPTIONS 'dsconf plugin usn cleanup'
-s SUFFIX,--suffix SUFFIXโ sets the suffix or subtree in Directory Server to run the cleanup operation against. if the suffix is not specified, then the back end must be specified. (that'ssuffix)-n BACKEND,--backend BACKENDโ sets the Directory Server instance back end, or database, to run the cleanup operation against. if the back end is not specified, then the suffix must be specified. Backend instance in which USN tombstone entries (that'sbackend)-m MAX_USN,--max-usn MAX_USNโ sets the highest USN value to delete when removing tombstone entries. (that'smax_usn_to_delete)--timeout TIMEOUTโ sets the cleanup task timeout. Default is120seconds,
๐ COMMAND 'dsconf plugin account-policy'
account policy time! rules for accounts, the responsible icon behavior. look at this subcommand lineup:
usage: dsconf [-v] [-j] instance plugin account-policy [-h]
{show,enable,disable,status,set,config-entry}
...
POSITIONAL ARGUMENTS 'dsconf plugin account-policy'
dsconf plugin account-policy showโ displays the plugin configurationdsconf plugin account-policy enableโ enables the plugindsconf plugin account-policy disableโ disables the plugindsconf plugin account-policy statusโ displays the plugin statusdsconf plugin account-policy setโ edit the plugin settingsdsconf plugin account-policy config-entryโ manage the config entry
COMMAND 'dsconf plugin account-policy show'
usage: dsconf [-v] [-j] instance plugin account-policy show [-h]
COMMAND 'dsconf plugin account-policy enable'
usage: dsconf [-v] [-j] instance plugin account-policy enable [-h]
COMMAND 'dsconf plugin account-policy disable'
usage: dsconf [-v] [-j] instance plugin account-policy disable [-h]
and that's where we pause, bestie โ there's more coming, don't you dare close the tab ๐
โจ COMMAND 'dsconf plugin account-policy status' โจ
okay bestie, vibe check on the account policy plugin โ is it alive, is it dead, what's the tea? This one just peeks at it. ๐ซถ
usage: dsconf [-v] [-j] instance plugin account-policy status [-h]
๐ธ COMMAND 'dsconf plugin account-policy set' ๐ธ
Customizing the plugin's setup. It takes exactly one knob, and that knob is about which entry holds the config. ๐
usage: dsconf [-v] [-j] instance plugin account-policy set [-h]
[--config-entry
CONFIG_ENTRY]
โญ OPTIONS 'dsconf plugin account-policy set' โญ
--config-entry CONFIG_ENTRYโ sets thensslapd-pluginarg0attribute. That's the one. That's the whole job. ๐
๐ฆ COMMAND 'dsconf plugin account-policy config-entry' ๐ฆ
The big one โ this is where you actually manage the config entry itself, and it's got a whole little command family under it: {add,set,show,delete}. Main character energy fr fr. ๐
usage: dsconf [-v] [-j] instance plugin account-policy config-entry
[-h] {add,set,show,delete} ...
๐ POSITIONAL ARGUMENTS 'dsconf plugin account-policy config-entry' ๐
dsconf plugin account-policy config-entry addโ add the config entry โจdsconf plugin account-policy config-entry setโ edit the config entry โ๏ธdsconf plugin account-policy config-entry showโ display the config entry ๐dsconf plugin account-policy config-entry deleteโ delete the config entry and remove the reference in the plugin entry. So it cleans up after itself, we love a tidy icon. ๐งน
๐ COMMAND 'dsconf plugin account-policy config-entry add' ๐
Brand new config entry, freshly made, no cap. You give it a DN and it takes a whole pile of settings. ๐
usage: dsconf [-v] [-j] instance plugin account-policy config-entry add
[-h] [--always-record-login {yes,no}] [--alt-state-attr
ALT_STATE_ATTR]
[--always-record-login-attr ALWAYS_RECORD_LOGIN_ATTR]
[--limit-attr LIMIT_ATTR] [--spec-attr SPEC_ATTR]
[--state-attr STATE_ATTR] [--login-history-size
LOGIN_HISTORY_SIZE]
[--check-all-state-attrs {yes,no}]
DN
- DN โ the full DN of the config entry. Literally what it says, the whole thing, not a vibe, an actual DN. ๐
โจ OPTIONS 'dsconf plugin account-policy config-entry add' โจ
--always-record-login {yes,no}โ sets that every entry records its last login time (alwaysRecordLogin). Yes = everybody's timestamped, no = we move mysterious. ๐--alt-state-attr ALT_STATE_ATTRโ provides a backup attribute for the server to reference to evaluate the expiration time (altStateAttrName). Backup plan, always prepared. ๐ซถ--always-record-login-attr ALWAYS_RECORD_LOGIN_ATTRโ specifies the attribute to store the time of the last successful login in this attribute in the users directory entry (alwaysRecordLoginAttr). That's where the login time gets written, iykyk. โญ--limit-attr LIMIT_ATTRโ specifies the attribute within the policy to use for the account inactivation limit (limitAttrName). When the account gets the little sleep, this is the att r that says so. ๐ญ--spec-attr SPEC_ATTRโ specifies the attribute to identify which entries are account policy configuration entries (specAttrName). It's the "I'm a config entry" name tag. ๐ท๏ธ--state-attr STATE_ATTRโ specifies the primary time attribute used to evaluate an account policy (stateAttrName). The main clock, the one that matters. ๐ฅ--login-history-size LOGIN_HISTORY_SIZEโ specifies the number of login timestamps to store (lastLoginHistorySize). How deep the receipts go. ๐--check-all-state-attrs {yes,no}โ check both state and alternate state attributes for account state. Two attrs, one check. ๐
๐ COMMAND 'dsconf plugin account-policy config-entry set' ๐
Same energy as add, but you're editing something that already exists. Glow up for your config entry. ๐ธ
usage: dsconf [-v] [-j] instance plugin account-policy config-entry set
[-h] [--always-record-login {yes,no}] [--alt-state-attr
ALT_STATE_ATTR]
[--always-record-login-attr ALWAYS_RECORD_LOGIN_ATTR]
[--limit-attr LIMIT_ATTR] [--spec-attr SPEC_ATTR]
[--state-attr STATE_ATTR] [--login-history-size
LOGIN_HISTORY_SIZE]
[--check-all-state-attrs {yes,no}]
DN
- DN โ the full DN of the config entry. Yes, again. It's the address, bestie. ๐
๐ OPTIONS 'dsconf plugin account-policy config-entry set' ๐
--always-record-login {yes,no}โ sets that every entry records its last login time (alwaysRecordLogin). โฐ--alt-state-attr ALT_STATE_ATTRโ provides a backup attribute for the server to reference to evaluate the expiration time (altStateAttrName). ๐--always-record-login-attr ALWAYS_RECORD_LOGIN_ATTRโ specifies the attribute to store the time of the last successful login in this attribute in the users directory entry (alwaysRecordLoginAttr). โ๏ธ--limit-attr LIMIT_ATTRโ specifies the attribute within the policy to use for the account inactivation limit (limitAttrName). โ--spec-attr SPEC_ATTRโ specifies the attribute to identify which entries are account policy configuration entries (specAttrName). ๐ท๏ธ--state-attr STATE_ATTRโ specifies the primary time attribute used to evaluate an account policy (stateAttrName). ๐ฐ๏ธ--login-history-size LOGIN_HISTORY_SIZEโ specifies the number of login timestamps to store (lastLoginHistorySize). ๐--check-all-state-attrs {yes,no}โ check both state and alternate state attributes for account state. โ
๐ COMMAND 'dsconf plugin account-policy config-entry show' ๐
Just show me the config entry. That's it. That's the whole command. She's lowkey simple and we respect her for it. ๐
usage: dsconf [-v] [-j] instance plugin account-policy config-entry show
[-h] DN
- DN โ the full DN of the config entry. ๐ซ
๐๏ธ COMMAND 'dsconf plugin account-policy config-entry delete' ๐๏ธ
Gone. Deleted. Not coming back. And remember, this one also yanks out the reference in the plugin entry, so nothing's left dangling. Clean exit, iconic behavior. ๐ฅ
usage: dsconf [-v] [-j] instance plugin account-policy config-entry
delete
[-h] DN
- DN โ the full DN of the config entry. ๐
๐ฆ COMMAND 'dsconf plugin attr-uniq' ๐ฆ
attribute uniqueness time!! This plugin's whole deal is making sure a value shows up exactly once and nowhere else. It's got a whole command tree so you can poke at individual configs. ๐
usage: dsconf [-v] [-j] instance plugin attr-uniq [-h]
{list,add,set,show,delete,enable,disable,status}
...
๐ POSITIONAL ARGUMENTS 'dsconf plugin attr-uniq' ๐
dsconf plugin attr-uniq listโ lists available plugin configs ๐dsconf plugin attr-uniq addโ add the config entry โdsconf plugin attr-uniq setโ edit the config entry โ๏ธdsconf plugin attr-uniq showโ display the config entry ๐dsconf plugin attr-uniq deleteโ delete the config entry ๐๏ธdsconf plugin attr-uniq enableโ enable plugin ๐ขdsconf plugin attr-uniq disableโ disable plugin ๐ดdsconf plugin attr-uniq statusโ display plugin status ๐
๐ COMMAND 'dsconf plugin attr-uniq list' ๐
Shows you all the available plugin configs. No arguments, no drama, just a list. ๐
usage: dsconf [-v] [-j] instance plugin attr-uniq list [-h]
๐ COMMAND 'dsconf plugin attr-uniq add' ๐
Making a fresh uniqueness config. It's got so many options and honestly every single one of them is doing something real. ๐ซถ
usage: dsconf [-v] [-j] instance plugin attr-uniq add [-h]
[--enabled
{on,off}]
[--attr-name
ATTR_NAME [ATTR_NAME ...]]
[--subtree SUBTREE
[SUBTREE ...]]
[--exclude-subtree
EXCLUDE_SUBTREE [EXCLUDE_SUBTREE ...]]
[--across-all-subtrees
{on,off}]
[--top-entry-oc
TOP_ENTRY_OC]
[--subtree-entries-oc
SUBTREE_ENTRIES_OC]
NAME
- NAME โ the name of the plug-in configuration record. (
cn) You can use any string, but"attribute_name Attribute Uniqueness"is recommended. Like, literally any string works, but that format is the moment. โญ
โจ OPTIONS 'dsconf plugin attr-uniq add' โจ
--enabled {on,off}โ identifies whether or not the config is enabled. ๐ข--attr-name ATTR_NAME [ATTR_NAME ...]โ sets the name of the attribute whose values must be unique. This attribute is multi-valued. (uniqueness-attribute-name) โ and yes, it's multi-valued, so you can stack them. ๐--subtree SUBTREE [SUBTREE ...]โ sets the DN under which the plug-in checks for uniqueness of the attributes value. This attribute is multi-valued (uniqueness-subtrees). Multi-valued again, we love options. ๐ณ--exclude-subtree EXCLUDE_SUBTREE [EXCLUDE_SUBTREE ...]โ sets subtrees that should be excluded from attribute uniqueness checks. This attribute is multi-valued (uniqueness-exclude-subtrees). The "not these ones" list. ๐ซ--across-all-subtrees {on,off}โ if enabled (on), the plug-in checks that the attribute is unique across all subtrees set. If you set the attribute tooff, uniqueness is only enforced within the subtree of the updated entry (uniqueness-across-all-subtrees). So: one big check, or one small check. Big difference. ๐--top-entry-oc TOP_ENTRY_OCโ verifies that the value of the attribute set inuniqueness-attribute-nameis unique in this subtree (uniqueness-top-entry-oc). ๐ฏ--subtree-entries-oc SUBTREE_ENTRIES_OCโ verifies if an attribute is unique, if the entry contains the object class set in this parameter (uniqueness-subtree-entries-oc). Conditional uniqueness, fancy. ๐
๐ธ COMMAND 'dsconf plugin attr-uniq set' ๐ธ
Editing an existing uniqueness config instead of making a new one. Same option set, same energy, just applied to something that already exists. ๐ฆ
usage: dsconf [-v] [-j] instance plugin attr-uniq set [-h]
[--enabled
{on,off}]
[--attr-name
ATTR_NAME [ATTR_NAME ...]]
[--subtree SUBTREE
[SUBTREE ...]]
[--exclude-subtree
EXCLUDE_SUBTREE [EXCLUDE_SUBTREE ...]]
[--across-all-subtrees
{on,off}]
[--top-entry-oc
TOP_ENTRY_OC]
[--subtree-entries-oc
SUBTREE_ENTRIES_OC]
NAME
- NAME โ the name of the plug-in configuration record. (
cn) You can use any string, but"attribute_name Attribute Uniqueness"is recommended. ๐
๐ OPTIONS 'dsconf plugin attr-uniq set' ๐
--enabled {on,off}โ identifies whether or not the config is enabled. โก--attr-name ATTR_NAME [ATTR_NAME ...]โ sets the name of the attribute whose values must be unique. This attribute is multi-valued. (uniqueness-attribute-name) ๐--subtree SUBTREE [SUBTREE ...]โ sets the DN under which the plug-in checks for uniqueness of the attributes value. This attribute is multi-valued (uniqueness-subtrees). ๐ฒ--exclude-subtree EXCLUDE_SUBTREE [EXCLUDE_SUBTREE ...]โ sets subtrees that should be excluded from attribute uniqueness checks. This attribute is multi-valued (uniqueness-exclude-subtrees). ๐--across-all-subtrees {on,off}โ if enabled (on), the plug-in checks that the attribute is unique across all subtrees set. If you set the attribute tooff, uniqueness is only enforced within the subtree of the updated entry (uniqueness-across-all-subtrees). ๐ช--top-entry-oc TOP_ENTRY_OCโ verifies that the value of the attribute set inuniqueness-attribute-nameis unique in this subtree (uniqueness-top-entry-oc). ๐--subtree-entries-oc SUBTREE_ENTRIES_OCโ verifies if an attribute is unique, if the entry contains the object class set in this parameter (uniqueness-subtree-entries-oc). ๐ง
๐ COMMAND 'dsconf plugin attr-uniq show' ๐
Pulls up one config record so you can look at it. Just the name, nothing else. ๐
usage: dsconf [-v] [-j] instance plugin attr-uniq show [-h] NAME
- NAME โ the name of the plug-in configuration record. ๐ท๏ธ
๐ COMMAND 'dsconf plugin attr-uniq delete' ๐
Deleting a plug-in configuration record. Give it the name, it's out. Periodt. ๐ฅ
usage: dsconf [-v] [-j] instance plugin attr-uniq delete [-h] NAME
- NAME โ the name of the plug-in configuration record. โจ
COMMAND dsconf plugin attr-uniq enable
usage: dsconf [-v] [-j] instance plugin attr-uniq enable [-h] NAME
NAMEโ the name of the plug-in configuration record ๐
COMMAND dsconf plugin attr-uniq disable
usage: dsconf [-v] [-j] instance plugin attr-uniq disable [-h] NAME
NAMEโ the name of the plug-in configuration record ๐
COMMAND dsconf plugin attr-uniq status
usage: dsconf [-v] [-j] instance plugin attr-uniq status [-h] NAME
NAMEโ the name of the plug-in configuration record โจ
COMMAND dsconf plugin dna
okay bestie, and now we get to the DNA plugin โ yes, distributed numeric assignment, the plug-in that hands out numbers so no two servers ever fight over the same one. ๐งฌ๐
usage: dsconf [-v] [-j] instance plugin dna [-h]
{show,enable,disable,status,list,config}
...
POSITIONAL ARGUMENTS dsconf plugin dna
dsconf plugin dna showโ displays the plugin configuration ๐dsconf plugin dna enableโ enables the plugin ๐ฅdsconf plugin dna disableโ disables the plugin ๐dsconf plugin dna statusโ displays the plugin status ๐ก๏ธdsconf plugin dna listโ list available plugin configs ๐dsconf plugin dna configโ manage plugin configs โ๏ธ
COMMAND dsconf plugin dna show
usage: dsconf [-v] [-j] instance plugin dna show [-h]
COMMAND dsconf plugin dna enable
usage: dsconf [-v] [-j] instance plugin dna enable [-h]
COMMAND dsconf plugin dna disable
usage: dsconf [-v] [-j] instance plugin dna disable [-h]
COMMAND dsconf plugin dna status
usage: dsconf [-v] [-j] instance plugin dna status [-h]
COMMAND dsconf plugin dna list
usage: dsconf [-v] [-j] instance plugin dna list [-h]
{configs,shared-configs}
...
POSITIONAL ARGUMENTS dsconf plugin dna list
dsconf plugin dna list configsโ list main DNA plugin config entries ๐๏ธdsconf plugin dna list shared-configsโ list DNA plugin shared config entries ๐ค
COMMAND dsconf plugin dna list configs
usage: dsconf [-v] [-j] instance plugin dna list configs [-h]
COMMAND dsconf plugin dna list shared-configs
usage: dsconf [-v] [-j] instance plugin dna list shared-configs [-h]
BASEDN
BASEDNโ the search DN ๐
COMMAND dsconf plugin dna config
usage: dsconf [-v] [-j] instance plugin dna config [-h]
NAME
{add,set,show,delete,shared-config-entry}
...
POSITIONAL ARGUMENTS dsconf plugin dna config
dsconf plugin dna config addโ add the config entry โdsconf plugin dna config setโ edit the config entry ๐dsconf plugin dna config showโ display the config entry ๐dsconf plugin dna config deleteโ delete the config entry ๐๏ธdsconf plugin dna config shared-config-entryโ manage the shared config entry ๐ค
COMMAND dsconf plugin dna config add
usage: dsconf [-v] [-j] instance plugin dna config NAME add
[-h] [--type TYPE [TYPE ...]] [--prefix PREFIX]
[--next-value NEXT_VALUE] [--max-value MAX_VALUE] [--interval
INTERVAL]
[--magic-regen MAGIC_REGEN] [--filter FILTER] [--scope SCOPE]
[--remote-bind-dn REMOTE_BIND_DN] [--remote-bind-cred
REMOTE_BIND_CRED]
[--shared-config-entry SHARED_CONFIG_ENTRY] [--threshold
THRESHOLD]
[--next-range NEXT_RANGE]
[--range-request-timeout RANGE_REQUEST_TIMEOUT]
OPTIONS dsconf plugin dna config add
--type TYPE [TYPE ...]โ sets which attributes have unique numbers being generated for them (dnaType) ๐ข--prefix PREFIXโ defines a prefix that can be prepended to the generated number values for the attribute (dnaPrefix) ๐ท๏ธ--next-value NEXT_VALUEโ sets the next available number which can be assigned (dnaNextValue) โญ๏ธ--max-value MAX_VALUEโ sets the maximum value that can be assigned for the range (dnaMaxValue) ๐--interval INTERVALโ sets an interval to use to increment through numbers in a range (dnaInterval) ๐--magic-regen MAGIC_REGENโ sets a user-defined value that instructs the plug-in to assign a new value for the entry (dnaMagicRegen) ๐ช--filter FILTERโ sets an LDAP filter to use to search for and identify the entries to which to apply the distributed numeric assignment range (dnaFilter) ๐--scope SCOPEโ sets the base DN to search for entries to which to apply the distributed numeric assignment (dnaScope) ๐ณ--remote-bind-dn REMOTE_BIND_DNโ specifies the Replication Manager DN (dnaRemoteBindDN) ๐--remote-bind-cred REMOTE_BIND_CREDโ specifies the Replication Manager's password (dnaRemoteBindCred) ๐คซ--shared-config-entry SHARED_CONFIG_ENTRYโ defines a shared identity that the servers can use to transfer ranges to one another (dnaSharedCfgDN) ๐ค--threshold THRESHOLDโ sets a threshold of remaining available numbers in the range. When the server hits the threshold, it sends a request for a new range (dnaThreshold) ๐จ--next-range NEXT_RANGEโ defines the next range to use when the current range is exhausted (dnaNextRange) โญ๏ธ--range-request-timeout RANGE_REQUEST_TIMEOUTโ sets a timeout period, in seconds, for range requests so that the server does not stall waiting on a new range from one server and can request a range from a new server (dnaRangeRequestTimeout) โฑ๏ธ
COMMAND dsconf plugin dna config set
usage: dsconf [-v] [-j] instance plugin dna config NAME set
[-h] [--type TYPE [TYPE ...]] [--prefix PREFIX]
[--next-value NEXT_VALUE] [--max-value MAX_VALUE] [--interval
INTERVAL]
[--magic-regen MAGIC_REGEN] [--filter FILTER] [--scope SCOPE]
[--remote-bind-dn REMOTE_BIND_DN] [--remote-bind-cred
REMOTE_BIND_CRED]
[--shared-config-entry SHARED_CONFIG_ENTRY] [--threshold
THRESHOLD]
[--next-range NEXT_RANGE]
[--range-request-timeout RANGE_REQUEST_TIMEOUT]
OPTIONS dsconf plugin dna config set
same flags, same energy, but now you're editing instead of creating:
--type TYPE [TYPE ...]โ sets which attributes have unique numbers being generated for them (dnaType) ๐ข--prefix PREFIXโ defines a prefix that can be prepended to the generated number values for the attribute (dnaPrefix) ๐ท๏ธ--next-value NEXT_VALUEโ sets the next available number which can be assigned (dnaNextValue) โญ๏ธ--max-value MAX_VALUEโ sets the maximum value that can be assigned for the range (dnaMaxValue) ๐--interval INTERVALโ sets an interval to use to increment through numbers in a range (dnaInterval) ๐--magic-regen MAGIC_REGENโ sets a user-defined value that instructs the plug-in to assign a new value for the entry (dnaMagicRegen) ๐ช--filter FILTERโ sets an LDAP filter to use to search for and identify the entries to which to apply the distributed numeric assignment range (dnaFilter) ๐--scope SCOPEโ sets the base DN to search for entries to which to apply the distributed numeric assignment (dnaScope) ๐ณ--remote-bind-dn REMOTE_BIND_DNโ specifies the Replication Manager DN (dnaRemoteBindDN) ๐--remote-bind-cred REMOTE_BIND_CREDโ specifies the Replication Manager's password (dnaRemoteBindCred) ๐คซ--shared-config-entry SHARED_CONFIG_ENTRYโ defines a shared identity that the servers can use to transfer ranges to one another (dnaSharedCfgDN) ๐ค--threshold THRESHOLDโ sets a threshold of remaining available numbers in the range. When the server hits the threshold, it sends a request for a new range (dnaThreshold) ๐จ--next-range NEXT_RANGEโ defines the next range to use when the current range is exhausted (dnaNextRange) โญ๏ธ--range-request-timeout RANGE_REQUEST_TIMEOUTโ sets a timeout period, in seconds, for range requests so that the server does not stall waiting on a new range from one server and can request a range from a new server (dnaRangeRequestTimeout) โฑ๏ธ
COMMAND dsconf plugin dna config show
usage: dsconf [-v] [-j] instance plugin dna config NAME show [-h]
COMMAND dsconf plugin dna config delete
usage: dsconf [-v] [-j] instance plugin dna config NAME delete [-h]
COMMAND dsconf plugin dna config shared-config-entry
usage: dsconf [-v] [-j] instance plugin dna config NAME
shared-config-entry
[-h] SHARED_CFG {set,show,delete} ...
POSITIONAL ARGUMENTS dsconf plugin dna config shared-config-entry
dsconf plugin dna config shared-config-entry setโ edit the shared config entry ๐dsconf plugin dna config shared-config-entry showโ display the shared config entry ๐dsconf plugin dna config shared-config-entry deleteโ delete the shared config entry ๐๏ธ
COMMAND dsconf plugin dna config shared-config-entry set
usage: dsconf [-v] [-j] instance plugin dna config NAME
shared-config-entry SHARED_CFG set
[-h] [--remote-bind-method REMOTE_BIND_METHOD]
[--remote-conn-protocol REMOTE_CONN_PROTOCOL]
OPTIONS dsconf plugin dna config shared-config-entry set
--remote-bind-method REMOTE_BIND_METHODโ specifies the remote bind method"SIMPLE","SSL"(for SSL client auth),"SASL/GSSAPI", or"SASL/DIGEST-MD5"(dnaRemoteBindMethod) ๐--remote-conn-protocol REMOTE_CONN_PROTOCOLโ specifies the remote connection protocol"LDAP", or"TLS"(dnaRemoteConnProtocol) ๐
COMMAND dsconf plugin dna config shared-config-entry show
usage: dsconf [-v] [-j] instance plugin dna config NAME
shared-config-entry SHARED_CFG show
[-h]
COMMAND dsconf plugin dna config shared-config-entry delete
usage: dsconf [-v] [-j] instance plugin dna config NAME
shared-config-entry SHARED_CFG delete
[-h]
COMMAND dsconf plugin ldap-pass-through-auth
next up, bestie, it's the LDAP pass-through auth plug-in โ the one that lets your directory go "hmm, not my credentials, let me go ask someone else" ๐ญโจ
usage: dsconf instance [-v] [-j] plugin ldap-pass-through-auth
[-h] {show,enable,disable,status,list,add,modify,delete} ...
POSITIONAL ARGUMENTS dsconf plugin ldap-pass-through-auth
dsconf plugin ldap-pass-through-auth showโ displays the plugin configuration ๐dsconf plugin ldap-pass-through-auth enableโ enables the plugin ๐ฅdsconf plugin ldap-pass-through-auth disableโ disables the plugin ๐dsconf plugin ldap-pass-through-auth statusโ displays the plugin status ๐ก๏ธdsconf plugin ldap-pass-through-auth listโ lists LDAP URLs ๐dsconf plugin ldap-pass-through-auth addโ add an LDAP url to the config entry โdsconf plugin ldap-pass-through-auth modifyโ edit the LDAP pass through config entry โ๏ธdsconf plugin ldap-pass-through-auth deleteโ delete a URL from the config entry ๐๏ธ
COMMAND dsconf plugin ldap-pass-through-auth show
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth show [-h]
COMMAND 'dsconf plugin ldap-pass-through-auth enable'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth enable
[-h]
COMMAND 'dsconf plugin ldap-pass-through-auth disable'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth disable
[-h]
COMMAND 'dsconf plugin ldap-pass-through-auth status'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth status
[-h]
COMMAND 'dsconf plugin ldap-pass-through-auth list'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth list [-h]
COMMAND 'dsconf plugin ldap-pass-through-auth add'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth add [-h]
URL
- URL โ bestie this is the full LDAP URL, and the format is LOCKED IN:
"ldap|ldaps://authDS/subtree maxconns,maxops,timeout,ldver,connlifetime,startTLS". And listen ๐ if you specify even ONE of those optional parameters, you have to specify the rest too. All or nothing, no in-between. Periodt.
COMMAND 'dsconf plugin ldap-pass-through-auth modify'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth modify
[-h] OLD_URL NEW_URL
- OLD_URL โ the full LDAP URL you grab from the
"list"command ๐ - NEW_URL โ sets the full LDAP URL in the format
"ldap|ldaps://authDS/subtree maxconns,maxops,timeout,ldver,connlifetime,startTLS". And yeah, same rule as before: if one optional parameter is specified the rest should be specified too ๐ซถ
COMMAND 'dsconf plugin ldap-pass-through-auth delete'
usage: dsconf [-v] [-j] instance plugin ldap-pass-through-auth delete
[-h] URL
- URL โ the full LDAP URL you get from the
"list"command, bestie.
COMMAND 'dsconf plugin linked-attr'
usage: dsconf [-v] [-j] instance plugin linked-attr [-h]
{show,enable,disable,status,fixup,fixup-status,list,config}
...
POSITIONAL ARGUMENTS 'dsconf plugin linked-attr'
dsconf plugin linked-attr showโ shows you the plugin config, the whole vibe โจdsconf plugin linked-attr enableโ turns the plugin ON ๐dsconf plugin linked-attr disableโ turns the plugin OFF ๐dsconf plugin linked-attr statusโ tells you the plugin's status, the vibe check ๐ธdsconf plugin linked-attr fixupโ runs the fix-up task for the linked attributes plugin ๐ฅdsconf plugin linked-attr fixup-statusโ checks how that fix-up task is doingdsconf plugin linked-attr listโ lists the available plugin configsdsconf plugin linked-attr configโ manages the plugin configs, main character energy
COMMAND 'dsconf plugin linked-attr show'
usage: dsconf [-v] [-j] instance plugin linked-attr show [-h]
COMMAND 'dsconf plugin linked-attr enable'
usage: dsconf [-v] [-j] instance plugin linked-attr enable [-h]
COMMAND 'dsconf plugin linked-attr disable'
usage: dsconf [-v] [-j] instance plugin linked-attr disable [-h]
COMMAND 'dsconf plugin linked-attr status'
usage: dsconf [-v] [-j] instance plugin linked-attr status [-h]
COMMAND 'dsconf plugin linked-attr fixup'
usage: dsconf [-v] [-j] instance plugin linked-attr fixup [-h] [-l
LINKDN]
[--wait]
OPTIONS 'dsconf plugin linked-attr fixup'
-l LINKDN,--linkdn LINKDNโ sets the base DN that contains entries to fix up ๐--waitโ waits for the task to finish. ngl this could take a long time, so maybe go get a snack first ๐
COMMAND 'dsconf plugin linked-attr fixup-status'
usage: dsconf [-v] [-j] instance plugin linked-attr fixup-status
[-h] [--dn DN] [--show-log] [--watch]
OPTIONS 'dsconf plugin linked-attr fixup-status'
--dn DNโ the task entry's DN--show-logโ displays the task log, receipts and all ๐ง--watchโ watches the task's status and waits for it to finish, like you're refreshing the group chat ๐
COMMAND 'dsconf plugin linked-attr list'
usage: dsconf [-v] [-j] instance plugin linked-attr list [-h]
COMMAND 'dsconf plugin linked-attr config'
usage: dsconf [-v] [-j] instance plugin linked-attr config [-h]
NAME
{add,set,show,delete}
...
POSITIONAL ARGUMENTS 'dsconf plugin linked-attr config'
dsconf plugin linked-attr config addโ adds the config entry ๐dsconf plugin linked-attr config setโ edits the config entrydsconf plugin linked-attr config showโ displays the config entrydsconf plugin linked-attr config deleteโ deletes the config entry, bye bestie ๐
COMMAND 'dsconf plugin linked-attr config add'
usage: dsconf [-v] [-j] instance plugin linked-attr config NAME add
[-h] [--link-type LINK_TYPE] [--managed-type MANAGED_TYPE]
[--link-scope LINK_SCOPE]
OPTIONS 'dsconf plugin linked-attr config add'
--link-type LINK_TYPEโ sets the attribute that is managed manually by administrators (linkType)--managed-type MANAGED_TYPEโ sets the attribute that is created dynamically by the plugin (managedType) โจ--link-scope LINK_SCOPEโ sets the scope that restricts the plugin to a specific part of the directory tree (linkScope)
COMMAND 'dsconf plugin linked-attr config set'
usage: dsconf [-v] [-j] instance plugin linked-attr config NAME set
[-h] [--link-type LINK_TYPE] [--managed-type MANAGED_TYPE]
[--link-scope LINK_SCOPE]
OPTIONS 'dsconf plugin linked-attr config set'
--link-type LINK_TYPEโ sets the attribute that is managed manually by administrators (linkType)--managed-type MANAGED_TYPEโ sets the attribute that is created dynamically by the plugin (managedType) โจ--link-scope LINK_SCOPEโ sets the scope that restricts the plugin to a specific part of the directory tree (linkScope)
COMMAND 'dsconf plugin linked-attr config show'
usage: dsconf [-v] [-j] instance plugin linked-attr config NAME show
[-h]
COMMAND 'dsconf plugin linked-attr config delete'
usage: dsconf [-v] [-j] instance plugin linked-attr config NAME delete
[-h]
COMMAND 'dsconf plugin managed-entries'
usage: dsconf [-v] [-j] instance plugin managed-entries [-h]
{show,enable,disable,status,set,list,config,template}
...
POSITIONAL ARGUMENTS 'dsconf plugin managed-entries'
dsconf plugin managed-entries showโ displays the plugin configuration ๐dsconf plugin managed-entries enableโ enables the plugindsconf plugin managed-entries disableโ disables the plugindsconf plugin managed-entries statusโ displays the plugin statusdsconf plugin managed-entries setโ edits the plugin settingsdsconf plugin managed-entries listโ lists Managed Entries Plugin configs and templatesdsconf plugin managed-entries configโ handles Managed Entries Plugin configsdsconf plugin managed-entries templateโ handles Managed Entries Plugin templates ๐
COMMAND 'dsconf plugin managed-entries show'
usage: dsconf [-v] [-j] instance plugin managed-entries show [-h]
COMMAND 'dsconf plugin managed-entries enable'
usage: dsconf [-v] [-j] instance plugin managed-entries enable [-h]
COMMAND 'dsconf plugin managed-entries disable'
usage: dsconf [-v] [-j] instance plugin managed-entries disable [-h]
COMMAND 'dsconf plugin managed-entries status'
usage: dsconf [-v] [-j] instance plugin managed-entries status [-h]
COMMAND 'dsconf plugin managed-entries set'
usage: dsconf [-v] [-j] instance plugin managed-entries set
[-h] [--config-area CONFIG_AREA]
OPTIONS 'dsconf plugin managed-entries set'
--config-area CONFIG_AREAโ sets the value of thensslapd-pluginConfigAreaattribute ๐
COMMAND 'dsconf plugin managed-entries list'
usage: dsconf [-v] [-j] instance plugin managed-entries list
[-h] {configs,templates} ...
POSITIONAL ARGUMENTS 'dsconf plugin managed-entries list'
dsconf plugin managed-entries list configsโ lists Managed Entries Plugin configs (list config-area if specified in the main plugin entry)dsconf plugin managed-entries list templatesโ lists Managed Entries Plugin templates in the directory ๐
COMMAND 'dsconf plugin managed-entries list configs'
usage: dsconf instance [-v] [-j] plugin managed-entries list configs
[-h]
COMMAND 'dsconf plugin managed-entries list templates'
usage: dsconf instance [-v] [-j] plugin managed-entries list templates
[-h] [BASEDN]
- BASEDN โ the base DN where to search the templates ๐
COMMAND 'dsconf plugin managed-entries config'
usage: dsconf [-v] [-j] instance plugin managed-entries config
[-h] NAME {add,set,show,delete} ...
POSITIONAL ARGUMENTS 'dsconf plugin managed-entries config'
dsconf plugin managed-entries config addโ adds the config entry ๐dsconf plugin managed-entries config setโ edits the config entrydsconf plugin managed-entries config showโ displays the config entrydsconf plugin managed-entries config deleteโ deletes the config entry ๐ฆ
COMMAND 'dsconf plugin managed-entries config add'
usage: dsconf [-v] [-j] instance plugin managed-entries config NAME add
[-h] [--scope SCOPE] [--filter FILTER] [--managed-base
MANAGED_BASE]
[--managed-template MANAGED_TEMPLATE]
OPTIONS 'dsconf plugin managed-entries config add'
--scope SCOPEโ sets the scope of the search to use to see which entries the plug-in monitors (originScope)--filter FILTERโ sets the search filter to use to search for and identify the entries within the subtree which require a managed entry (originFilter)--managed-base MANAGED_BASEโ sets the subtree under which to create the managed entries (managedBase)--managed-template MANAGED_TEMPLATEโ identifies the template entry to use to create the managed entry (managedTemplate) โจ
COMMAND 'dsconf plugin managed-entries config set'
usage: dsconf [-v] [-j] instance plugin managed-entries config NAME set
[-h] [--scope SCOPE] [--filter FILTER] [--managed-base
MANAGED_BASE]
[--managed-template MANAGED_TEMPLATE]
OPTIONS 'dsconf plugin managed-entries config set'
--scope SCOPEโ sets the scope of the search to use to see which entries the plug-in monitors (originScope)--filter FILTERโ sets the search filter to use to search for and identify the entries within the subtree which require a managed entry (originFilter)--managed-base MANAGED_BASEโ sets the subtree under which to create the managed entries (managedBase)--managed-template MANAGED_TEMPLATEโ identifies the template entry to use to create the managed entry (managedTemplate) โจ
COMMAND 'dsconf plugin managed-entries config show'
usage: dsconf [-v] [-j] instance plugin managed-entries config NAME show
[-h]
COMMAND 'dsconf plugin managed-entries config delete'
usage: dsconf [-v] [-j] instance plugin managed-entries config NAME
delete
[-h]
โจ COMMAND 'dsconf plugin managed-entries template' โจ
okay bestie, we're in template town now ๐ this is the command that lets you poke at the managed-entries plugin's template entry โ the blueprint the server copies from when it auto-generates new managed entries. here's the shape of it:
usage: dsconf [-v] [-j] instance plugin managed-entries template
[-h] DN {add,set,show,delete} ...
๐ธ POSITIONAL ARGUMENTS 'dsconf plugin managed-entries template' ๐ธ
dsconf plugin managed-entries template addโ Add the template entry โจdsconf plugin managed-entries template setโ Edit the template entry โ๏ธdsconf plugin managed-entries template showโ Display the template entry ๐dsconf plugin managed-entries template deleteโ Delete the template entry ๐๏ธ
๐ COMMAND 'dsconf plugin managed-entries template add' ๐
so you wanna build a brand new template entry from scratch? iconic. here's the invocation:
usage: dsconf [-v] [-j] instance plugin managed-entries template DN add
[-h] [--rdn-attr RDN_ATTR]
[--static-attr STATIC_ATTR [STATIC_ATTR ...]]
[--mapped-attr MAPPED_ATTR [MAPPED_ATTR ...]]
๐ OPTIONS 'dsconf plugin managed-entries template add' ๐
--rdn-attr RDN_ATTRโ Sets which attribute to use as the naming attribute in the automatically- generated entry (mepRDNAttr) ๐ซ--static-attr STATIC_ATTR [STATIC_ATTR ...]โ Sets an attribute with a defined value that must be added to the automatically-generated entry (mepStaticAttr) ๐--mapped-attr MAPPED_ATTR [MAPPED_ATTR ...]โ Sets attributes in the Managed Entries template entry which must exist in the generated entry (mepMappedAttr) ๐บ๏ธ
๐ COMMAND 'dsconf plugin managed-entries template set' ๐
already got a template and just need to tweak it? say less. same flags, different verb:
usage: dsconf [-v] [-j] instance plugin managed-entries template DN set
[-h] [--rdn-attr RDN_ATTR]
[--static-attr STATIC_ATTR [STATIC_ATTR ...]]
[--mapped-attr MAPPED_ATTR [MAPPED_ATTR ...]]
๐ฆ OPTIONS 'dsconf plugin managed-entries template set' ๐ฆ
--rdn-attr RDN_ATTRโ Sets which attribute to use as the naming attribute in the automatically- generated entry (mepRDNAttr) ๐ซ--static-attr STATIC_ATTR [STATIC_ATTR ...]โ Sets an attribute with a defined value that must be added to the automatically-generated entry (mepStaticAttr) ๐--mapped-attr MAPPED_ATTR [MAPPED_ATTR ...]โ Sets attributes in the Managed Entries template entry which must exist in the generated entry (mepMappedAttr) ๐บ๏ธ
๐ COMMAND 'dsconf plugin managed-entries template show' ๐
peek at your template, no notes, just vibes:
usage: dsconf [-v] [-j] instance plugin managed-entries template DN show
[-h]
๐๏ธ COMMAND 'dsconf plugin managed-entries template delete' ๐๏ธ
yeet the template. it's giving gone girl:
usage: dsconf [-v] [-j] instance plugin managed-entries template DN
delete
[-h]
๐ฅ COMMAND 'dsconf plugin pam-pass-through-auth' ๐ฅ
okay new plugin era โ PAM pass-through auth, aka letting PAM handle the auth moment while LDAP stays the directory โจ here's the top-level shape:
usage: dsconf instance [-v] [-j] plugin pam-pass-through-auth
[-h] {show,enable,disable,status,list,config} ...
๐ POSITIONAL ARGUMENTS 'dsconf plugin pam-pass-through-auth' ๐
dsconf plugin pam-pass-through-auth showโ Displays the plugin configuration ๐dsconf plugin pam-pass-through-auth enableโ Enables the plugin โdsconf plugin pam-pass-through-auth disableโ Disables the plugin ๐ซdsconf plugin pam-pass-through-auth statusโ Displays the plugin status ๐dsconf plugin pam-pass-through-auth listโ Lists PAM configurations ๐dsconf plugin pam-pass-through-auth configโ Manage PAM PTA configurations. ๐ ๏ธ
๐ COMMAND 'dsconf plugin pam-pass-through-auth show' ๐
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth show [-h]
โ COMMAND 'dsconf plugin pam-pass-through-auth enable' โ
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth enable
[-h]
๐ซ COMMAND 'dsconf plugin pam-pass-through-auth disable' ๐ซ
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth disable
[-h]
๐ COMMAND 'dsconf plugin pam-pass-through-auth status' ๐
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth status
[-h]
๐ COMMAND 'dsconf plugin pam-pass-through-auth list' ๐
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth list [-h]
๐ ๏ธ COMMAND 'dsconf plugin pam-pass-through-auth config' ๐ ๏ธ
this is where the actual per-config settings live, bestie. you give it a NAME and then pick a verb:
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth config
[-h] NAME {add,set,show,delete} ...
๐ง POSITIONAL ARGUMENTS 'dsconf plugin pam-pass-through-auth config' ๐ง
dsconf plugin pam-pass-through-auth config addโ Add the config entry โจdsconf plugin pam-pass-through-auth config setโ Edit the config entry โ๏ธdsconf plugin pam-pass-through-auth config showโ Display the config entry ๐dsconf plugin pam-pass-through-auth config deleteโ Delete the config entry ๐๏ธ
๐ซ COMMAND 'dsconf plugin pam-pass-through-auth config add' ๐ซ
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth config
NAME add
[-h] [--exclude-suffix EXCLUDE_SUFFIX [EXCLUDE_SUFFIX ...]]
[--include-suffix INCLUDE_SUFFIX [INCLUDE_SUFFIX ...]]
[--missing-suffix {ERROR,ALLOW,IGNORE,delete,}] [--filter FILTER]
[--id-attr ID_ATTR] [--id_map_method ID_MAP_METHOD]
[--fallback {TRUE,FALSE}] [--secure {TRUE,FALSE}] [--service
SERVICE]
๐ OPTIONS 'dsconf plugin pam-pass-through-auth config add' ๐
--exclude-suffix EXCLUDE_SUFFIX [EXCLUDE_SUFFIX ...]โ Specifies a suffix to exclude from PAM authentication (pamExcludeSuffix) ๐ซ--include-suffix INCLUDE_SUFFIX [INCLUDE_SUFFIX ...]โ Sets a suffix to include for PAM authentication (pamIncludeSuffix) โ--missing-suffix {ERROR,ALLOW,IGNORE,delete,}โ Identifies how to handle missing include or exclude suffixes (pamMissingSuffix) ๐ค--filter FILTERโ Sets an LDAP filter to use to identify specific entries within the included suffixes for which to use PAM pass-through authentication (pamFilter) ๐--id-attr ID_ATTRโ Contains the attribute name which is used to hold the PAM user ID (pamIDAttr) ๐--id_map_method ID_MAP_METHODโ Sets the method to use to map the LDAP bind DN to a PAM identity (pamIDMapMethod) ๐บ๏ธ--fallback {TRUE,FALSE}โ Sets whether to fallback to regular LDAP authentication if PAM authentication fails (pamFallback) โฉ๏ธ--secure {TRUE,FALSE}โ Requires secure TLS connection for PAM authentication (pamSecure) ๐--service SERVICEโ Contains the service name to pass to PAM (pamService) ๐๏ธ
โ๏ธ COMMAND 'dsconf plugin pam-pass-through-auth config set' โ๏ธ
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth config
NAME set
[-h] [--exclude-suffix EXCLUDE_SUFFIX [EXCLUDE_SUFFIX ...]]
[--include-suffix INCLUDE_SUFFIX [INCLUDE_SUFFIX ...]]
[--missing-suffix {ERROR,ALLOW,IGNORE,delete,}] [--filter FILTER]
[--id-attr ID_ATTR] [--id_map_method ID_MAP_METHOD]
[--fallback {TRUE,FALSE}] [--secure {TRUE,FALSE}] [--service
SERVICE]
๐ OPTIONS 'dsconf plugin pam-pass-through-auth config set' ๐
--exclude-suffix EXCLUDE_SUFFIX [EXCLUDE_SUFFIX ...]โ Specifies a suffix to exclude from PAM authentication (pamExcludeSuffix) ๐ซ--include-suffix INCLUDE_SUFFIX [INCLUDE_SUFFIX ...]โ Sets a suffix to include for PAM authentication (pamIncludeSuffix) โ--missing-suffix {ERROR,ALLOW,IGNORE,delete,}โ Identifies how to handle missing include or exclude suffixes (pamMissingSuffix) ๐ค--filter FILTERโ Sets an LDAP filter to use to identify specific entries within the included suffixes for which to use PAM pass-through authentication (pamFilter) ๐--id-attr ID_ATTRโ Contains the attribute name which is used to hold the PAM user ID (pamIDAttr) ๐--id_map_method ID_MAP_METHODโ Sets the method to use to map the LDAP bind DN to a PAM identity (pamIDMapMethod) ๐บ๏ธ--fallback {TRUE,FALSE}โ Sets whether to fallback to regular LDAP authentication if PAM authentication fails (pamFallback) โฉ๏ธ--secure {TRUE,FALSE}โ Requires secure TLS connection for PAM authentication (pamSecure) ๐--service SERVICEโ Contains the service name to pass to PAM (pamService) ๐๏ธ
๐ COMMAND 'dsconf plugin pam-pass-through-auth config show' ๐
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth config
NAME show
[-h]
๐๏ธ COMMAND 'dsconf plugin pam-pass-through-auth config delete' ๐๏ธ
usage: dsconf [-v] [-j] instance plugin pam-pass-through-auth config
NAME delete
[-h]
โญ COMMAND 'dsconf plugin retro-changelog' โญ
and now for the retro changelog plugin โ the one that keeps a little historical record of changes, no cap. here's the layout:
usage: dsconf [-v] [-j] instance plugin retro-changelog [-h]
{show,enable,disable,status,set,add,del}
...
๐ซ POSITIONAL ARGUMENTS 'dsconf plugin retro-changelog' ๐ซ
dsconf plugin retro-changelog showโ Displays the plugin configuration ๐dsconf plugin retro-changelog enableโ Enables the plugin โdsconf plugin retro-changelog disableโ Disables the plugin ๐ซdsconf plugin retro-changelog statusโ Displays the plugin status ๐dsconf plugin retro-changelog setโ Edit the plugin โ๏ธdsconf plugin retro-changelog addโ Add attributes to the plugin โdsconf plugin retro-changelog delโ Delete an attribute from plugin scope โ
๐ COMMAND 'dsconf plugin retro-changelog show' ๐
usage: dsconf [-v] [-j] instance plugin retro-changelog show [-h]
โ COMMAND 'dsconf plugin retro-changelog enable' โ
usage: dsconf [-v] [-j] instance plugin retro-changelog enable [-h]
๐ซ COMMAND 'dsconf plugin retro-changelog disable' ๐ซ
usage: dsconf [-v] [-j] instance plugin retro-changelog disable [-h]
๐ COMMAND 'dsconf plugin retro-changelog status' ๐
usage: dsconf [-v] [-j] instance plugin retro-changelog status [-h]
โ๏ธ COMMAND 'dsconf plugin retro-changelog set' โ๏ธ
usage: dsconf [-v] [-j] instance plugin retro-changelog set
[-h] [--is-replicated {TRUE,FALSE}] [--attribute ATTRIBUTE]
[--directory DIRECTORY] [--max-age MAX_AGE]
[--trim-interval TRIM_INTERVAL] [--exclude-suffix [EXCLUDE_SUFFIX
...]]
[--exclude-attrs [EXCLUDE_ATTRS ...]]
๐ OPTIONS 'dsconf plugin retro-changelog set' ๐
--is-replicated {TRUE,FALSE}โ Sets a flag to indicate on a change in the changelog whether the change is newly made on that server or whether it was replicated over from another server (isReplicated) ๐--attribute ATTRIBUTEโ Specifies another Directory Server attribute which must be included in the retro changelog entries (nsslapd-attribute) ๐--directory DIRECTORYโ Specifies the name of the directory in which the changelog database is created the first time the plug-in is run ๐--max-age MAX_AGEโ Specifies the maximum age of any entry in the changelog. The value must be a number followed by a duration unit [sSmMhHdDwW]. Used to trim the changelog (nsslapd-changelogmaxage) โณ--trim-interval TRIM_INTERVALโ (the original page gives this flag no description text at all, bestie โ it's just sitting there being mysterious ๐ซฅ)--exclude-suffix [EXCLUDE_SUFFIX ...]โ Specifies the suffix which will be excluded from the scope of the plugin (nsslapd-exclude-suffix) ๐ซ--exclude-attrs [EXCLUDE_ATTRS ...]โ Specifies the attributes which will be excluded from the scope of the plugin (nsslapd-exclude-attrs) ๐ซ
heads up:--missing-suffixtakes the literal choices{ERROR,ALLOW,IGNORE,delete,}โ yes, with that trailing comma, exactly like the original wrote it. don't come for me, i'm just the messenger ๐ and--id_map_methodis spelled with the underscores,--id_map_method ID_MAP_METHOD, not--id-map-method. copy it exactly, iykyk ๐ซถ
COMMAND dsconf plugin retro-changelog add ๐
usage: dsconf [-v] [-j] instance plugin retro-changelog add
[-h] [--is-replicated {TRUE,FALSE}] [--attribute ATTRIBUTE]
[--directory DIRECTORY] [--max-age MAX_AGE]
[--trim-interval TRIM_INTERVAL] [--exclude-suffix [EXCLUDE_SUFFIX ...]]
[--exclude-attrs [EXCLUDE_ATTRS ...]]
OPTIONS dsconf plugin retro-changelog add
--is-replicated {TRUE,FALSE}โ flips the flag that tells the changelog whether a change was freshly made right here on this server or whether it got replicated over from another one โจ (akaisReplicated, iconic)--attribute ATTRIBUTEโ names another Directory Server attribute that absolutely must be in the retro changelog entries, no skipping (that'snsslapd-attributebestie)--directory DIRECTORYโ the name of the directory where the changelog database gets created the very first time the plug-in runs ๐--max-age MAX_AGEโ the max age of any entry chillin' in the changelog. Value has to be a number followed by a duration unit[sSmMhHdDwW]โณ and yeah it's what trims the changelog (nsslapd-changelogmaxage)--trim-interval TRIM_INTERVALโ no description given in the original, she's mysterious ๐ literally just sitting there with no explanation (the manpage says nothing, so I say nothing โ we don't invent)--exclude-suffix [EXCLUDE_SUFFIX ...]โ the suffix (or suffixes) being excluded from the plugin's scope (nsslapd-exclude-suffix)--exclude-attrs [EXCLUDE_ATTRS ...]โ the attributes getting excluded from the plugin's scope (nsslapd-exclude-attrs)
COMMAND dsconf plugin retro-changelog del ๐ฆ
usage: dsconf [-v] [-j] instance plugin retro-changelog del
[-h] [--is-replicated {TRUE,FALSE}] [--attribute ATTRIBUTE]
[--directory DIRECTORY] [--max-age MAX_AGE]
[--trim-interval TRIM_INTERVAL] [--exclude-suffix [EXCLUDE_SUFFIX ...]]
[--exclude-attrs [EXCLUDE_ATTRS ...]]
OPTIONS dsconf plugin retro-changelog del
--is-replicated {TRUE,FALSE}โ sets the flag saying whether a change in the changelog is brand-new on this server or got replicated in from somewhere else (isReplicated) ๐ซ--attribute ATTRIBUTEโ specifies another Directory Server attribute that has to be included in the retro changelog entries (nsslapd-attribute)--directory DIRECTORYโ the name of the directory where the changelog database is created the first time the plug-in runs ๐--max-age MAX_AGEโ max age of any changelog entry; it's a number plus a duration unit[sSmMhHdDwW], and it's the thing that trims the changelog (nsslapd-changelogmaxage)--trim-interval TRIM_INTERVALโ again, no description in the source, we simply do not know, and we do not make things up ๐--exclude-suffix [EXCLUDE_SUFFIX ...]โ the suffix excluded from the plugin's scope (nsslapd-exclude-suffix)--exclude-attrs [EXCLUDE_ATTRS ...]โ the attributes excluded from the plugin's scope (nsslapd-exclude-attrs)
๐ COMMAND dsconf plugin posix-winsync ๐
usage: dsconf [-v] [-j] instance plugin posix-winsync [-h]
{show,enable,disable,status,set,fixup}
...
POSITIONAL ARGUMENTS dsconf plugin posix-winsync
dsconf plugin posix-winsync showโ shows you the plugin configuration, the whole vibe check ๐dsconf plugin posix-winsync enableโ turns the plugin ON, we love to see it โจdsconf plugin posix-winsync disableโ turns it OFF, rip ๐ซถdsconf plugin posix-winsync statusโ tells you the plugin status, like are we up or are we notdsconf plugin posix-winsync setโ edits the plugin settings, the makeover command ๐dsconf plugin posix-winsync fixupโ runs the memberOf fix-up task to correct mismatchedmemberanduniquemembervalues for synced users โ it's giving cleanup era ๐งน
COMMAND dsconf plugin posix-winsync show
usage: dsconf [-v] [-j] instance plugin posix-winsync show [-h]
COMMAND dsconf plugin posix-winsync enable
usage: dsconf [-v] [-j] instance plugin posix-winsync enable [-h]
COMMAND dsconf plugin posix-winsync disable
usage: dsconf [-v] [-j] instance plugin posix-winsync disable [-h]
COMMAND dsconf plugin posix-winsync status
usage: dsconf [-v] [-j] instance plugin posix-winsync status [-h]
COMMAND dsconf plugin posix-winsync set ๐
usage: dsconf [-v] [-j] instance plugin posix-winsync set [-h]
[--create-memberof-task {true,false}]
[--lower-case-uid {true,false}]
[--map-member-uid {true,false}]
[--map-nested-grouping {true,false}]
[--ms-sfu-schema {true,false}]
OPTIONS dsconf plugin posix-winsync set
--create-memberof-task {true,false}โ decides whether to run thememberUIDfix-up task, like, immediately after a sync run, so that group memberships for synced users get updated (posixWinsyncCreateMemberOfTask) ๐ฅ--lower-case-uid {true,false}โ whether to store (and, if needed, convert) the UID value in thememberUIDattribute in lower case, periodt (posixWinsyncLowerCaseUID) ๐--map-member-uid {true,false}โ whether to map thememberUIDattribute in an Active Directory group over to theuniqueMemberattribute in a Directory Server group (posixWinsyncMapMemberUID) ๐--map-nested-grouping {true,false}โ manages whether nested groups get updated whenmemberUIDattributes in an Active Directory POSIX group change, the whole ripple effect (posixWinsyncMapNestedGrouping) ๐ช--ms-sfu-schema {true,false}โ sets whether to use the older Microsoft System Services for Unix 3.0 (msSFU30) schema when syncing Posix attributes from Active Directory (posixWinsyncMsSFUSchema) โ vintage Microsoft, ngl ๐ซ
COMMAND dsconf plugin posix-winsync fixup ๐ง
usage: dsconf [-v] [-j] instance plugin posix-winsync fixup
[-h] [-f FILTER] [--timeout TIMEOUT] DN
DNโ set the base DN that contains entries to fix up, that's the target zone bestie ๐ฏ
OPTIONS dsconf plugin posix-winsync fixup
-f FILTER,--filter FILTERโ the filter for which entries to fix up. If you justโฆ don't give one, then all entries withobjectclass inetuser/inetadmin/nsmemberofunder the specified base get theirmemberOfattribute regenerated. No filter, no problem ๐ซ--timeout TIMEOUTโ set a timeout for waiting on the fixup task. Default is120seconds โฑ๏ธ
๐ธ COMMAND dsconf plugin contentsync ๐ธ
usage: dsconf [-v] [-j] instance plugin contentsync [-h]
{show,enable,disable,status,set,add}
...
POSITIONAL ARGUMENTS dsconf plugin contentsync
dsconf plugin contentsync showโ displays the plugin configuration โจdsconf plugin contentsync enableโ enables the plugin ๐dsconf plugin contentsync disableโ disables the plugin ๐ญdsconf plugin contentsync statusโ displays the plugin status ๐ฆdsconf plugin contentsync setโ edit the plugin settings ๐dsconf plugin contentsync addโ add attributes to the plugin, like adding sprinkles ๐
COMMAND dsconf plugin contentsync show
usage: dsconf [-v] [-j] instance plugin contentsync show [-h]
COMMAND dsconf plugin contentsync enable
usage: dsconf [-v] [-j] instance plugin contentsync enable [-h]
COMMAND dsconf plugin contentsync disable
usage: dsconf [-v] [-j] instance plugin contentsync disable [-h]
COMMAND dsconf plugin contentsync status
usage: dsconf [-v] [-j] instance plugin contentsync status [-h]
COMMAND dsconf plugin contentsync set ๐
usage: dsconf [-v] [-j] instance plugin contentsync set [-h]
[--allow-openldap {on,off}]
[--queue-max-size QUEUE_MAX_SIZE]
[--max-concurrent MAX_CONCURRENT]
OPTIONS dsconf plugin contentsync set
--allow-openldap {on,off}โ lets openldap servers act as read-only consumers of this server via syncrepl, sharing is caring ๐ซถ--queue-max-size QUEUE_MAX_SIZEโ limits how many entries are still sitting there not-yet-processed (range[100, 100000]) ๐ฆ--max-concurrent MAX_CONCURRENTโ limits how many persistent searches can be running at the same time, we're capping the chaos ๐ฅ
COMMAND dsconf plugin contentsync add ๐
usage: dsconf [-v] [-j] instance plugin contentsync add [-h]
[--allow-openldap {on,off}]
[--queue-max-size QUEUE_MAX_SIZE]
[--max-concurrent MAX_CONCURRENT]
OPTIONS dsconf plugin contentsync add
--allow-openldap {on,off}โ allows openldap servers to act as read-only consumers of this server via syncrepl โจ--queue-max-size QUEUE_MAX_SIZEโ limits the number of entries not yet processed (range[100, 100000]) ๐--max-concurrent MAX_CONCURRENTโ limits the number of persistent searches running at the same time โญ
๐ COMMAND dsconf plugin entryuuid ๐
usage: dsconf [-v] [-j] instance plugin entryuuid [-h]
{show,enable,disable,status,fixup,fixup-status}
...
POSITIONAL ARGUMENTS dsconf plugin entryuuid
dsconf plugin entryuuid showโ displays the plugin configuration ๐dsconf plugin entryuuid enableโ enables the plugin โจdsconf plugin entryuuid disableโ disables the plugin ๐dsconf plugin entryuuid statusโ displays the plugin statusdsconf plugin entryuuid fixupโ run the fix-up task for the EntryUUID plugin ๐ ๏ธdsconf plugin entryuuid fixup-statusโ check the status of a fix-up task, like stalking your own progress ๐
COMMAND dsconf plugin entryuuid show
usage: dsconf [-v] [-j] instance plugin entryuuid show [-h]
COMMAND dsconf plugin entryuuid enable
usage: dsconf [-v] [-j] instance plugin entryuuid enable [-h]
COMMAND dsconf plugin entryuuid disable
usage: dsconf [-v] [-j] instance plugin entryuuid disable [-h]
COMMAND dsconf plugin entryuuid status
usage: dsconf [-v] [-j] instance plugin entryuuid status [-h]
COMMAND dsconf plugin entryuuid fixup ๐ฅ
usage: dsconf [-v] [-j] instance plugin entryuuid fixup [-h] [-f FILTER]
[--wait]
[--timeout TIMEOUT]
DN
DNโ base DN that contains entries to fix up, the home base of the whole operation ๐ฏ
โจ OPTIONS 'dsconf plugin entryuuid fixup' โจ
-f FILTER,--filter FILTERโ this is your filter for which entries get the โจglow upโจ. Skip it and every single entry under the base DN gets itsEntryUUIDattribute regenerated if it isn't already there. no filter = the whole roster, bestie ๐--waitโ wait for the task to actually finish before you go anywhere. fair warning: this could take a long time ๐ญ like, go make a snack, text your group chat, come back kind of long.--timeout TIMEOUTโ sets the task timeout. Default is0, and0means no timeout. iconic, honestly ๐ซถ
๐ฆ COMMAND 'dsconf plugin entryuuid fixup-status' ๐ฆ
usage: dsconf [-v] [-j] instance plugin entryuuid fixup-status
[-h] [--dn DN] [--show-log] [--watch]
OPTIONS 'dsconf plugin entryuuid fixup-status'
--dn DNโ the DN of the task entry. that's the one you're asking about ๐--show-logโ display the task log ๐ spill it.--watchโ watch the task's status and justโฆ wait for it to finish. main character energy, sitting there watching the progress bar ๐
๐ธ COMMAND 'dsconf plugin pwstorage-scheme' ๐ธ
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme [-h]
{pbkdf2,pbkdf2-sha1,pbkdf2-sha256,pbkdf2-sha256-legacy,pbkdf2-sha512}
...
so basically: this is your password storage scheme corner of the shop, and you've got five flavors to pick from. pick wisely ๐
POSITIONAL ARGUMENTS 'dsconf plugin pwstorage-scheme'
dsconf plugin pwstorage-scheme pbkdf2โ manage the legacy PBKDF2 scheme ({PBKDF2}). heads up: its settings are independent ofpbkdf2-sha1, even though both of them use SHA-1. don't mix them up fr fr.dsconf plugin pwstorage-scheme pbkdf2-sha1โ manage the PBKDF2-SHA1 scheme ({PBKDF2-SHA1}). same deal but from the other direction: its settings are independent of the legacypbkdf2, even though both use SHA-1. yes it's confusing, no it's not my fault ๐ญdsconf plugin pwstorage-scheme pbkdf2-sha256โ manage the PBKDF2-SHA256 scheme. the classic, the reliable, the queen ๐dsconf plugin pwstorage-scheme pbkdf2-sha256-legacyโ manage the PBKDF2-SHA256-LEGACY scheme. vintage, but in a museum way ๐dsconf plugin pwstorage-scheme pbkdf2-sha512โ manage the PBKDF2-SHA512 scheme. bigger hash, bigger vibes ๐
๐ COMMAND 'dsconf plugin pwstorage-scheme pbkdf2' ๐
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2
[-h]
{get-num-iterations,set-num-iterations,get-accept-max-iterations,set-accept-max-iterations,delete-accept-max-iterations}
...
steady, bestie, this is the legacy PBKDF2 one specifically ๐
POSITIONAL ARGUMENTS 'dsconf plugin pwstorage-scheme pbkdf2'
dsconf plugin pwstorage-scheme pbkdf2 get-num-iterationsโ get the number of iterations ๐ขdsconf plugin pwstorage-scheme pbkdf2 set-num-iterationsโ set the number of iterations โจdsconf plugin pwstorage-scheme pbkdf2 get-accept-max-iterationsโ get the maximum iterations accepted from stored hashes on bind ๐dsconf plugin pwstorage-scheme pbkdf2 set-accept-max-iterationsโ set the maximum iterations accepted from stored hashes on bind ๐ ๏ธdsconf plugin pwstorage-scheme pbkdf2 delete-accept-max-iterationsโ remove the accept max iterations override and revert back to the default ๐งน
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2 get-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2
get-num-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2 set-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2
set-num-iterations
[-h] iterations
iterationsโ number of iterations, and the range is(10,000-10,000,000). keep it in the lines, babes ๐ซถ
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2 get-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2
get-accept-max-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2 set-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2
set-accept-max-iterations
[-h] iterations
iterationsโ maximum iterations accepted on bind, range(10,000-10,000,000)๐
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2 delete-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2
delete-accept-max-iterations
[-h]
๐ฆ COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha1' ๐ฆ
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha1
[-h]
{get-num-iterations,set-num-iterations,get-accept-max-iterations,set-accept-max-iterations,delete-accept-max-iterations}
...
okay so this one is the non-legacy SHA-1 one. remember: independent settings from legacy pbkdf2. told you. ๐
POSITIONAL ARGUMENTS 'dsconf plugin pwstorage-scheme pbkdf2-sha1'
dsconf plugin pwstorage-scheme pbkdf2-sha1 get-num-iterationsโ get number of iterations ๐ขdsconf plugin pwstorage-scheme pbkdf2-sha1 set-num-iterationsโ set number of iterations โจdsconf plugin pwstorage-scheme pbkdf2-sha1 get-accept-max-iterationsโ get the maximum iterations accepted from stored hashes on bind ๐dsconf plugin pwstorage-scheme pbkdf2-sha1 set-accept-max-iterationsโ set the maximum iterations accepted from stored hashes on bind ๐ ๏ธdsconf plugin pwstorage-scheme pbkdf2-sha1 delete-accept-max-iterationsโ remove the accept max iterations override, revert to default ๐งน
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha1 get-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha1
get-num-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha1 set-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha1
set-num-iterations
[-h] iterations
iterationsโ number of iterations(10,000-10,000,000)๐
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha1 get-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha1
get-accept-max-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha1 set-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha1
set-accept-max-iterations
[-h] iterations
iterationsโ maximum iterations accepted on bind(10,000-10,000,000)๐ธ
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha1 delete-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha1
delete-accept-max-iterations
[-h]
๐ COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256' ๐
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha256
[-h]
{get-num-iterations,set-num-iterations,get-accept-max-iterations,set-accept-max-iterations,delete-accept-max-iterations}
...
POSITIONAL ARGUMENTS 'dsconf plugin pwstorage-scheme pbkdf2-sha256'
dsconf plugin pwstorage-scheme pbkdf2-sha256 get-num-iterationsโ get number of iterations ๐ขdsconf plugin pwstorage-scheme pbkdf2-sha256 set-num-iterationsโ set number of iterations โจdsconf plugin pwstorage-scheme pbkdf2-sha256 get-accept-max-iterationsโ get the maximum iterations accepted from stored hashes on bind ๐dsconf plugin pwstorage-scheme pbkdf2-sha256 set-accept-max-iterationsโ set the maximum iterations accepted from stored hashes on bind ๐ ๏ธdsconf plugin pwstorage-scheme pbkdf2-sha256 delete-accept-max-iterationsโ remove the accept max iterations override, revert to default ๐งน
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256 get-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha256
get-num-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256 set-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha256
set-num-iterations
[-h] iterations
iterationsโ number of iterations(10,000-10,000,000)๐
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256 get-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha256
get-accept-max-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256 set-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha256
set-accept-max-iterations
[-h] iterations
iterationsโ maximum iterations accepted on bind(10,000-10,000,000)๐
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256 delete-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha256
delete-accept-max-iterations
[-h]
๐ง COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256-legacy' ๐ง
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme
pbkdf2-sha256-legacy
[-h] {get-accept-max-iterations,set-accept-max-iterations} ...
not me noticing this one only has two sub-commands instead of fiveโฆ the legacy scheme keeps it simple, periodt ๐
POSITIONAL ARGUMENTS 'dsconf plugin pwstorage-scheme pbkdf2-sha256-legacy'
dsconf plugin pwstorage-scheme pbkdf2-sha256-legacy get-accept-max-iterationsโ get maximum accepted iterations ๐dsconf plugin pwstorage-scheme pbkdf2-sha256-legacy set-accept-max-iterationsโ set maximum accepted iterations ๐ ๏ธ
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256-legacy get-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme
pbkdf2-sha256-legacy get-accept-max-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha256-legacy set-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme
pbkdf2-sha256-legacy set-accept-max-iterations
[-h] iterations
iterationsโ maximum accepted iterations, and look at this range bestie:(2,048-2,147,483,647). that's a big range. no cap ๐ญ
โญ COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha512' โญ
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha512
[-h]
{get-num-iterations,set-num-iterations,get-accept-max-iterations,set-accept-max-iterations,delete-accept-max-iterations}
...
last scheme, and she's the big one ๐ซถ
POSITIONAL ARGUMENTS 'dsconf plugin pwstorage-scheme pbkdf2-sha512'
dsconf plugin pwstorage-scheme pbkdf2-sha512 get-num-iterationsโ get number of iterations ๐ขdsconf plugin pwstorage-scheme pbkdf2-sha512 set-num-iterationsโ set number of iterations โจdsconf plugin pwstorage-scheme pbkdf2-sha512 get-accept-max-iterationsโ get the maximum iterations accepted from stored hashes on bind ๐dsconf plugin pwstorage-scheme pbkdf2-sha512 set-accept-max-iterationsโ set the maximum iterations accepted from stored hashes on bind ๐ ๏ธdsconf plugin pwstorage-scheme pbkdf2-sha512 delete-accept-max-iterationsโ remove the accept max iterations override, revert to default ๐งน
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha512 get-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha512
get-num-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha512 set-num-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha512
set-num-iterations
[-h] iterations
iterationsโ number of iterations(10,000-10,000,000)๐
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha512 get-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha512
get-accept-max-iterations
[-h]
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha512 set-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha512
set-accept-max-iterations
[-h] iterations
iterationsโ maximum iterations accepted on bind(10,000-10,000,000)๐ธ
COMMAND 'dsconf plugin pwstorage-scheme pbkdf2-sha512 delete-accept-max-iterations'
usage: dsconf [-v] [-j] instance plugin pwstorage-scheme pbkdf2-sha512
delete-accept-max-iterations
[-h]
๐ COMMAND 'dsconf plugin list' ๐
usage: dsconf [-v] [-j] instance plugin list [-h]
and there she is โ the "just show me everything" command ๐ no options, no drama, just the list of plugins. we love a low-maintenance icon ๐
COMMAND 'dsconf plugin show' ๐๐
Okay bestie, this one is lowkey a โwhere my plugin at?โ vibe check. It searches for a plugin, periodt.
usage: dsconf [-v] [-j] instance plugin show [-h] [selector]
- selector โ the plugin you're searching for, no cap ๐ฆ
COMMAND 'dsconf plugin set' โจ๐
This command edits a plugin, so it's giving main character energy. Peep the usage:
usage: dsconf [-v] [-j] instance plugin set [-h] [--type TYPE]
[--enabled {on,off}] [--path
PATH]
[--initfunc INITFUNC] [--id
ID]
[--vendor VENDOR]
[--version VERSION]
[--description DESCRIPTION]
[--depends-on-type
DEPENDS_ON_TYPE]
[--depends-on-named
DEPENDS_ON_NAMED]
[--precedence PRECEDENCE]
[selector]
- selector โ the plugin you're editing, bestie ๐
OPTIONS 'dsconf plugin set' ๐
--type TYPEโ the type of plugin.--enabled {on,off}โ identifies whether or not the plugin is enabled.--path PATHโ the plugin library name, without the library suffix.--initfunc INITFUNCโ an initialization function of the plugin.--id IDโ the plugin ID.--vendor VENDORโ the vendor of the plugin.--version VERSIONโ the version of the plugin.--description DESCRIPTIONโ the description of the plugin.--depends-on-type DEPENDS_ON_TYPEโ all plug-ins with a type value that matches one of the values in the following valid range will be started by the server prior to this plug-in.--depends-on-named DEPENDS_ON_NAMEDโ the plug-in name matching one of the following values will be started by the server prior to this plug-in.--precedence PRECEDENCEโ the priority it has in the execution order of plug-ins.
COMMAND 'dsconf pwpolicy' ๐๐
Password policy central, bestie. The vibe is very โget, set, list, fix up,โ iykyk.
usage: dsconf [-v] [-j] instance pwpolicy [-h]
{get,set,list-schemes,fixup-shadow} ...
POSITIONAL ARGUMENTS 'dsconf pwpolicy' ๐ซถ
dsconf pwpolicy getโ get the global password policy entry.dsconf pwpolicy setโ set an attribute in a global password policy.dsconf pwpolicy list-schemesโ get a list of the current password storage schemes.dsconf pwpolicy fixup-shadowโ create a task to setshadowLastChangeonShadowAccountentries.
COMMAND 'dsconf pwpolicy get' ๐
Simple, iconic, no notes. It just gets the global password policy entry.
usage: dsconf [-v] [-j] instance pwpolicy get [-h]
COMMAND 'dsconf pwpolicy set' โจ๐
This usage is a whole mood โ every flag is here, so don't skip a single one:
usage: dsconf instance [-v] [-j] pwpolicy set [-h] [--pwdscheme
PWDSCHEME]
[--pwdchange PWDCHANGE]
[--pwdmustchange
PWDMUSTCHANGE]
[--pwdhistory PWDHISTORY]
[--pwdhistorycount
PWDHISTORYCOUNT]
[--pwdadmin PWDADMIN]
[--pwdadminskipupdates
PWDADMINSKIPUPDATES]
[--pwdtrack PWDTRACK]
[--pwdwarning PWDWARNING]
[--pwdexpire PWDEXPIRE]
[--pwdmaxage PWDMAXAGE]
[--pwdminage PWDMINAGE]
[--pwdgracelimit
PWDGRACELIMIT]
[--pwdsendexpiring
PWDSENDEXPIRING]
[--pwdlockout PWDLOCKOUT]
[--pwdunlock PWDUNLOCK]
[--pwdlockoutduration
PWDLOCKOUTDURATION]
[--pwdmaxfailures
PWDMAXFAILURES]
[--pwdresetfailcount
PWDRESETFAILCOUNT]
[--pwdchecksyntax
PWDCHECKSYNTAX]
[--pwdminlen PWDMINLEN]
[--pwdmindigits
PWDMINDIGITS]
[--pwdminalphas
PWDMINALPHAS]
[--pwdminuppers
PWDMINUPPERS]
[--pwdminlowers
PWDMINLOWERS]
[--pwdminspecials
PWDMINSPECIALS]
[--pwdmin8bits
PWDMIN8BITS]
[--pwdmaxrepeats
PWDMAXREPEATS]
[--pwdpalindrome
PWDPALINDROME]
[--pwdmaxseq PWDMAXSEQ]
[--pwdmaxseqsets
PWDMAXSEQSETS]
[--pwdmaxclasschars
PWDMAXCLASSCHARS]
[--pwdmincatagories
PWDMINCATAGORIES]
[--pwdmintokenlen
PWDMINTOKENLEN]
[--pwdbadwords
PWDBADWORDS]
[--pwduserattrs
PWDUSERATTRS]
[--pwddictcheck
PWDDICTCHECK]
[--pwddictpath
PWDDICTPATH]
[--pwptprmaxuse
PWPTPRMAXUSE]
[--pwptprdelayexpireat
PWPTPRDELAYEXPIREAT]
[--pwptprdelayvalidfrom
PWPTPRDELAYVALIDFROM]
[--pwdlocal PWDLOCAL]
[--pwdisglobal
PWDISGLOBAL]
[--pwdallowhash
PWDALLOWHASH]
[--pwpinheritglobal
PWPINHERITGLOBAL]
โจ OPTIONS for dsconf pwpolicy set โจ
Okay bestie, buckle up, this is the big one โ every knob you can twist on a password policy, all in one place. Nothing scary, just a LOT of them. ๐
--pwdschemePWDSCHEME โ the password storage scheme, aka how your password gets scrambled before it hits the disk. ๐--pwdchangePWDCHANGE โ lets users change their own passwords. Yes, this is a permission. Yes, it matters.--pwdmustchangePWDMUSTCHANGE โ the classic: after an admin resets your password, you gotta change it before you do anything else. No skipping. ๐--pwdhistoryPWDHISTORY โ turn password historyon, oroff. That's the whole vibe.--pwdhistorycountPWDHISTORYCOUNT โ how many old passwords get kept in the history stash. ๐๏ธ--pwdadminPWDADMIN โ the DN of an entry (or a whole group of accounts) that gets to bypass password policy constraints. Big power, handle with care. ๐--pwdadminskipupdatesPWDADMINSKIPUPDATES โ set this toonif the Password Admin's own password update should not trigger updates to the password state attributes (passwordExpirationtime,passwordHistory, etc). So their reset stays quiet.--pwdtrackPWDTRACK โ set toonto actually track the time the password was last changed. โฐ--pwdwarningPWDWARNING โ sends an expiring warning if the password expires within this window (the value is in seconds).--pwdexpirePWDEXPIRE โ set toonto enable password expiration at all.--pwdmaxagePWDMAXAGE โ the password expiration time, in seconds. โณ--pwdminagePWDMINAGE โ how many seconds must pass before a user is even allowed to change their password again. Anti-chaos measure fr.--pwdgracelimitPWDGRACELIMIT โ how many logins you still get after your password has already expired. Grace period, iconic behavior.--pwdsendexpiringPWDSENDEXPIRING โ set toonto always send the expiring control, no matter what the warning period says.--pwdlockoutPWDLOCKOUT โ set toonto enable account lockout. ๐--pwdunlockPWDUNLOCK โ set toonand an account can become unlocked again after the lockout duration runs out. Self-healing era.--pwdlockoutdurationPWDLOCKOUTDURATION โ the number of seconds an account stays locked out. Sit in time-out bestie. ๐ญ--pwdmaxfailuresPWDMAXFAILURES โ the max number of failed password attempts allowed before the account gets locked.--pwdresetfailcountPWDRESETFAILCOUNT โ how many seconds to wait before reducing the failed login count on an account.--pwdchecksyntaxPWDCHECKSYNTAX โ set toonto enable password syntax checking. This is the quality control era. โจ--pwdminlenPWDMINLEN โ minimum number of characters required in a password.--pwdmindigitsPWDMINDIGITS โ minimum number of digit/number characters in a password.--pwdminalphasPWDMINALPHAS โ minimum number of alpha characters required in a password.--pwdminuppersPWDMINUPPERS โ minimum number of uppercase characters required in a password.--pwdminlowersPWDMINLOWERS โ minimum number of lowercase characters required in a password.--pwdminspecialsPWDMINSPECIALS โ minimum number of special characters required in a password.!@#$%^&*stans rise up. ๐--pwdmin8bitsPWDMIN8BITS โ minimum number of 8-bit characters required in a password.--pwdmaxrepeatsPWDMAXREPEATS โ the max number of times the same character can appear sequentially in the password.aaa? Not on her watch.--pwdpalindromePWDPALINDROME โ set toonto reject passwords that are palindromes. Sorry toracecar. ๐๏ธ--pwdmaxseqPWDMAXSEQ โ the max number of allowed monotonic character sequences in a password (abc,123, that whole situation).--pwdmaxseqsetsPWDMAXSEQSETS โ the max number of allowed monotonic character sequences that can be duplicated in a password.--pwdmaxclasscharsPWDMAXCLASSCHARS โ the max number of sequential characters from the same character class allowed in a password.--pwdmincatagoriesPWDMINCATAGORIES โ the minimum number of syntax category checks. (Yes, the spelling iscatagories, we keep it exactly as-is, no cap. ๐)--pwdmintokenlenPWDMINTOKENLEN โ sets the smallest attribute value length used for trivial/user-words checking. This also impacts--pwduserattrs.--pwdbadwordsPWDBADWORDS โ a space-separated list of words that can not be in a password. ๐--pwduserattrsPWDUSERATTRS โ a space-separated list of attributes whose values can not appear in the password (peep--pwdmintokenlen).--pwddictcheckPWDDICTCHECK โ set toonto enforce CrackLib dictionary checking.--pwddictpathPWDDICTPATH โ filesystem path to specific/custom CrackLib dictionary files.--pwptprmaxusePWPTPRMAXUSE โ number of times a reset password can be used for authentication.--pwptprdelayexpireatPWPTPRDELAYEXPIREAT โ number of seconds after which a reset password expires.--pwptprdelayvalidfromPWPTPRDELAYVALIDFROM โ number of seconds to wait before using a reset password to authenticate.--pwdlocalPWDLOCAL โ set toonto enable fine-grained (subtree/user-level) password policies.--pwdisglobalPWDISGLOBAL โ set toonto enable password policy state attributes to be replicated.--pwdallowhashPWDALLOWHASH โ set toonto allow adding prehashed passwords.--pwpinheritglobalPWPINHERITGLOBAL โ set toonto let local policies inherit the global policy. Generational wealth but for password rules. ๐ซถ
๐ COMMAND dsconf pwpolicy list-schemes ๐
Just wants to show you all the schemes available. Low effort, high reward.
usage: dsconf [-v] [-j] instance pwpolicy list-schemes [-h]
๐ฅ COMMAND dsconf pwpolicy fixup-shadow ๐ฅ
The "hey, go back and sync up all those shadow accounts" command.
usage: dsconf [-v] [-j] instance pwpolicy fixup-shadow [-h] [--force]
[--watch]
suffix
- suffix โ the LDAP suffix to search (subtree) for objectClass
ShadowAccount.
๐ง OPTIONS for dsconf pwpolicy fixup-shadow ๐ง
--forceโ updates all users under the suffix regardless of whethershadowLastChangeis set. No skipping anyone. ๐--watchโ watches the task's status and waits for it to finish. Patience era. โณ
๐ COMMAND dsconf localpwp ๐
Local password policies!! The fine-grained era. Here's the shape of it:
usage: dsconf [-v] [-j] instance localpwp [-h]
{list,get,set,remove,adduser,addsubtree}
...
๐ POSITIONAL ARGUMENTS for dsconf localpwp ๐
dsconf localpwp listโ list all the local password policies. Shopping-cart energy. ๐dsconf localpwp getโ get one local password policy entry.dsconf localpwp setโ set an attribute in a local password policy.dsconf localpwp removeโ remove a local password policy. Bye bestie. ๐dsconf localpwp adduserโ add a new user password policy.dsconf localpwp addsubtreeโ add a new subtree password policy.
๐ฆ COMMAND dsconf localpwp list ๐ฆ
usage: dsconf [-v] [-j] instance localpwp list [-h] [DN]
- DN โ the suffix to search for local password policies.
๐ธ COMMAND dsconf localpwp get ๐ธ
usage: dsconf [-v] [-j] instance localpwp get [-h] DN
- DN โ get the local policy for this entry DN.
๐ COMMAND dsconf localpwp set ๐
Okay so this one takes the ENTIRE option list from dsconf pwpolicy set and points it at a specific DN. Same flags, local scope. Here's the usage in all its glory:
usage: dsconf [-v] [-j] instance localpwp set [-h] [--pwdscheme
PWDSCHEME]
[--pwdchange PWDCHANGE]
[--pwdmustchange
PWDMUSTCHANGE]
[--pwdhistory PWDHISTORY]
[--pwdhistorycount
PWDHISTORYCOUNT]
[--pwdadmin PWDADMIN]
[--pwdadminskipupdates
PWDADMINSKIPUPDATES]
[--pwdtrack PWDTRACK]
[--pwdwarning PWDWARNING]
[--pwdexpire PWDEXPIRE]
[--pwdmaxage PWDMAXAGE]
[--pwdminage PWDMINAGE]
[--pwdgracelimit
PWDGRACELIMIT]
[--pwdsendexpiring
PWDSENDEXPIRING]
[--pwdlockout PWDLOCKOUT]
[--pwdunlock PWDUNLOCK]
[--pwdlockoutduration
PWDLOCKOUTDURATION]
[--pwdmaxfailures
PWDMAXFAILURES]
[--pwdresetfailcount
PWDRESETFAILCOUNT]
[--pwdchecksyntax
PWDCHECKSYNTAX]
[--pwdminlen PWDMINLEN]
[--pwdmindigits
PWDMINDIGITS]
[--pwdminalphas
PWDMINALPHAS]
[--pwdminuppers
PWDMINUPPERS]
[--pwdminlowers
PWDMINLOWERS]
[--pwdminspecials
PWDMINSPECIALS]
[--pwdmin8bits
PWDMIN8BITS]
[--pwdmaxrepeats
PWDMAXREPEATS]
[--pwdpalindrome
PWDPALINDROME]
[--pwdmaxseq PWDMAXSEQ]
[--pwdmaxseqsets
PWDMAXSEQSETS]
[--pwdmaxclasschars
PWDMAXCLASSCHARS]
[--pwdmincatagories
PWDMINCATAGORIES]
[--pwdmintokenlen
PWDMINTOKENLEN]
[--pwdbadwords
PWDBADWORDS]
[--pwduserattrs
PWDUSERATTRS]
[--pwddictcheck
PWDDICTCHECK]
[--pwddictpath
PWDDICTPATH]
[--pwptprmaxuse
PWPTPRMAXUSE]
[--pwptprdelayexpireat
PWPTPRDELAYEXPIREAT]
[--pwptprdelayvalidfrom
PWPTPRDELAYVALIDFROM]
DN
- DN โ set the local policy for this entry DN.
Yeah, it's a wall of text. That's just what happens when your password policy has โจrangeโจ. Every single flag above means exactly what it means in dsconf pwpolicy set, only applied right here at this DN instead of globally. ๐
OPTIONS for dsconf localpwp set ๐
okay bestie, this is the big one โ literally every knob for the local password policy. same flags as the main pwpolicy fam, but scoped to one lil entry. let's go ๐ซถ
--pwdscheme PWDSCHEMEโ the password storage scheme, aka how the password actually gets scrambled before it's stored ๐--pwdchange PWDCHANGEโ lets users change their own passwords, yes ma'am ๐--pwdmustchange PWDMUSTCHANGEโ forces users to change their password after an admin resets it. no sneaky reuse of the temp one ๐--pwdhistory PWDHISTORYโ to turn password history on, set this to"on", otherwise"off". that's it, that's the whole vibe โจ--pwdhistorycount PWDHISTORYCOUNTโ how many old passwords get kept in the history. the more the merrier (and the safer) ๐--pwdadmin PWDADMINโ the DN of an entry or a group of accounts that can bypass password policy constraints. main character exemption energy ๐--pwdadminskipupdates PWDADMINSKIPUPDATESโ set to"on"if the Password Admin's password update should not trigger updates to the password state attributes (passwordExpirationtime,passwordHistory, etc.). lowkey a big deal, don't skip past this one ๐--pwdtrack PWDTRACKโ set to"on"to track the time the password was last changed โฐ--pwdwarning PWDWARNINGโ send an expiring warning if the password expires within this time (in seconds). a lil heads up before disaster ๐จ--pwdexpire PWDeXPIREโ wait no, it's--pwdexpire PWDeXPIREโ set to"on"to enable password expiration. yes, passwords die eventually, it's giving mortality ๐ญ--pwdmaxage PWDMAXAGEโ the password expiration time, in seconds โณ--pwdminage PWDMINAGEโ how many seconds must pass before a user can change their password again. no rapid-fire swapping, bestie ๐ซ--pwdgracelimit PWDGRACELIMITโ the number of allowed logins after the password has already expired. a lil grace period, we love a forgiving queen ๐ธ--pwdsendexpiring PWDSENDEXPIRINGโ set to"on"to always send the expiring control regardless of the warning period ๐ฌ--pwdlockout PWDLOCKOUTโ set to"on"to enable account lockout ๐--pwdunlock PWDUNLOCKโ set to"on"to allow an account to become unlocked after the lockout duration. the comeback arc โจ--pwdlockoutduration PWDLOCKOUTDURATIONโ the number of seconds an account stays locked out โฑ๏ธ--pwdmaxfailures PWDMAXFAILURESโ the max number of allowed failed password attempts before the account gets locked. try again... and again... and boom, locked ๐--pwdresetfailcount PWDRESETFAILCOUNTโ the number of seconds to wait before reducing the failed login count on an account ๐งฎ--pwdchecksyntax PWDCHECKSYNTAXโ set to"on"to enable password syntax checking. the grammar police but for your password ๐ต๏ธ--pwdminlen PWDMINLENโ the minimum number of characters required in a password ๐--pwdmindigits PWDMINDIGITSโ the minimum number of digit/number characters in a password.1234girlies, your time is now ๐ข--pwdminalphas PWDMINALPHASโ the minimum number of alpha characters required in a password ๐ค--pwdminuppers PWDMINUPPERSโ the minimum number of uppercase characters required in a password. SCREAM IT ๐ฃ--pwdminlowers PWDMINLOWERSโ the minimum number of lowercase characters required in a password. soft launch, quiet luxury ๐--pwdminspecials PWDMINSPECIALSโ the minimum number of special characters required in a password.!@#$%icons only ๐--pwdmin8bits PWDMIN8BITSโ the minimum number of 8-bit characters required in a password ๐--pwdmaxrepeats PWDMAXREPEATSโ the maximum number of times the same character can appear sequentially in the password.aaaaabestie, no ๐--pwdpalindrome PWDPALINDROMEโ set to"on"to reject passwords that are palindromes. sorryracecar, you're out ๐๏ธ--pwdmaxseq PWDMAXSEQโ the maximum number of allowed monotonic character sequences in a password (you know, likeabcdor4321) ๐--pwdmaxseqsets PWDMAXSEQSETSโ the maximum number of allowed monotonic character sequences that can be duplicated in a password ๐--pwdmaxclasschars PWDMAXCLASSCHARSโ the maximum number of sequential characters from the same character class that is allowed in a password ๐งฉ--pwdmincatagories PWDMINCATAGORIESโ the minimum number of syntax category checks โ--pwdmintokenlen PWDMINTOKENLENโ sets the smallest attribute value length used for trivial/user word checking. this also impacts"--pwduserattrs"โ ๏ธ--pwdbadwords PWDBADWORDSโ a space-separated list of words that can not be in a password. the banned list, no cap ๐ซ--pwduserattrs PWDUSERATTRSโ a space-separated list of attributes whose values can not appear in the password (see"--pwdmintokenlen") ๐งฌ--pwddictcheck PWDDICTCHECKโ set to"on"to enforce CrackLib dictionary checking ๐--pwddictpath PWDDICTPATHโ filesystem path to specific/custom CrackLib dictionary files ๐--pwptprmaxuse PWPTPRMAXUSEโ the number of times a reset password can be used for authentication ๐--pwptprdelayexpireat PWPTPRDELAYEXPIREATโ number of seconds after which a reset password expires ๐--pwptprdelayvalidfrom PWPTPRDELAYVALIDFROMโ number of seconds to wait before using a reset password to authenticate. patience, bestie ๐ง
COMMAND dsconf localpwp remove ๐๏ธ
usage:
dsconf [-v] [-j] instance localpwp remove [-h] DN
DNโ remove the local policy for this entry DN. bye bye, policy ๐ซถ
COMMAND dsconf localpwp adduser ๐ค
usage:
dsconf [-v] [-j] instance localpwp adduser [-h] [--pwdscheme PWDSCHEME]
[--pwdchange PWDCHANGE]
[--pwdmustchange PWDMUSTCHANGE]
[--pwdhistory PWDHISTORY]
[--pwdhistorycount PWDHISTORYCOUNT]
[--pwdadmin PWDADMIN]
[--pwdadminskipupdates PWDADMINSKIPUPDATES]
[--pwdtrack PWDTRACK]
[--pwdwarning PWDWARNING]
[--pwdexpire PWDEXPIRE]
[--pwdmaxage PWDMAXAGE]
[--pwdminage PWDMINAGE]
[--pwdgracelimit PWDGRACELIMIT]
[--pwdsendexpiring PWDSENDEXPIRING]
[--pwdlockout PWDLOCKOUT]
[--pwdunlock PWDUNLOCK]
[--pwdlockoutduration PWDLOCKOUTDURATION]
[--pwdmaxfailures PWDMAXFAILURES]
[--pwdresetfailcount PWDRESETFAILCOUNT]
[--pwdchecksyntax PWDCHECKSYNTAX]
[--pwdminlen PWDMINLEN]
[--pwdmindigits PWDMINDIGITS]
[--pwdminalphas PWDMINALPHAS]
[--pwdminuppers PWDMINUPPERS]
[--pwdminlowers PWDMINLOWERS]
[--pwdminspecials PWDMINSPECIALS]
[--pwdmin8bits PWDMIN8BITS]
[--pwdmaxrepeats PWDMAXREPEATS]
[--pwdpalindrome PWDPALINDROME]
[--pwdmaxseq PWDMAXSEQ]
[--pwdmaxseqsets PWDMAXSEQSETS]
[--pwdmaxclasschars PWDMAXCLASSCHARS]
[--pwdmincatagories PWDMINCATAGORIES]
[--pwdmintokenlen PWDMINTOKENLEN]
[--pwdbadwords PWDBADWORDS]
[--pwduserattrs PWDUSERATTRS]
[--pwddictcheck PWDDICTCHECK]
[--pwddictpath PWDDICTPATH]
[--pwptprmaxuse PWPTPRMAXUSE]
[--pwptprdelayexpireat PWPTPRDELAYEXPIREAT]
[--pwptprdelayvalidfrom PWPTPRDELAYVALIDFROM]
DN
DNโ add/replace the local password policy for this entry DN. new policy, who dis ๐
OPTIONS dsconf localpwp adduser ๐
okay so this is a LOT of knobs, bestie, but every single one of them is here, no skips, no shortcuts. this is you building a whole password policy from scratch, so buckle up ๐
--pwdschemePWDSCHEME โ the password storage scheme, aka how the password gets hashed and kept.--pwdchangePWDCHANGE โ lets users change their own passwords. cute, democratic, slay.--pwdmustchangePWDMUSTCHANGE โ users HAVE to change their password after an admin resets it. no lurking with the temp one.--pwdhistoryPWDHISTORY โ turns password history on or off. set it to"on"to enable, otherwise"off".--pwdhistorycountPWDHISTORYCOUNT โ how many old passwords get kept in the history.--pwdadminPWDADMIN โ the DN of an entry or a group of accounts that gets to bypass password policy constraints. main character privileges fr.--pwdadminskipupdatesPWDADMINSKIPUPDATES โ set to"on"if the Password Admin's password update should not trigger updates to the password state attributes (passwordExpirationtime,passwordHistory, etc).--pwdtrackPWDTRACK โ set to"on"to track the time the password was last changed.--pwdwarningPWDWARNING โ send an expiring warning if the password expires within this time, in seconds.--pwdexpirePWDEXPIRE โ set to"on"to enable password expiration. the clock starts ticking bestie.--pwdmaxagePWDMAXAGE โ the password expiration time, in seconds.--pwdminagePWDMINAGE โ how many seconds have to pass before a user is even allowed to change their password again.--pwdgracelimitPWDGRACELIMIT โ how many logins you get after the password has already expired. the grace era ๐ธ--pwdsendexpiringPWDSENDEXPIRING โ set to"on"to always send the expiring control, no matter what the warning period says.--pwdlockoutPWDLOCKOUT โ set to"on"to enable account lockout.--pwdunlockPWDUNLOCK โ set to"on"to allow an account to become unlocked again once the lockout duration is up.--pwdlockoutdurationPWDLOCKOUTDURATION โ the number of seconds an account stays locked out.--pwdmaxfailuresPWDMAXFAILURES โ the max number of failed password attempts allowed before the account gets locked ๐--pwdresetfailcountPWDRESETFAILCOUNT โ the number of seconds to wait before reducing the failed login count on an account.--pwdchecksyntaxPWDCHECKSYNTAX โ set to"on"to enable password syntax checking.--pwdminlenPWDMINLEN โ the minimum number of characters required in a password.--pwdmindigitsPWDMINDIGITS โ the minimum number of digit/number characters in a password.--pwdminalphasPWDMINALPHAS โ the minimum number of alpha characters required in a password.--pwdminuppersPWDMINUPPERS โ the minimum number of uppercase characters required in a password.--pwdminlowersPWDMINLOWERS โ the minimum number of lowercase characters required in a password.--pwdminspecialsPWDMINSPECIALS โ the minimum number of special characters required in a password.--pwdmin8bitsPWDMIN8BITS โ the minimum number of 8-bit characters required in a password.--pwdmaxrepeatsPWDMAXREPEATS โ the maximum number of times the same character can appear sequentially in the password.aaaaais not the vibe ๐--pwdpalindromePWDPALINDROME โ set to"on"to reject passwords that are palindromes.--pwdmaxseqPWDMAXSEQ โ the maximum number of allowed monotonic character sequences in a password.--pwdmaxseqsetsPWDMAXSEQSETS โ the maximum number of allowed monotonic character sequences that can be duplicated in a password.--pwdmaxclasscharsPWDMAXCLASSCHARS โ the maximum number of sequential characters from the same character class that is allowed in a password.--pwdmincatagoriesPWDMINCATAGORIES โ the minimum number of syntax category checks. (yes, that's how it's spelled in the flag, we keep it exactly โจ)--pwdmintokenlenPWDMINTOKENLEN โ sets the smallest attribute value length that is used for trivial/user words checking. this also impacts"--pwduserattrs".--pwdbadwordsPWDBADWORDS โ a space-separated list of words that can not be in a password. villain-word blocklist ๐ซ--pwduserattrsPWDUSERATTRS โ a space-separated list of attributes whose values can not appear in the password. (See"--pwdmintokenlen".)--pwddictcheckPWDDICTCHECK โ set to"on"to enforce CrackLib dictionary checking.--pwddictpathPWDDICTPATH โ filesystem path to specific/custom CrackLib dictionary files.--pwptprmaxusePWPTPRMAXUSE โ number of times a reset password can be used for authentication.--pwptprdelayexpireatPWPTPRDELAYEXPIREAT โ number of seconds after which a reset password expires.--pwptprdelayvalidfromPWPTPRDELAYVALIDFROM โ number of seconds to wait before using a reset password to authenticated.
COMMAND dsconf localpwp addsubtree ๐
okay so same energy as adduser, but this one is scoped to a whole subtree instead of a single user. the flag list is identical, so everything you just read above still applies ๐
usage: dsconf [-v] [-j] instance localpwp addsubtree [-h]
[--pwdscheme
PWDSCHEME]
[--pwdchange
PWDCHANGE]
[--pwdmustchange
PWDMUSTCHANGE]
[--pwdhistory
PWDHISTORY]
[--pwdhistorycount
PWDHISTORYCOUNT]
[--pwdadmin
PWDADMIN]
[--pwdadminskipupdates
PWDADMINSKIPUPDATES]
[--pwdtrack
PWDTRACK]
[--pwdwarning
PWDWARNING]
[--pwdexpire
PWDEXPIRE]
[--pwdmaxage
PWDMAXAGE]
[--pwdminage
PWDMINAGE]
[--pwdgracelimit
PWDGRACELIMIT]
[--pwdsendexpiring
PWDSENDEXPIRING]
[--pwdlockout
PWDLOCKOUT]
[--pwdunlock
PWDUNLOCK]
[--pwdlockoutduration
PWDLOCKOUTDURATION]
[--pwdmaxfailures
PWDMAXFAILURES]
[--pwdresetfailcount
PWDRESETFAILCOUNT]
[--pwdchecksyntax
PWDCHECKSYNTAX]
[--pwdminlen
PWDMINLEN]
[--pwdmindigits
PWDMINDIGITS]
[--pwdminalphas
PWDMINALPHAS]
[--pwdminuppers
PWDMINUPPERS]
[--pwdminlowers
PWDMINLOWERS]
[--pwdminspecials
PWDMINSPECIALS]
[--pwdmin8bits
PWDMIN8BITS]
[--pwdmaxrepeats
PWDMAXREPEATS]
[--pwdpalindrome
PWDPALINDROME]
[--pwdmaxseq
PWDMAXSEQ]
[--pwdmaxseqsets
PWDMAXSEQSETS]
[--pwdmaxclasschars
PWDMAXCLASSCHARS]
[--pwdmincatagories
PWDMINCATAGORIES]
[--pwdmintokenlen
PWDMINTOKENLEN]
[--pwdbadwords
PWDBADWORDS]
[--pwduserattrs
PWDUSERATTRS]
[--pwddictcheck
PWDDICTCHECK]
[--pwddictpath
PWDDICTPATH]
[--pwptprmaxuse
PWPTPRMAXUSE]
[--pwptprdelayexpireat
PWPTPRDELAYEXPIREAT]
[--pwptprdelayvalidfrom
PWPTPRDELAYVALIDFROM]
DN
DNโ add/replace the subtree policy for this entry DN. drop it in and the whole subtree is covered, periodt ๐
โจ OPTIONS 'dsconf localpwp addsubtree' โจ
--pwdscheme PWDSCHEMEโ bestie, this sets the password storage scheme ๐--pwdchange PWDCHANGEโ lets users change their own passwords ๐--pwdmustchange PWDMUSTCHANGEโ users gotta change their password after an administrator resets it ๐--pwdhistory PWDHISTORYโ to enable password history, set this to"on", otherwise"off"โจ--pwdhistorycount PWDHISTORYCOUNTโ the number of passwords to keep in history ๐ง--pwdadmin PWDADMINโ the DN of an entry or a group of accounts that can bypass password policy constraints ๐--pwdadminskipupdates PWDADMINSKIPUPDATESโ set to"on"if the Password Admin's password update should not trigger updates to the password state attributes (passwordExpirationtime,passwordHistory, etc.) ๐--pwdtrack PWDTRACKโ set to"on"to track the time the password was last changed โฐ--pwdwarning PWDWARNINGโ send an expiring warning if password expires within this time (in seconds) โ ๏ธ--pwdexpire PWDEXPIREโ set to"on"to enable password expiration ๐--pwdmaxage PWDMAXAGEโ the password expiration time in seconds โณ--pwdminage PWDMINAGEโ the number of seconds that must pass before a user can change their password ๐ฐ๏ธ--pwdgracelimit PWDGRACELIMITโ the number of allowed logins after the password has expired ๐ช--pwdsendexpiring PWDSENDEXPIRINGโ set to"on"to always send the expiring control regardless of the warning period ๐จ--pwdlockout PWDLOCKOUTโ set to"on"to enable account lockout ๐--pwdunlock PWDUNLOCKโ set to"on"to allow an account to become unlocked after the lockout duration ๐--pwdlockoutduration PWDLOCKOUTDURATIONโ the number of seconds an account stays locked out โฒ๏ธ--pwdmaxfailures PWDMAXFAILURESโ the maximum number of allowed failed password attempts before the account gets locked ๐ฅ--pwdresetfailcount PWDRESETFAILCOUNTโ the number of seconds to wait before reducing the failed login count on an account โป๏ธ--pwdchecksyntax PWDCHECKSYNTAXโ set to"on"to enable password syntax checking โ--pwdminlen PWDMINLENโ the minimum number of characters required in a password ๐ก--pwdmindigits PWDMINDIGITSโ the minimum number of digit/number characters in a password ๐ข--pwdminalphas PWDMINALPHASโ the minimum number of alpha characters required in a password ๐ค--pwdminuppers PWDMINUPPERSโ the minimum number of uppercase characters required in a password ๐--pwdminlowers PWDMINLOWERSโ the minimum number of lowercase characters required in a password ๐ก--pwdminspecials PWDMINSPECIALSโ the minimum number of special characters required in a password โจ--pwdmin8bits PWDMIN8BITSโ the minimum number of 8-bit characters required in a password ๐--pwdmaxrepeats PWDMAXREPEATSโ the maximum number of times the same character can appear sequentially in the password ๐--pwdpalindrome PWDPALINDROMEโ set to"on"to reject passwords that are palindromes ๐--pwdmaxseq PWDMAXSEQโ the maximum number of allowed monotonic character sequences in a password ๐--pwdmaxseqsets PWDMAXSEQSETSโ the maximum number of allowed monotonic character sequences that can be duplicated in a password ๐--pwdmaxclasschars PWDMAXCLASSCHARSโ the maximum number of sequential characters from the same character class that is allowed in a password ๐ฏ--pwdmincatagories PWDMINCATAGORIESโ the minimum number of syntax category checks ๐๏ธ--pwdmintokenlen PWDMINTOKENLENโ sets the smallest attribute value length that is used for trivial/user words checking. This also impacts"--pwduserattrs"๐--pwdbadwords PWDBADWORDSโ a space-separated list of words that can not be in a password ๐ซ--pwduserattrs PWDUSERATTRSโ a space-separated list of attributes whose values can not appear in the password (see"--pwdmintokenlen") ๐ง--pwddictcheck PWDDICTCHECKโ set to"on"to enforce CrackLib dictionary checking ๐--pwddictpath PWDDICTPATHโ filesystem path to specific/custom CrackLib dictionary files ๐--pwptprmaxuse PWPTPRMAXUSEโ number of times a reset password can be used for authentication ๐--pwptprdelayexpireat PWPTPRDELAYEXPIREATโ number of seconds after which a reset password expires โ--pwptprdelayvalidfrom PWPTPRDELAYVALIDFROMโ number of seconds to wait before using a reset password to authenticated ๐
๐ COMMAND 'dsconf replication' ๐
usage: dsconf [-v] [-j] instance replication [-h]
{enable,disable,get-ruv,list,status,winsync-status,promote,create-manager,delete-manager,demote,get,set-changelog,get-changelog,export-changelog,import-changelog,set,monitor,lag-report}
...
๐ธ POSITIONAL ARGUMENTS 'dsconf replication' ๐ธ
dsconf replication enableโ enable replication for a suffix ๐dsconf replication disableโ disable replication for a suffix ๐ซdsconf replication get-ruvโ display the database RUV entry for a suffix ๐dsconf replication listโ lists all the replicated suffixes ๐dsconf replication statusโ display the current status of all the replication agreements ๐dsconf replication winsync-statusโ display the current status of all the replication agreements ๐ชdsconf replication promoteโ promote a replica to a hub or supplier ๐dsconf replication create-managerโ create a replication manager entry ๐ ๏ธdsconf replication delete-managerโ delete a replication manager entry ๐๏ธdsconf replication demoteโ demote replica to a hub or consumer ๐dsconf replication getโ display the replication configuration โ๏ธdsconf replication set-changelogโ set replication changelog attributes ๐dsconf replication get-changelogโ display replication changelog attributes ๐dsconf replication export-changelogโ export the Directory Server replication changelog to an LDIF file ๐คdsconf replication import-changelogโ restore/import Directory Server replication change log from an LDIF file. This is typically used when managing changelog encryption ๐ฅdsconf replication setโ set an attribute in the replication configuration ๐๏ธdsconf replication monitorโ display the full replication topology report ๐บ๏ธdsconf replication lag-reportโ generate detailed replication lag monitoring report โฑ๏ธ
โจ COMMAND 'dsconf replication enable' โจ
usage: dsconf [-v] [-j] instance replication enable [-h] --suffix SUFFIX
--role ROLE
[--replica-id
REPLICA_ID]
[--bind-group-dn
BIND_GROUP_DN]
[--bind-dn BIND_DN]
[--bind-passwd
BIND_PASSWD]
[--bind-passwd-file
BIND_PASSWD_FILE]
[--bind-passwd-prompt]
๐ OPTIONS 'dsconf replication enable' ๐
--suffix SUFFIXโ sets the DN of the suffix to be enabled for replication ๐--role ROLEโ sets the replication role:"supplier","hub", or"consumer"๐--replica-id REPLICA_IDโ sets the replication identifier for a"supplier". Values range from1-65534๐ข--bind-group-dn BIND_GROUP_DNโ sets a group entry DN containing members that are"bind/supplier"DNs ๐ซถ--bind-dn BIND_DNโ sets the bind or supplier DN that can make replication updates ๐--bind-passwd BIND_PASSWDโ sets the password for replication manager (--bind-dn). This will create the manager entry if a value is set ๐--bind-passwd-file BIND_PASSWD_FILEโ file containing the password ๐--bind-passwd-promptโ prompt for password ๐
๐ COMMAND 'dsconf replication disable' ๐
usage: dsconf [-v] [-j] instance replication disable [-h] --suffix
SUFFIX
๐ธ OPTIONS 'dsconf replication disable' ๐ธ
--suffix SUFFIXโ sets the DN of the suffix to have replication disabled ๐ซ
๐ COMMAND 'dsconf replication get-ruv' ๐
usage: dsconf [-v] [-j] instance replication get-ruv [-h] --suffix
SUFFIX
๐ฆ OPTIONS 'dsconf replication get-ruv' ๐ฆ
--suffix SUFFIXโ sets the DN of the replicated suffix ๐
โญ COMMAND 'dsconf replication list' โญ
usage: dsconf [-v] [-j] instance replication list [-h]
๐ COMMAND 'dsconf replication status' ๐
usage: dsconf [-v] [-j] instance replication status [-h] --suffix SUFFIX
[--bind-dn BIND_DN]
[--bind-passwd
BIND_PASSWD]
[--bind-passwd-file
BIND_PASSWD_FILE]
[--bind-passwd-prompt]
โจ OPTIONS 'dsconf replication status' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐--bind-dn BIND_DNโ sets the DN to use to authenticate to the consumer. If not set, current instance's root DN will be used. It will be used for all agreements ๐--bind-passwd BIND_PASSWDโ sets the password for the bind DN. It will be used for all agreements ๐--bind-passwd-file BIND_PASSWD_FILEโ file containing the password. It will be used for all agreements ๐--bind-passwd-promptโ prompt for passwords for each agreement's instance separately ๐
๐ฆ COMMAND 'dsconf replication winsync-status' ๐ฆ
usage: dsconf instance [-v] [-j] replication winsync-status
[-h] --suffix SUFFIX [--bind-dn BIND_DN] [--bind-passwd
BIND_PASSWD]
[--bind-passwd-file BIND_PASSWD_FILE] [--bind-passwd-prompt]
๐ OPTIONS 'dsconf replication winsync-status' ๐
--suffix SUFFIXโ sets the DN of the replication suffix ๐--bind-dn BIND_DNโ sets the DN to use to authenticate to the consumer. Currectly not used ๐ญ--bind-passwd BIND_PASSWDโ sets the password of the bind DN. Currectly not used ๐ญ--bind-passwd-file BIND_PASSWD_FILEโ file containing the password. Currectly not used ๐ญ--bind-passwd-promptโ prompt for password. Currectly not used ๐ญ
๐ COMMAND 'dsconf replication promote' ๐
okay bestie, this one's for giving a replica a โจglow upโจ โ like, you're literally letting a consumer ascend to something with actual power. main character energy fr fr.
usage: dsconf [-v] [-j] instance replication promote [-h] --suffix SUFFIX
--newrole NEWROLE
[--replica-id REPLICA_ID]
[--bind-group-dn BIND_GROUP_DN]
[--bind-dn BIND_DN]
๐ OPTIONS 'dsconf replication promote' ๐
--suffixSUFFIX โ sets the DN of the replication suffix you wanna promote. like, which subtree is getting the promotion letter ๐--newroleNEWROLE โ sets the new replica role to"hub"or"supplier". that's it, that's the glow up.--replica-idREPLICA_ID โ sets the replication identifier for a"supplier". values range from1-65534. no cap, that's the whole range ๐ซถ--bind-group-dnBIND_GROUP_DN โ sets a group entry DN containing members that are"bind/supplier"DNs--bind-dnBIND_DN โ sets the bind or supplier DN that can make replication updates
๐ฆ COMMAND 'dsconf replication create-manager' ๐ฆ
new manager just dropped ๐ this is how you spawn a fresh replication manager entry, and honestly? she's iconic.
usage: dsconf [-v] [-j] instance replication create-manager
[-h] [--name NAME] [--passwd PASSWD] [--passwd-file PASSWD_FILE]
[--bind-passwd-file BIND_PASSWD_FILE] [--suffix SUFFIX]
๐ธ OPTIONS 'dsconf replication create-manager' ๐ธ
--nameNAME โ sets the name of the new replication manager entry. For example, if the name is"replication manager"then the new manager entry's DN would be"cn=replication manager,cn=config". periodt.--passwdPASSWD โ sets the password for replication manager. If not provided, you will be prompted for the password. no stress, she'll ask ๐--passwd-filePASSWD_FILE โ file containing the password for back compatibility--bind-passwd-fileBIND_PASSWD_FILE โ file containing the password--suffixSUFFIX โ the DN of the replication suffix whose replication configuration you want to add this new manager to (OPTIONAL)
๐ COMMAND 'dsconf replication delete-manager' ๐
and now the opposite vibe โ she's leaving the group chat ๐ญ
usage: dsconf [-v] [-j] instance replication delete-manager
[-h] [--name NAME] [--suffix SUFFIX]
๐ฅ OPTIONS 'dsconf replication delete-manager' ๐ฅ
--nameNAME โ sets the name of the replication manager entry undercn=config:"cn=NAME,cn=config"--suffixSUFFIX โ sets the DN of the replication suffix whose replication configuration you want to remove this manager from (OPTIONAL)
๐ COMMAND 'dsconf replication demote' ๐
noooo not the demotion ๐ญ everyone has a downfall arc i guess. this drops a replica down a peg.
usage: dsconf [-v] [-j] instance replication demote [-h] --suffix SUFFIX
--newrole NEWROLE
โจ OPTIONS 'dsconf replication demote' โจ
--suffixSUFFIX โ sets the DN of the replication suffix--newroleNEWROLE โ sets the new replication role to"hub", or"consumer". yeah. she's a consumer now. humble era ๐
๐ฅ COMMAND 'dsconf replication get' ๐ฅ
vibe check on your replication config โ just show me everything, no filter.
usage: dsconf [-v] [-j] instance replication get [-h] --suffix SUFFIX
๐ OPTIONS 'dsconf replication get' ๐
--suffixSUFFIX โ sets the suffix DN for the replication configuration to display
๐ COMMAND 'dsconf replication set-changelog' ๐
the changelog is like the group chat history of your replication โ and here's where you set how much of it gets kept around, and whether it's locked down with encryption ๐
usage: dsconf [-v] [-j] instance replication set-changelog [-h]
--suffix SUFFIX
[--max-entries MAX_ENTRIES]
[--max-age MAX_AGE]
[--trim-interval TRIM_INTERVAL]
[--encrypt]
[--disable-encrypt]
๐ง OPTIONS 'dsconf replication set-changelog' ๐ง
--suffixSUFFIX โ sets the suffix that uses the changelog--max-entriesMAX_ENTRIES โ sets the maximum number of entries to get in the replication changelog--max-ageMAX_AGE โ specifies the maximum age of any entry in the changelog. The value must be a number followed by a duration unit[sSmMhHdDwW]. like7d, bestie โ number first, unit after, don't freestyle it ๐--trim-intervalTRIM_INTERVAL โ sets the interval to check if the replication changelog can be trimmed--encryptโ sets the replication changelog to use encryption. You must export and import the changelog after setting this. listen โ must. not "should", not "maybe later". export + import or it's not happening ๐ซถ--disable-encryptโ sets the replication changelog to not use encryption. You must export and import the changelog after setting this. same deal, same rule โจ
๐ COMMAND 'dsconf replication get-changelog' ๐
peek at the changelog settings, no editing, just looking respectfully ๐
usage: dsconf [-v] [-j] instance replication get-changelog [-h]
--suffix SUFFIX
๐ OPTIONS 'dsconf replication get-changelog' ๐
--suffixSUFFIX โ sets the suffix that uses the changelog
๐ฆ COMMAND 'dsconf replication export-changelog' ๐ฆ
time to get that changelog out of the building ๐ชโจ
usage: dsconf [-v] [-j] instance replication export-changelog
[-h] {to-ldif,default} ...
๐ธ POSITIONAL ARGUMENTS 'dsconf replication export-changelog' ๐ธ
dsconf replication export-changelog to-ldifโ sets the LDIF file name. This is typically used for setting up changelog encryptiondsconf replication export-changelog defaultโ export the replication changelog to the server's default LDIF directory
๐
COMMAND 'dsconf replication export-changelog to-ldif' ๐
the full-control version, with all the little switches ๐๏ธ
usage: dsconf instance [-v] [-j] replication export-changelog to-ldif
[-h] [-c] [-d] [-l] [-i CHANGELOG_LDIF] -o OUTPUT_FILE -r REPLICA_ROOT
๐ OPTIONS 'dsconf replication export-changelog to-ldif' ๐
-c,--csn-onlyโ enables to export and interpret CSN only. This option can be used with or without-ioption. The LDIF file that is generated can not be imported and is only used for debugging purposes. so like, debug snack, not a meal ๐-d,--decodeโ decodes the base64 values in each changelog entry. The LDIF file that is generated can not be imported and is only used for debugging purposes. again: debug only, bestie ๐-l,--preserve-ldif-doneโ preserves generated LDIF"files.done"files in changelog directory.-iCHANGELOG_LDIF,--changelog-ldifCHANGELOG_LDIF โ decodes changes in an LDIF file. Use this option if you already have a changelog LDIF file, but the changes in that file are encoded.-oOUTPUT_FILE,--output-fileOUTPUT_FILE โ sets the path name for the final result-rREPLICA_ROOT,--replica-rootREPLICA_ROOT โ specifies the replica root whose changelog you want to export
๐ COMMAND 'dsconf replication export-changelog default' ๐
the low-effort version โ she just does the thing to the default spot ๐ซถ
usage: dsconf [-v] [-j] instance replication export-changelog default
[-h] -r REPLICA_ROOT
โจ OPTIONS 'dsconf replication export-changelog default' โจ
-rREPLICA_ROOT,--replica-rootREPLICA_ROOT โ specifies the replica root whose changelog you want to export
๐ COMMAND 'dsconf replication import-changelog' ๐
and we're bringing it back in, reverse uno card ๐
usage: dsconf instance [-v] [-j] replication import-changelog
[-h] {from-ldif,default} ...
๐ POSITIONAL ARGUMENTS 'dsconf replication import-changelog' ๐
dsconf replication import-changelog from-ldifโ restore/import a specific single LDIF filedsconf replication import-changelog defaultโ import the default changelog LDIF file created by the server
๐ฆ COMMAND 'dsconf replication import-changelog from-ldif' ๐ฆ
one specific file, one specific mission ๐ฏ
usage: dsconf [-v] [-j] instance replication import-changelog from-ldif
[-h] -r REPLICA_ROOT LDIF_PATH
LDIF_PATH โ the path of the changelog LDIF file
๐ธ OPTIONS 'dsconf replication import-changelog from-ldif' ๐ธ
-rREPLICA_ROOT,--replica-rootREPLICA_ROOT โ specifies the replica root whose changelog you want to import
๐ COMMAND 'dsconf replication import-changelog default' ๐
the server already made you a default changelog LDIF, so let's just slurp that one back in ๐
usage: dsconf instance [-v] [-j] replication import-changelog default
[-h] -r REPLICA_ROOT
โจ OPTIONS 'dsconf replication import-changelog default' โจ
-rREPLICA_ROOT,--replica-rootREPLICA_ROOT โ specifies the replica root whose changelog you want to import
๐ COMMAND 'dsconf replication set' ๐
the big one โ a whole buffet of replication settings, and she is serving ๐ฝ๏ธโจ
usage: dsconf [-v] [-j] instance replication set [-h] --suffix SUFFIX
[--repl-add-bind-dn REPL_ADD_BIND_DN]
[--repl-del-bind-dn REPL_DEL_BIND_DN]
[--repl-add-ref REPL_ADD_REF]
[--repl-del-ref REPL_DEL_REF]
[--repl-purge-delay REPL_PURGE_DELAY]
[--repl-tombstone-purge-interval REPL_TOMBSTONE_PURGE_INTERVAL]
[--repl-fast-tombstone-purging REPL_FAST_TOMBSTONE_PURGING]
[--repl-bind-group REPL_BIND_GROUP]
[--repl-bind-group-interval REPL_BIND_GROUP_INTERVAL]
[--repl-protocol-timeout REPL_PROTOCOL_TIMEOUT]
[--repl-backoff-max REPL_BACKOFF_MAX]
[--repl-backoff-min REPL_BACKOFF_MIN]
[--repl-release-timeout REPL_RELEASE_TIMEOUT]
[--repl-keepalive-update-interval REPL_KEEPALIVE_UPDATE_INTERVAL]
โจ OPTIONS 'dsconf replication set' โจ
--suffix SUFFIXโ sets the DN of the replication suffix, bestie. That's the whole vibe ๐--repl-add-bind-dn REPL_ADD_BIND_DNโ adds a bind (supplier) DN ๐--repl-del-bind-dn REPL_DEL_BIND_DNโ takes a bind (supplier) DN away, bye bye ๐--repl-add-ref REPL_ADD_REFโ adds a replication referral, and heads up: this one is for consumers only ๐ง--repl-del-ref REPL_DEL_REFโ removes a replication referral (also consumers only โ the original page literally spells it "conusmers" and honestly, we respect the typo era ๐)--repl-purge-delay REPL_PURGE_DELAYโ sets the replication purge delay โณ--repl-tombstone-purge-interval REPL_TOMBSTONE_PURGE_INTERVALโ sets the interval, in seconds, to check for tombstones that can be purged ๐ชฆ--repl-fast-tombstone-purging REPL_FAST_TOMBSTONE_PURGINGโ turns the tombstone-purging performance improvement on or off. Yes it's a toggle, slay ๐ฅ--repl-bind-group REPL_BIND_GROUPโ sets a group entry DN containing members that are"bind/supplier"DNs ๐--repl-bind-group-interval REPL_BIND_GROUP_INTERVALโ sets an interval in seconds to check if the bind group has been updated ๐--repl-protocol-timeout REPL_PROTOCOL_TIMEOUTโ sets a timeout in seconds for how long to wait before stopping replication when the server is under load ๐ฎโ๐จ--repl-backoff-max REPL_BACKOFF_MAXโ the max time in seconds a replication agreement should stay in a backoff state while waiting to acquire the consumer. Default is300seconds โจ--repl-backoff-min REPL_BACKOFF_MINโ the starting time in seconds a replication agreement should stay in a backoff state while waiting to acquire the consumer. Default is3seconds ๐ธ--repl-release-timeout REPL_RELEASE_TIMEOUTโ a timeout in seconds a replication supplier should send updates before it yields its replication session ๐ซถ--repl-keepalive-update-interval REPL_KEEPALIVE_UPDATE_INTERVALโ interval in seconds for how often the server will apply an internal update to keep the RUV from getting stale. The default is 1 hour (3600seconds) โฐ
๐ COMMAND 'dsconf replication monitor' ๐
usage: dsconf [-v] [-j] instance replication monitor [-h]
[-c [CONNECTIONS
...]]
[-a [ALIASES ...]]
โจ OPTIONS 'dsconf replication monitor' โจ
-c [CONNECTIONS ...],--connections [CONNECTIONS ...]โ sets the connection values for monitoring other not-connected topologies. The format is'host:port:binddn:bindpwd'. You can use regex for host and port ๐. You can setbindpwdto*and it'll be requested at runtime, or you can include the path to the password file in square brackets โ like[~/pwd.txt]๐-a [ALIASES ...],--aliases [ALIASES ...]โ enables displaying an alias instead ofhost:port, if an alias is assigned to ahost:portcombination. The format:alias=host:port๐
๐ COMMAND 'dsconf replication lag-report' ๐
usage: dsconf [-v] [-j] instance replication lag-report [-h]
--log-dirs
LOG_DIRS [LOG_DIRS ...]
--suffixes
SUFFIXES [SUFFIXES ...]
--output-dir
OUTPUT_DIR
[--output-format
OUTPUT_FORMAT [OUTPUT_FORMAT ...]]
[--json]
[--only-fully-replicated
|
--only-not-replicated]
[--lag-time-lowest
LAG_TIME_LOWEST]
[--etime-lowest
ETIME_LOWEST]
[--start-time
START_TIME]
[--end-time
END_TIME]
[--utc-offset
UTC_OFFSET]
[--anonymous]
[--precision
{fast,balanced,full}]
[--max-chart-points
MAX_CHART_POINTS]
๐งธ INPUT OPTIONS 'dsconf replication lag-report' ๐งธ
--log-dirs LOG_DIRS [LOG_DIRS ...]โ list of log directories to analyze ๐--suffixes SUFFIXES [SUFFIXES ...]โ list of suffixes to analyze ๐
๐ OUTPUT OPTIONS 'dsconf replication lag-report' ๐
--output-dir OUTPUT_DIRโ directory to write analysis reports to ๐--output-format OUTPUT_FORMAT [OUTPUT_FORMAT ...]โ one or more output formats:html,json,png,csv. Default:htmlโจ--jsonโ output the result as JSON (for UI integration / programmatic use) ๐ค
๐ฆ FILTERING OPTIONS 'dsconf replication lag-report' ๐ฆ
--only-fully-replicatedโ show only fully replicated entries โ--only-not-replicatedโ show only entries that failed to replicate ๐ญ--lag-time-lowest LAG_TIME_LOWESTโ filter entries with lag time above this threshold (seconds) โฑ๏ธ--etime-lowest ETIME_LOWESTโ filter entries with etime above this threshold (seconds) โณ
๐ธ TIME RANGE OPTIONS 'dsconf replication lag-report' ๐ธ
--start-time START_TIMEโ start time for analysis (YYYY-MM-DD HH:MM:SS) ๐๏ธ--end-time END_TIMEโ end time for analysis (YYYY-MM-DD HH:MM:SS) ๐๏ธ
๐ ADDITIONAL OPTIONS 'dsconf replication lag-report' ๐
--utc-offset UTC_OFFSETโ UTC offset inยฑHHMMformat (e.g.,-0400,+0530) ๐--anonymousโ anonymize server names in the report ๐ต๏ธ
๐ฅ PERFORMANCE OPTIONS 'dsconf replication lag-report' ๐ฅ
--precision {fast,balanced,full}โ analysis precision vs speed:fast(more sampling),balanced(default),full(no sampling) ๐๏ธ--max-chart-points MAX_CHART_POINTSโ maximum total data points to include across all chart series (sampling applied if exceeded). Default depends on--precision๐
๐ COMMAND 'dsconf repl-agmt' ๐
usage: dsconf [-v] [-j] instance repl-agmt [-h]
{list,enable,disable,init,init-status,poke,status,delete,create,set,get}
...
โจ POSITIONAL ARGUMENTS 'dsconf repl-agmt' โจ
dsconf repl-agmt listโ list all replication agreements ๐dsconf repl-agmt enableโ enable replication agreement โdsconf repl-agmt disableโ disable replication agreement โdsconf repl-agmt initโ initialize replication agreement ๐dsconf repl-agmt init-statusโ check the agreement initialization status ๐dsconf repl-agmt pokeโ trigger replication to send updates now ๐๐จdsconf repl-agmt statusโ displays the current status of the replication agreement ๐ฉบdsconf repl-agmt deleteโ delete replication agreement ๐๏ธdsconf repl-agmt createโ initialize replication agreement ๐ฑdsconf repl-agmt setโ set an attribute in the replication agreement ๐ ๏ธdsconf repl-agmt getโ get replication configuration ๐
๐ COMMAND 'dsconf repl-agmt list' ๐
usage: dsconf [-v] [-j] instance repl-agmt list [-h] --suffix SUFFIX
[--entry ENTRY]
๐ OPTIONS 'dsconf repl-agmt list' ๐
--suffix SUFFIXโ sets the DN of the suffix to look up replication agreements for ๐--entry ENTRYโ returns the entire entry for each agreement ๐
โ COMMAND 'dsconf repl-agmt enable' โ
usage: dsconf [-v] [-j] instance repl-agmt enable [-h] --suffix SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt enable' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ
โ COMMAND 'dsconf repl-agmt disable' โ
usage: dsconf [-v] [-j] instance repl-agmt disable [-h] --suffix SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt disable' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ
๐ COMMAND 'dsconf repl-agmt init' ๐
usage: dsconf [-v] [-j] instance repl-agmt init [-h] --suffix SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt init' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ
๐ COMMAND 'dsconf repl-agmt init-status' ๐
usage: dsconf [-v] [-j] instance repl-agmt init-status [-h] --suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt init-status' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ
๐ COMMAND 'dsconf repl-agmt poke' ๐
usage: dsconf [-v] [-j] instance repl-agmt poke [-h] --suffix SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt poke' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ
๐ฉบ COMMAND 'dsconf repl-agmt status' ๐ฉบ
usage: dsconf [-v] [-j] instance repl-agmt status [-h] --suffix SUFFIX
[--bind-dn BIND_DN]
[--bind-passwd
BIND_PASSWD]
[--bind-passwd-file
BIND_PASSWD_FILE]
[--bind-passwd-prompt]
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt status' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ--bind-dn BIND_DNโ sets the DN to use to authenticate to the consumer. If it's not set, the current instance's root DN will be used. It will be used for all agreements ๐--bind-passwd BIND_PASSWDโ sets the password for the bind DN. It will be used for all agreements ๐--bind-passwd-file BIND_PASSWD_FILEโ file containing the password. It will be used for all agreements ๐--bind-passwd-promptโ prompt for passwords for each agreement's instance separately ๐
๐๏ธ COMMAND 'dsconf repl-agmt delete' ๐๏ธ
usage: dsconf [-v] [-j] instance repl-agmt delete [-h] --suffix SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement ๐ท๏ธ
โจ OPTIONS 'dsconf repl-agmt delete' โจ
--suffix SUFFIXโ sets the DN of the replication suffix ๐ธ
๐ COMMAND 'dsconf repl-agmt create' ๐
okay bestie, this is the main character command of the whole repl-agmt saga โ the one that actually makes a replication agreement out of thin air. creating a whole relationship between two servers, no cap. ๐
dsconf [-v] [-j] instance repl-agmt create [-h] --suffix SUFFIX
--host HOST
--port PORT
--conn-protocol CONN_PROTOCOL
[--bind-dn BIND_DN]
[--bind-passwd BIND_PASSWD]
[--bind-passwd-file BIND_PASSWD_FILE]
[--bind-passwd-prompt]
--bind-method BIND_METHOD
[--frac-list FRAC_LIST]
[--frac-list-total FRAC_LIST_TOTAL]
[--strip-list STRIP_LIST]
[--schedule SCHEDULE]
[--conn-timeout CONN_TIMEOUT]
[--protocol-timeout PROTOCOL_TIMEOUT]
[--wait-async-results WAIT_ASYNC_RESULTS]
[--busy-wait-time BUSY_WAIT_TIME]
[--session-pause-time SESSION_PAUSE_TIME]
[--flow-control-window FLOW_CONTROL_WINDOW]
[--flow-control-pause FLOW_CONTROL_PAUSE]
[--bootstrap-bind-dn BOOTSTRAP_BIND_DN]
[--bootstrap-bind-passwd BOOTSTRAP_BIND_PASSWD]
[--bootstrap-bind-passwd-file BOOTSTRAP_BIND_PASSWD_FILE]
[--bootstrap-bind-passwd-prompt]
[--bootstrap-conn-protocol BOOTSTRAP_CONN_PROTOCOL]
[--bootstrap-bind-method BOOTSTRAP_BIND_METHOD]
[--init]
AGMT_NAME
๐จ heads up, bestie:--suffix,--host,--port,--conn-protocoland--bind-methodare not optional here. they're required-required, no skipping, the vibe check will fail if you ghost them. the rest are bracketed because they're giving optional โจ
๐ AGMT_NAME ๐
AGMT_NAMEโ literally just the name of the replication agreement, bestie. that's it. that's the job. name your agreement like you name your playlists, with love. ๐ธ
โจ OPTIONS 'dsconf repl-agmt create' โจ
--suffix SUFFIXโ sets the DN of the replication suffix. this is the what โ what part of the tree are we even replicating, queen? ๐--host HOSTโ sets the hostname of the remote replica. your pen pal server's address. ๐ฆ--port PORTโ sets the port number of the remote replica. which door do we knock on? this one. ๐ช--conn-protocol CONN_PROTOCOLโ sets the replication connection protocol:LDAP,LDAPS, orStartTLS. pick your lane, pick your security level, periodt. ๐--bind-dn BIND_DNโ sets the bind DN the agreement uses to authenticate to the replica. it's giving "hi, it's me, let me in." ๐--bind-passwd BIND_PASSWDโ sets the credentials for the bind DN. the password. the secret. the tea. ๐คซ--bind-passwd-file BIND_PASSWD_FILEโ file containing the password. keep it in a file if you don't wanna type it in the group chat. ๐--bind-passwd-promptโ prompt for password. it'll ask you nicely instead. ๐ซถ--bind-method BIND_METHODโ sets the bind method:"SIMPLE","SSLCLIENTAUTH","SASL/DIGEST", or"SASL/GSSAPI". four flavors, all valid, choose your fighter. โจ--frac-list FRAC_LISTโ sets the list of attributes to NOT replicate to the consumer during incremental updates. i.e. the stuff you're deliberately leaving on read. ๐--frac-list-total FRAC_LIST_TOTALโ sets the list of attributes to NOT replicate during a total initialization. same energy, but for the big full-send copy. ๐ซ--strip-list STRIP_LISTโ sets a list of attributes that are removed from updates only if the event would otherwise be empty. typically this is set to"modifiersname"and"modifytimestmap"(yes bestie, that's spelled exactly how the manpage spells it โ we don't fix, we transcribe ๐). it's the "don't send an update that's literally just metadata" filter. ๐งน--schedule SCHEDULEโ sets the replication update schedule:'HHMM-HHMM DDDDDDD'whereD=0-6(Sunday - Saturday). yes that's the format, seven day digits, one per day of the week. calendar girl behavior. ๐๏ธ--conn-timeout CONN_TIMEOUTโ sets the timeout used for replication connections. how long we wait before we're like "okay they're not answering, moving on." โฐ--protocol-timeout PROTOCOL_TIMEOUTโ sets a timeout in seconds on how long to wait before stopping replication when the server is under load. under load = server is stressed, and this tells it how long to hang on before bailing. ๐ฎโ๐จ--wait-async-results WAIT_ASYNC_RESULTSโ sets the amount of time in milliseconds the server waits if the consumer is not ready before resending data. patience in milliseconds, we're precise here. โฑ๏ธ--busy-wait-time BUSY_WAIT_TIMEโ sets the amount of time in seconds a supplier should wait after a consumer sends back a busy response before making another attempt to acquire access. consumer said "busy rn ๐ ", so supplier waits this long before trying again. ๐--session-pause-time SESSION_PAUSE_TIMEโ sets the amount of time in seconds a supplier should wait between update sessions. it's the little breather between rounds. ๐ฌ๏ธ--flow-control-window FLOW_CONTROL_WINDOWโ sets the maximum number of entries and updates sent by a supplier, which are not acknowledged by the consumer. i.e. how many un-acked things can be in flight before we pump the brakes. ๐--flow-control-pause FLOW_CONTROL_PAUSEโ sets the time in milliseconds to pause after reaching the number of entries and updates set in"--flow-control-window". the cooldown after the brake pump. โ๏ธ--bootstrap-bind-dn BOOTSTRAP_BIND_DNโ sets an optional bind DN the agreement can use to bootstrap initialization when bind groups are being used. optional, so your call bestie. ๐--bootstrap-bind-passwd BOOTSTRAP_BIND_PASSWDโ sets the bootstrap credentials for the bind DN. the bootstrap password. the bootstrap tea. ๐--bootstrap-bind-passwd-file BOOTSTRAP_BIND_PASSWD_FILEโ file containing the password. ๐--bootstrap-bind-passwd-promptโ file containing the password. yes, that's genuinely what the manpage says for this one โ we're reporting it exactly as written, no editing, no guessing. ๐--bootstrap-conn-protocol BOOTSTRAP_CONN_PROTOCOLโ sets the replication bootstrap connection protocol:LDAP,LDAPS, orStartTLS. same three lanes, bootstrap edition. ๐--bootstrap-bind-method BOOTSTRAP_BIND_METHODโ sets the bind method:"SIMPLE", or"SSLCLIENTAUTH". note: just the two this time, not all four. ๐--initโ initializes the agreement after creating it. one and done, create + init in a single slay. ๐ฅ
๐ COMMAND 'dsconf repl-agmt set' ๐
now this one is the edit button on an agreement you already made. no creating, just tweaking. glow-up energy. โจ
dsconf [-v] [-j] instance repl-agmt set [-h] --suffix SUFFIX
[--host HOST]
[--port PORT]
[--conn-protocol CONN_PROTOCOL]
[--bind-dn BIND_DN]
[--bind-passwd BIND_PASSWD]
[--bind-passwd-file BIND_PASSWD_FILE]
[--bind-passwd-prompt]
[--bind-method BIND_METHOD]
[--frac-list FRAC_LIST]
[--frac-list-total FRAC_LIST_TOTAL]
[--strip-list STRIP_LIST]
[--schedule SCHEDULE]
[--conn-timeout CONN_TIMEOUT]
[--protocol-timeout PROTOCOL_TIMEOUT]
[--wait-async-results WAIT_ASYNC_RESULTS]
[--busy-wait-time BUSY_WAIT_TIME]
[--session-pause-time SESSION_PAUSE_TIME]
[--flow-control-window FLOW_CONTROL_WINDOW]
[--flow-control-pause FLOW_CONTROL_PAUSE]
[--bootstrap-bind-dn BOOTSTRAP_BIND_DN]
[--bootstrap-bind-passwd BOOTSTRAP_BIND_PASSWD]
[--bootstrap-bind-passwd-file BOOTSTRAP_BIND_PASSWD_FILE]
[--bootstrap-bind-passwd-prompt]
[--bootstrap-conn-protocol BOOTSTRAP_CONN_PROTOCOL]
[--bootstrap-bind-method BOOTSTRAP_BIND_METHOD]
AGMT_NAME
๐ธ see how--suffixis the only thing still required-required and everything else went full brackets? yeah. that's the difference betweencreateandset, bestie. notice it. iykyk.
๐ฆ AGMT_NAME ๐ฆ
AGMT_NAMEโ the name of the replication agreement. same deal as before, just the name, that's the whole vibe. ๐
โจ OPTIONS for dsconf repl-agmt set โจ
okay bestie, this is the big one โ literally every knob you can twist on an agreement ๐
--suffix SUFFIXโ sets the DN of the replication suffix ๐ฆ--host HOSTโ sets the hostname of the remote replica--port PORTโ sets the port number of the remote replica--conn-protocol CONN_PROTOCOLโ sets the replication connection protocol:LDAP,LDAPS, orStartTLSโจ--bind-dn BIND_DNโ sets the Bind DN the agreement uses to authenticate to the replica--bind-passwd BIND_PASSWDโ sets the credentials for the bind DN ๐--bind-passwd-file BIND_PASSWD_FILEโ file containing the password--bind-passwd-promptโ prompt for password--bind-method BIND_METHODโ sets the bind method:"SIMPLE","SSLCLIENTAUTH","SASL/DIGEST", or"SASL/GSSAPI"--frac-list FRAC_LISTโ sets a list of attributes to NOT replicate to the consumer during incremental updates ๐--frac-list-total FRAC_LIST_TOTALโ sets a list of attributes to NOT replicate during a total initialization--strip-list STRIP_LISTโ sets a list of attributes that are removed from updates only if the event would otherwise be empty. Typically this is set to"modifiersname"and"modifytimestmap"๐--schedule SCHEDULEโ sets the replication update schedule:'HHMM-HHMM DDDDDDD'where D = 0-6 (Sunday - Saturday).--conn-timeout CONN_TIMEOUTโ sets the timeout used for replication connections--protocol-timeout PROTOCOL_TIMEOUTโ sets a timeout in seconds on how long to wait before stopping replication when the server is under load ๐ฎโ๐จ--wait-async-results WAIT_ASYNC_RESULTSโ sets the amount of time in milliseconds the server waits if the consumer is not ready before resending data--busy-wait-time BUSY_WAIT_TIMEโ sets the amount of time in seconds a supplier should wait after a consumer sends back a busy response before making another attempt to acquire access.--session-pause-time SESSION_PAUSE_TIMEโ sets the amount of time in seconds a supplier should wait between update sessions.--flow-control-window FLOW_CONTROL_WINDOWโ sets the maximum number of entries and updates sent by a supplier, which are not acknowledged by the consumer.--flow-control-pause FLOW_CONTROL_PAUSEโ sets the time in milliseconds to pause after reaching the number of entries and updates set in"--flow-control-window"โธ๏ธ--bootstrap-bind-dn BOOTSTRAP_BIND_DNโ sets an optional bind DN the agreement can use to bootstrap initialization when bind groups are being used--bootstrap-bind-passwd BOOTSTRAP_BIND_PASSWDโ sets the bootstrap credentials for the bind DN ๐--bootstrap-bind-passwd-file BOOTSTRAP_BIND_PASSWD_FILEโ file containing the password--bootstrap-bind-passwd-promptโ prompt for password--bootstrap-conn-protocol BOOTSTRAP_CONN_PROTOCOLโ sets the replication bootstrap connection protocol:LDAP,LDAPS, orStartTLS--bootstrap-bind-method BOOTSTRAP_BIND_METHODโ sets the bind method:"SIMPLE", or"SSLCLIENTAUTH"
๐ COMMAND dsconf repl-agmt get ๐
usage: dsconf [-v] [-j] instance repl-agmt get [-h] --suffix SUFFIX
AGMT_NAME
AGMT_NAME โ the suffix DN for which to display the replication configuration ๐ซถ
OPTIONS for dsconf repl-agmt get
--suffix SUFFIXโ sets the DN of the replication suffix
๐ COMMAND dsconf repl-winsync-agmt ๐
winsync time!! windows + directory server, living their bestie life together ๐ช๐
usage: dsconf [-v] [-j] instance repl-winsync-agmt [-h]
{list,enable,disable,init,init-status,poke,status,delete,create,set,get}
...
POSITIONAL ARGUMENTS for dsconf repl-winsync-agmt
dsconf repl-winsync-agmt listโ list all the replication winsync agreements ๐dsconf repl-winsync-agmt enableโ enable replication winsync agreement โdsconf repl-winsync-agmt disableโ disable replication winsync agreement ๐ซdsconf repl-winsync-agmt initโ initialize replication winsync agreementdsconf repl-winsync-agmt init-statusโ check the agreement initialization status ๐dsconf repl-winsync-agmt pokeโ trigger replication to send updates now ๐dsconf repl-winsync-agmt statusโ display the current status of the replication agreementdsconf repl-winsync-agmt deleteโ delete replication winsync agreement ๐dsconf repl-winsync-agmt createโ initialize replication winsync agreementdsconf repl-winsync-agmt setโ set an attribute in the replication winsync agreementdsconf repl-winsync-agmt getโ display replication configuration
๐ธ COMMAND dsconf repl-winsync-agmt list
usage: dsconf [-v] [-j] instance repl-winsync-agmt list [-h] --suffix
SUFFIX
OPTIONS for dsconf repl-winsync-agmt list
--suffix SUFFIXโ sets the DN of the suffix to look up replication winsync agreements ๐
๐ COMMAND dsconf repl-winsync-agmt enable
usage: dsconf [-v] [-j] instance repl-winsync-agmt enable [-h] --suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication winsync agreement
OPTIONS for dsconf repl-winsync-agmt enable
--suffix SUFFIXโ sets the DN of the replication winsync suffix
๐ฆ COMMAND dsconf repl-winsync-agmt disable
usage: dsconf [-v] [-j] instance repl-winsync-agmt disable [-h]
--suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication winsync agreement
OPTIONS for dsconf repl-winsync-agmt disable
--suffix SUFFIXโ sets the DN of the replication winsync suffix
โจ COMMAND dsconf repl-winsync-agmt init
usage: dsconf [-v] [-j] instance repl-winsync-agmt init [-h] --suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication winsync agreement
OPTIONS for dsconf repl-winsync-agmt init
--suffix SUFFIXโ sets the DN of the replication winsync suffix
๐ COMMAND dsconf repl-winsync-agmt init-status
usage: dsconf [-v] [-j] instance repl-winsync-agmt init-status
[-h] --suffix SUFFIX AGMT_NAME
AGMT_NAME โ the name of the replication agreement
OPTIONS for dsconf repl-winsync-agmt init-status
--suffix SUFFIXโ sets the DN of the replication suffix
๐ฅ COMMAND dsconf repl-winsync-agmt poke
usage: dsconf [-v] [-j] instance repl-winsync-agmt poke [-h] --suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication winsync agreement
OPTIONS for dsconf repl-winsync-agmt poke
--suffix SUFFIXโ sets the DN of the replication winsync suffix
๐ COMMAND dsconf repl-winsync-agmt status
usage: dsconf [-v] [-j] instance repl-winsync-agmt status [-h] --suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication agreement
OPTIONS for dsconf repl-winsync-agmt status
--suffix SUFFIXโ sets the DN of the replication suffix
๐ COMMAND dsconf repl-winsync-agmt delete
usage: dsconf [-v] [-j] instance repl-winsync-agmt delete [-h] --suffix
SUFFIX
AGMT_NAME
AGMT_NAME โ the name of the replication winsync agreement
OPTIONS for dsconf repl-winsync-agmt delete
--suffix SUFFIXโ sets the DN of the replication winsync suffix
๐
COMMAND dsconf repl-winsync-agmt create
okay this usage block is long long, bestie. deep breath, we're getting through it together ๐ซถ
usage: dsconf [-v] [-j] instance repl-winsync-agmt create [-h] --suffix
SUFFIX
--host HOST
--port PORT
--conn-protocol CONN_PROTOCOL
--bind-dn BIND_DN
[--bind-passwd BIND_PASSWD]
[--bind-passwd-file BIND_PASSWD_FILE]
[--bind-passwd-prompt]
[--frac-list FRAC_LIST]
[--schedule SCHEDULE]
--win-subtree WIN_SUBTREE
--ds-subtree DS_SUBTREE
--win-domain WIN_DOMAIN
[--sync-users SYNC_USERS]
[--sync-groups SYNC_GROUPS]
[--sync-interval SYNC_INTERVAL]
[--one-way-sync ONE_WAY_SYNC]
[--move-action MOVE_ACTION]
[--win-filter WIN_FILTER]
[--ds-filter DS_FILTER]
[--subtree-pair SUBTREE_PAIR]
[--conn-timeout CONN_TIMEOUT]
[--busy-wait-time BUSY_WAIT_TIME]
[--session-pause-time SESSION_PAUSE_TIME]
[--flatten-tree]
[--init]
AGMT_NAME
AGMT_NAME โ the name of the replication winsync agreement ๐
โจ OPTIONS dsconf repl-winsync-agmt create โจ
okay bestie, here's every single knob you can twist when you're creating a winsync agreement. buckle up, there's a lot ๐
--suffixSUFFIX โ sets the DN of the replication winsync suffix ๐--hostHOST โ sets the hostname of the AD server ๐ฅ๏ธ--portPORT โ sets the port number of the AD server ๐--conn-protocolCONN_PROTOCOL โ sets the replication winsync connection protocol:LDAP,LDAPS, orStartTLS๐--bind-dnBIND_DN โ sets the bind DN the agreement uses to authenticate to the AD Server ๐ชช--bind-passwdBIND_PASSWD โ sets the credentials for the Bind DN ๐--bind-passwd-fileBIND_PASSWD_FILE โ file containing the password ๐--bind-passwd-promptโ prompt for password ๐--frac-listFRAC_LIST โ sets a list of attributes to NOT replicate to the consumer during incremental updates ๐ซ--scheduleSCHEDULE โ sets the replication update schedule ๐๏ธ--win-subtreeWIN_SUBTREE โ sets the suffix of the AD Server ๐ณ--ds-subtreeDS_SUBTREE โ sets the Directory Server suffix ๐ฒ--win-domainWIN_DOMAIN โ sets the AD Domain ๐ฐ--sync-usersSYNC_USERS โ synchronizes users between AD and DS ๐ซ--sync-groupsSYNC_GROUPS โ synchronizes groups between AD and DS ๐ฏ--sync-intervalSYNC_INTERVAL โ sets the interval that DS checks AD for changes in entries โฑ๏ธ--one-way-syncONE_WAY_SYNC โ sets which direction to perform synchronization:"toWindows", or"fromWindows". By default sync occurs in both directions. โ๏ธ--move-actionMOVE_ACTION โ sets instructions on how to handle moved or deleted entries:"none","unsync", or"delete"๐ฆ--win-filterWIN_FILTER โ sets a custom filter for finding users in AD Server ๐--ds-filterDS_FILTER โ sets a custom filter for finding AD users in DS ๐--subtree-pairSUBTREE_PAIR โ sets the subtree pair:<DS_SUBTREE>:<WINDOWS_SUBTREE>๐งฌ--conn-timeoutCONN_TIMEOUT โ sets the timeout used for replicaton connections โณ--busy-wait-timeBUSY_WAIT_TIME โ sets the amount of time in seconds a supplier should wait after a consumer sends back a busy response before making another attempt to acquire access ๐ฎโ๐จ--session-pause-timeSESSION_PAUSE_TIME โ sets the amount of time in seconds a supplier should wait between update sessions ๐--flatten-treeโ By default, the tree structure of AD is preserved into 389. This MAY cause replication to fail in some cases, as you may need to create missing OU's to recreate the same treestructure. This setting when enabled, removes the tree structure of AD and flattens all entries into the ds-subtree. This does NOT affect or change the tree structure of the AD directory. ๐ซ--initโ Initializes the agreement after creating it โจ
โญ COMMAND dsconf repl-winsync-agmt set โญ
usage: dsconf [-v] [-j] instance repl-winsync-agmt set [-h] [--suffix
SUFFIX]
[--host HOST]
[--port PORT]
[--conn-protocol
CONN_PROTOCOL]
[--bind-dn
BIND_DN]
[--bind-passwd
BIND_PASSWD]
[--bind-passwd-file
BIND_PASSWD_FILE]
[--bind-passwd-prompt]
[--frac-list
FRAC_LIST]
[--schedule
SCHEDULE]
[--win-subtree
WIN_SUBTREE]
[--ds-subtree
DS_SUBTREE]
[--win-domain
WIN_DOMAIN]
[--sync-users
SYNC_USERS]
[--sync-groups
SYNC_GROUPS]
[--sync-interval
SYNC_INTERVAL]
[--one-way-sync
ONE_WAY_SYNC]
[--move-action
MOVE_ACTION]
[--win-filter
WIN_FILTER]
[--ds-filter
DS_FILTER]
[--subtree-pair
SUBTREE_PAIR]
[--conn-timeout
CONN_TIMEOUT]
[--busy-wait-time
BUSY_WAIT_TIME]
[--session-pause-time
SESSION_PAUSE_TIME]
AGMT_NAME
- AGMT_NAME โ the name of the replication winsync agreement ๐ท๏ธ
๐ธ OPTIONS dsconf repl-winsync-agmt set ๐ธ
--suffixSUFFIX โ sets the DN of the replication winsync suffix ๐--hostHOST โ sets the hostname of the AD server ๐ฅ๏ธ--portPORT โ sets the port number of the AD server ๐--conn-protocolCONN_PROTOCOL โ sets the replication winsync connection protocol:LDAP,LDAPS, orStartTLS๐--bind-dnBIND_DN โ sets the bind DN the agreement uses to authenticate to the AD Server ๐ชช--bind-passwdBIND_PASSWD โ sets the credentials for the Bind DN ๐--bind-passwd-fileBIND_PASSWD_FILE โ file containing the password ๐--bind-passwd-promptโ prompt for password ๐--frac-listFRAC_LIST โ sets a list of attributes to NOT replicate to the consumer during incremental updates ๐ซ--scheduleSCHEDULE โ sets the replication update schedule ๐๏ธ--win-subtreeWIN_SUBTREE โ sets the suffix of the AD Server ๐ณ--ds-subtreeDS_SUBTREE โ sets the Directory Server suffix ๐ฒ--win-domainWIN_DOMAIN โ sets the AD Domain ๐ฐ--sync-usersSYNC_USERS โ synchronizes users between AD and DS ๐ซ--sync-groupsSYNC_GROUPS โ synchronizes groups between AD and DS ๐ฏ--sync-intervalSYNC_INTERVAL โ sets the interval that DS checks AD for changes in entries โฑ๏ธ--one-way-syncONE_WAY_SYNC โ sets which direction to perform synchronization:"toWindows", or"fromWindows". By default sync occurs in both directions. โ๏ธ--move-actionMOVE_ACTION โ sets instructions on how to handle moved or deleted entries:"none","unsync", or"delete"๐ฆ--win-filterWIN_FILTER โ sets a custom filter for finding users in AD Server ๐--ds-filterDS_FILTER โ sets a custom filter for finding AD users in DS ๐--subtree-pairSUBTREE_PAIR โ sets the subtree pair:<DS_SUBTREE>:<WINDOWS_SUBTREE>๐งฌ--conn-timeoutCONN_TIMEOUT โ sets the timeout used for replicaton connections โณ--busy-wait-timeBUSY_WAIT_TIME โ sets the amount of time in seconds a supplier should wait after a consumer sends back a busy response before making another attempt to acquire access ๐ฎโ๐จ--session-pause-timeSESSION_PAUSE_TIME โ sets the amount of time in seconds a supplier should wait between update sessions ๐
lowkey iconic that set reuses basically the whole create list โ yeah bestie, that's on purpose, so you can tweak any of it later ๐
๐ซ COMMAND dsconf repl-winsync-agmt get ๐ซ
usage: dsconf [-v] [-j] instance repl-winsync-agmt get [-h] --suffix
SUFFIX
AGMT_NAME
- AGMT_NAME โ the suffix DN for the replication configuration to display ๐
๐ฆ OPTIONS dsconf repl-winsync-agmt get ๐ฆ
--suffixSUFFIX โ sets the DN of the replication suffix ๐
๐ COMMAND dsconf repl-tasks ๐
usage: dsconf [-v] [-j] instance repl-tasks [-h]
{cleanallruv,list-cleanruv-tasks,abort-cleanallruv,list-abortruv-tasks}
...
๐ POSITIONAL ARGUMENTS dsconf repl-tasks ๐
dsconf repl-tasks cleanallruvโ cleanup old/removed replica IDs ๐งนdsconf repl-tasks list-cleanruv-tasksโ list all the running CleanAllRUV tasks ๐dsconf repl-tasks abort-cleanallruvโ abort cleanallruv tasks ๐dsconf repl-tasks list-abortruv-tasksโ list all the running CleanAllRUV abort tasks ๐
๐ COMMAND dsconf repl-tasks cleanallruv ๐
usage: dsconf [-v] [-j] instance repl-tasks cleanallruv [-h] --suffix
SUFFIX
--replica-id
REPLICA_ID
[--force-cleaning]
๐ OPTIONS dsconf repl-tasks cleanallruv ๐
--suffixSUFFIX โ sets the Directory Server suffix ๐ฒ--replica-idREPLICA_ID โ sets the replica ID to remove/clean ๐๏ธ--force-cleaningโ ignores errors and make a best attempt to clean all replicas ๐ช
โญ COMMAND dsconf repl-tasks list-cleanruv-tasks โญ
usage: dsconf [-v] [-j] instance repl-tasks list-cleanruv-tasks
[-h] [--suffix SUFFIX]
๐ OPTIONS dsconf repl-tasks list-cleanruv-tasks ๐
--suffixSUFFIX โ lists only tasks for the specified suffix ๐ฏ
๐ฅ COMMAND dsconf repl-tasks abort-cleanallruv ๐ฅ
usage: dsconf [-v] [-j] instance repl-tasks abort-cleanallruv
[-h] --suffix SUFFIX --replica-id REPLICA_ID [--certify]
๐ง OPTIONS dsconf repl-tasks abort-cleanallruv ๐ง
--suffixSUFFIX โ sets the Directory Server suffix ๐ฒ--replica-idREPLICA_ID โ sets the replica ID of the cleaning task to abort ๐--certifyโ enforces that the abort task completed on all replicas โ
๐ COMMAND dsconf repl-tasks list-abortruv-tasks ๐
usage: dsconf [-v] [-j] instance repl-tasks list-abortruv-tasks
[-h] [--suffix SUFFIX]
๐ธ OPTIONS dsconf repl-tasks list-abortruv-tasks ๐ธ
--suffixSUFFIX โ lists only tasks for the specified suffix ๐ฏ
๐ฆ COMMAND dsconf repl-conflict ๐ฆ
usage: dsconf [-v] [-j] instance repl-conflict [-h]
{list,compare,delete,delete-all,swap,convert,list-glue,delete-glue,convert-glue}
...
okay so this one is ALL about conflict entries โ and bestie, there is more coming on this one in the next part ๐ don't go anywhere ๐
๐ซ POSITIONAL ARGUMENTS 'dsconf repl-conflict' ๐ซ
okay so these are the little sub-commands that live under dsconf repl-conflict, and they're all about dealing with the messy entries replication leaves behind. slay โจ
dsconf repl-conflict listโ lists out the conflict entries, bestie ๐dsconf repl-conflict compareโ puts the conflict entry up against its valid counterpart so you can see the diff vibe ๐dsconf repl-conflict deleteโ deletes a conflict entry, gone girl, bye ๐dsconf repl-conflict delete-allโ deletes all the conflict entries. all of them. every last one ๐งนdsconf repl-conflict swapโ replaces the valid entry with the conflict entry (yes it's giving chaos, but sometimes that's the move) ๐dsconf repl-conflict convertโ converts the conflict entry into a valid entry, while keeping the original valid entry counterpart ๐ฆ This requires that the converted conflict entry have a new RDN value. For example:"cn=my_new_rdn_value".dsconf repl-conflict list-glueโ lists the replication glue entries ๐ฏdsconf repl-conflict delete-glueโ deletes the glue entry and its child entries (whole little family gone, no cap) ๐ญdsconf repl-conflict convert-glueโ converts the glue entry into a regular entry โญ
๐ COMMAND 'dsconf repl-conflict list' ๐
usage: dsconf [-v] [-j] instance repl-conflict list [-h] suffix
suffix โ sets the backend name, or suffix, to look for conflict entries.
๐ COMMAND 'dsconf repl-conflict compare' ๐
usage: dsconf [-v] [-j] instance repl-conflict compare [-h] DN
DN โ the DN of the conflict entry.
๐ COMMAND 'dsconf repl-conflict delete' ๐
usage: dsconf [-v] [-j] instance repl-conflict delete [-h] DN
DN โ the DN of the conflict entry.
๐ COMMAND 'dsconf repl-conflict delete-all' ๐
usage: dsconf [-v] [-j] instance repl-conflict delete-all [-h] suffix
suffix โ sets the backend name, or suffix, to remove all conflict entries from.
๐ COMMAND 'dsconf repl-conflict swap' ๐
usage: dsconf [-v] [-j] instance repl-conflict swap [-h] DN
DN โ the DN of the conflict entry.
๐ COMMAND 'dsconf repl-conflict convert' ๐
usage: dsconf instance [-v] [-j] repl-conflict convert [-h] --new-rdn
NEW_RDN
DN
DN โ the DN of the conflict entry.
๐ OPTIONS 'dsconf repl-conflict convert' ๐
--new-rdnNEW_RDN โ sets the new RDN for the converted conflict entry, bestie. For example:"cn=my_new_rdn_value"โจ
๐ COMMAND 'dsconf repl-conflict list-glue' ๐
usage: dsconf [-v] [-j] instance repl-conflict list-glue [-h] suffix
suffix โ the backend name, or suffix, to look for glue entries.
๐ COMMAND 'dsconf repl-conflict delete-glue' ๐
usage: dsconf [-v] [-j] instance repl-conflict delete-glue [-h] DN
DN โ the DN of the glue entry.
๐ COMMAND 'dsconf repl-conflict convert-glue' ๐
usage: dsconf [-v] [-j] instance repl-conflict convert-glue [-h] DN
DN โ the DN of the glue entry.
๐ธ COMMAND 'dsconf sasl' ๐ธ
usage: dsconf [-v] [-j] instance sasl [-h]
{list,get-mechs,get-available-mechs,get,create,delete}
...
๐ POSITIONAL ARGUMENTS 'dsconf sasl' ๐
dsconf sasl listโ displays the available SASL mappings ๐dsconf sasl get-mechsโ displays the SASL mechanisms that the server will accept โdsconf sasl get-available-mechsโ displays the SASL mechanisms that are available to the server (subtle difference, iconic behaviour) ๐dsconf sasl getโ displays SASL mappings ๐dsconf sasl createโ creates a SASL mapping ๐ ๏ธdsconf sasl deleteโ deletes the SASL object ๐
โญ COMMAND 'dsconf sasl list' โญ
usage: dsconf [-v] [-j] instance sasl list [-h] [--details]
๐ OPTIONS 'dsconf sasl list' ๐
--detailsโ displays each SASL mapping in detail ๐ฌ
โญ COMMAND 'dsconf sasl get-mechs' โญ
usage: dsconf [-v] [-j] instance sasl get-mechs [-h]
โญ COMMAND 'dsconf sasl get-available-mechs' โญ
usage: dsconf [-v] [-j] instance sasl get-available-mechs [-h]
โญ COMMAND 'dsconf sasl get' โญ
usage: dsconf [-v] [-j] instance sasl get [-h] [selector]
selector โ the SASL mapping name to display.
โญ COMMAND 'dsconf sasl create' โญ
usage: dsconf [-v] [-j] instance sasl create [-h] [--cn [CN]]
[--nsSaslMapRegexString
[NSSASLMAPREGEXSTRING]]
[--nsSaslMapBaseDNTemplate
[NSSASLMAPBASEDNTEMPLATE]]
[--nsSaslMapFilterTemplate
[NSSASLMAPFILTERTEMPLATE]]
[--nsSaslMapPriority
[NSSASLMAPPRIORITY]]
๐ OPTIONS 'dsconf sasl create' ๐
--cn[CN] โ the value ofcn--nsSaslMapRegexString[NSSASLMAPREGEXSTRING] โ the value ofnsSaslMapRegexString--nsSaslMapBaseDNTemplate[NSSASLMAPBASEDNTEMPLATE] โ the value ofnsSaslMapBaseDNTemplate--nsSaslMapFilterTemplate[NSSASLMAPFILTERTEMPLATE] โ the value ofnsSaslMapFilterTemplate--nsSaslMapPriority[NSSASLMAPPRIORITY] โ the value ofnsSaslMapPriority
โญ COMMAND 'dsconf sasl delete' โญ
usage: dsconf [-v] [-j] instance sasl delete [-h] map_name
map_name โ the SASL mapping name (that's the "cn" value, bestie).
๐ฅ COMMAND 'dsconf security' ๐ฅ
usage: dsconf [-v] [-j] instance security [-h]
{set,get,enable,disable,disable_plain_port,certificate,ca-certificate,rsa,encryption-module,ciphers,csr,key,export-cert}
...
๐ POSITIONAL ARGUMENTS 'dsconf security' ๐
dsconf security setโ set the general security options โ๏ธdsconf security getโ display the general security options ๐dsconf security enableโ enable security โdsconf security disableโ disable security ๐ซdsconf security disable_plain_portโ disables the plain text LDAP port, so only LDAPS keeps functioning. it's giving locked-down ๐dsconf security certificateโ manage TLS certificates ๐dsconf security ca-certificateโ manage TLS certificate authorities ๐dsconf security rsaโ query and update RSA security options ๐dsconf security encryption-moduleโ manage encryption modules ๐งฉdsconf security ciphersโ manage secure ciphers ๐ขdsconf security csrโ manage certificate signing requests โ๏ธdsconf security keyโ manage keys in the NSS DB ๐๏ธdsconf security export-certโ export a certificate to PEM or DER/Binary format. PEM format is the default ๐ค
โญ COMMAND 'dsconf security set' โญ
usage: dsconf [-v] [-j] instance security set [-h] [--security SECURITY]
[--listen-host
LISTEN_HOST]
[--secure-port
SECURE_PORT]
[--tls-client-auth
TLS_CLIENT_AUTH]
[--tls-client-renegotiation
TLS_CLIENT_RENEGOTIATION]
[--require-secure-authentication
REQUIRE_SECURE_AUTHENTICATION]
[--check-hostname
CHECK_HOSTNAME]
[--extract-pemfiles
EXTRACT_PEMFILES]
[--verify-cert-chain-on-startup
VERIFY_CERT_CHAIN_ON_STARTUP]
[--session-timeout
SESSION_TIMEOUT]
[--tls-protocol-min
TLS_PROTOCOL_MIN]
[--tls-protocol-max
TLS_PROTOCOL_MAX]
[--allow-insecure-ciphers
ALLOW_INSECURE_CIPHERS]
[--allow-weak-dh-param
ALLOW_WEAK_DH_PARAM]
[--cipher-pref
CIPHER_PREF]
Use this command for setting security related options that live in cn=config and cn=encryption,cn=config ๐ซถ
And fyi bestie: to enable/disable security you can just use the enable and disable commands instead, way less effort ๐
๐ OPTIONS 'dsconf security set' ๐
--securitySECURITY โ enables or disables security (nsslapd-security)--listen-hostLISTEN_HOST โ sets the host or IP address to listen on for LDAPS (nsslapd-securelistenhost)--secure-portSECURE_PORT โ sets the port for LDAPS to listen on (nsslapd-securePort)--tls-client-authTLS_CLIENT_AUTH โ configures the client authentication requirement (nsSSLClientAuth)--tls-client-renegotiationTLS_CLIENT_RENEGOTIATION โ allows client TLS renegotiation (nsTLSAllowClientRenegotiation)--require-secure-authenticationREQUIRE_SECURE_AUTHENTICATION โ configures whether binds over LDAPS, StartTLS, or SASL are required (nsslapd-require-secure-binds)--check-hostnameCHECK_HOSTNAME โ checks the subject of the remote certificate against the hostname (nsslapd-ssl-check-hostname)--extract-pemfilesEXTRACT_PEMFILES โ at server shutdown, extract the server's certificates and keys to PEM files (nsslapd-extract-pemfiles)--verify-cert-chain-on-startupVERIFY_CERT_CHAIN_ON_STARTUP โ validates the server certificate during startup (nsslapd-validate-cert)--session-timeoutSESSION_TIMEOUT โ sets the secure session timeout (nsSSLSessionTimeout)--tls-protocol-minTLS_PROTOCOL_MIN โ sets the minimal allowed secure protocol version (sslVersionMin)--tls-protocol-maxTLS_PROTOCOL_MAX โ sets the maximal allowed secure protocol version (sslVersionMax)--allow-insecure-ciphersALLOW_INSECURE_CIPHERS โ allows weak ciphers for legacy use (allowWeakCipher) ๐ฌ
ngl, "legacy use" here is doing a lot of heavy lifting. it's allowing weak ciphers on purpose, so know that going in.
--allow-weak-dh-paramALLOW_WEAK_DH_PARAM โ allows short DH params for legacy use (allowWeakDHParam) ๐ฌ--cipher-prefCIPHER_PREF โ directly sets thensSSL3Ciphersattribute. It's a comma-separated list of cipher names (prefixed with+or-), optionally including+allor-all. The attribute may optionally be prefixed by the keyword"default". Please refer to the documentation of the attribute for a more detailed description. (nsSSL3Ciphers)
โญ COMMAND 'dsconf security get' โญ
usage: dsconf [-v] [-j] instance security get [-h]
โญ COMMAND 'dsconf security enable' โญ
usage: dsconf instance [-v] [-j] security enable [-h] [--cert-name
CERT_NAME]
If missing, it creates the security database, then turns on security functionality โ
โ ๏ธ heads up bestie: please note this is usually not enough for TLS connections to actually work โ proper setup of the CA and the server certificate is necessary. no shortcuts, sorry ๐ญ
๐ OPTIONS 'dsconf security enable' ๐
--cert-nameCERT_NAME โ sets the name of the certificate the server should use ๐
โญ COMMAND 'dsconf security disable' โญ
usage: dsconf instance [-v] [-j] security disable [-h]
Turn off security functionality. The rest of the configuration will be left untouched, so nothing else gets dragged into it ๐ซถ
โญ COMMAND 'dsconf security disable_plain_port' โญ
usage: dsconf instance [-v] [-j] security disable_plain_port [-h]
โญ COMMAND 'dsconf security certificate' โญ
usage: dsconf [-v] [-j] instance security certificate [-h]
{add,set-trust-flags,del,get,list}
...
๐ POSITIONAL ARGUMENTS 'dsconf security certificate'
Like, pick your fighter, bestie ๐
dsconf security certificate addโ Add a server certificate ๐ฅdsconf security certificate set-trust-flagsโ Set the Trust flagsdsconf security certificate delโ Delete a certificatedsconf security certificate getโ Display a server certificate's information ๐dsconf security certificate listโ List the server certificates ๐
๐ COMMAND 'dsconf security certificate add'
okay so the vibe is:
usage: dsconf instance [-v] [-j] security certificate add [-h] --file FILE
--name NAME
[--primary-cert]
[--pkcs12-pin-text PKCS12_PIN_TEXT]
[--pkcs12-pin-stdin]
[--pkcs12-pin-path PKCS12_PIN_PATH]
[--do-it]
This is the one that Add a server certificate to the NSS database. No cap. ๐ธ
โจ OPTIONS 'dsconf security certificate add'
--file FILEโ Sets the file name of the certificate ๐--name NAMEโ Sets the name/nickname of the certificate ๐ท๏ธ--primary-certโ Sets this certificate as the server's certificate ๐--pkcs12-pin-text PKCS12_PIN_TEXTโ The PKCS#12 password as plain text. WARNING: Password may appear in process list or shell history. Use--pkcs12-pin-stdinor--pkcs12-pin-pathto prevent password exposure. ๐จ like bestie please use the safe one--pkcs12-pin-stdinโ Read the PKCS#12 password from stdin โจ๏ธ--pkcs12-pin-path PKCS12_PIN_PATHโ Path to a file containing the PKCS#12 password ๐--do-itโ Force the addition of a certificate that cannot be verified ๐ (yes it's literally called that, it's giving "no thoughts head empty, just send it")
๐ COMMAND 'dsconf security certificate set-trust-flags'
usage: dsconf instance [-v] [-j] security certificate set-trust-flags
[-h] --flags FLAGS name
Change the trust flags of a server certificate โ glow up those flags girl โจ
nameโ The name/nickname of the certificate ๐ท๏ธ
โจ OPTIONS 'dsconf security certificate set-trust-flags'
--flags FLAGSโ Sets the trust flags for the server certificate ๐ฉ
๐ฆ COMMAND 'dsconf security certificate del'
usage: dsconf instance [-v] [-j] security certificate del [-h] name
Delete a server certificate from the NSS database or DynamicCerts backend. bye bestie ๐ซถ
nameโ The name/nickname of the certificate ๐ท๏ธ
๐ COMMAND 'dsconf security certificate get'
usage: dsconf instance [-v] [-j] security certificate get [-h] name
Displays detailed information about a certificate, such as trust attributes, expiration dates, Subject and Issuer DNs ๐ the whole lore drop fr
nameโ Set the name/nickname of the certificate ๐ท๏ธ
โญ COMMAND 'dsconf security certificate list'
usage: dsconf instance [-v] [-j] security certificate list [-h]
List all server certificates in the NSS database or DynamicCerts backend. ๐ iconic
๐ง COMMAND 'dsconf security ca-certificate'
usage: dsconf [-v] [-j] instance security ca-certificate [-h]
{add,set-trust-flags,del,get,list}
...
๐ POSITIONAL ARGUMENTS 'dsconf security ca-certificate'
dsconf security ca-certificate addโ Add a Certificate Authority ๐dsconf security ca-certificate set-trust-flagsโ Set the Trust flagsdsconf security ca-certificate delโ Delete a certificatedsconf security ca-certificate getโ Displays a Certificate Authority's information ๐dsconf security ca-certificate listโ List the Certificate Authorities ๐
๐ฅ COMMAND 'dsconf security ca-certificate add'
usage: dsconf instance [-v] [-j] security ca-certificate add
[-h] --file FILE --name NAME [NAME ...] [--do-it]
Add a CA certificate (PEM or DER only) to the NSS database or DynamicCerts backend. (PEM or DER only โ read that again bestie, not everything works here)
โจ OPTIONS 'dsconf security ca-certificate add'
--file FILEโ Path to the CA certificate file (PEM or DER). If adding a PEM bundle then specify multiple names one for each certificate, otherwise a number increment will be added to the previous name. ๐--name NAME [NAME ...]โ Sets the name/nickname of the CA certificate ๐ท๏ธ (yes you can pass a whole list of them, slay)--do-itโ Force the addition of a certificate that cannot be verified ๐ (unverified cert? just vibes)
๐ธ COMMAND 'dsconf security ca-certificate set-trust-flags'
usage: dsconf instance [-v] [-j] security ca-certificate set-trust-flags
[-h] --flags FLAGS name
Change the trust attributes of a CA certificate. Certificate Authorities typically use "CT,," ๐ noting that down
nameโ The name/nickname of the CA certificate ๐ท๏ธ
โจ OPTIONS 'dsconf security ca-certificate set-trust-flags'
--flags FLAGSโ Sets the trust flags for the CA certificate ๐ฉ
๐ซถ COMMAND 'dsconf security ca-certificate del'
usage: dsconf instance [-v] [-j] security ca-certificate del [-h] name
Delete a CA certificate from the NSS database โ gone, periodt ๐
nameโ The name/nickname of the CA certificate ๐ท๏ธ
๐ COMMAND 'dsconf security ca-certificate get'
usage: dsconf instance [-v] [-j] security ca-certificate get [-h] name
Get detailed information about a CA certificate, like trust attributes, expiration dates, Subject and Issuer DN ๐ the full tea
nameโ The name/nickname of the CA certificate ๐ท๏ธ
๐ฆ COMMAND 'dsconf security ca-certificate list'
usage: dsconf instance [-v] [-j] security ca-certificate list [-h]
List the CA certificates in the NSS database ๐
๐ COMMAND 'dsconf security rsa'
usage: dsconf [-v] [-j] instance security rsa [-h]
{set,get,enable,disable}
...
๐ POSITIONAL ARGUMENTS 'dsconf security rsa'
dsconf security rsa setโ Set RSA security options โ๏ธdsconf security rsa getโ Get RSA security options ๐dsconf security rsa enableโ Enable RSA โdsconf security rsa disableโ Disable RSA โ
โ๏ธ COMMAND 'dsconf security rsa set'
usage: dsconf [-v] [-j] instance security rsa set [-h]
[--tls-allow-rsa-certificates TLS_ALLOW_RSA_CERTIFICATES]
[--nss-cert-name NSS_CERT_NAME]
[--nss-token NSS_TOKEN]
Use this command for setting RSA (private key) related options located in cn=RSA,cn=encryption,cn=config. ๐
To enable/disable RSA you can useenableanddisablecommands instead. fykyk ๐ก
โจ OPTIONS 'dsconf security rsa set'
--tls-allow-rsa-certificates TLS_ALLOW_RSA_CERTIFICATESโ Activates the use of RSA certificates (nsSSLActivation) โ--nss-cert-name NSS_CERT_NAMEโ Sets the server certificate name in NSS DB (nsSSLPersonalitySSL) ๐ท๏ธ--nss-token NSS_TOKENโ Sets the security token name (module of NSS DB) (nsSSLToken) ๐
๐ COMMAND 'dsconf security rsa get'
usage: dsconf [-v] [-j] instance security rsa get [-h]
โ COMMAND 'dsconf security rsa enable'
usage: dsconf [-v] [-j] instance security rsa enable [-h]
โ COMMAND 'dsconf security rsa disable'
usage: dsconf [-v] [-j] instance security rsa disable [-h]
๐งฉ COMMAND 'dsconf security encryption-module'
usage: dsconf [-v] [-j] instance security encryption-module
[-h] {add,delete,edit,list,get} ...
๐ POSITIONAL ARGUMENTS 'dsconf security encryption-module'
dsconf security encryption-module addโ Add an encryption module โdsconf security encryption-module deleteโ Delete an encryption module ๐๏ธdsconf security encryption-module editโ Edit an encryption module โ๏ธdsconf security encryption-module listโ List encryption modules ๐dsconf security encryption-module getโ Get an encryption module ๐
โ COMMAND 'dsconf security encryption-module add'
usage: dsconf instance [-v] [-j] security encryption-module add
[-h] --cert-nickname CERT_NICKNAME [--activated] [--token TOKEN]
[--server-key-extract-file SERVER_KEY_EXTRACT_FILE]
[--server-cert-extract-file SERVER_CERT_EXTRACT_FILE]
name
Add a new encryption module to the encryption module list. โจ
nameโ The name of the encryption module ๐ท๏ธ
โจ OPTIONS 'dsconf security encryption-module add'
--cert-nickname CERT_NICKNAMEโ The personality or nickname of the server certificate ๐ญ--activatedโ Activate the encryption module. โก--token TOKENโ The token of the encryption module. Default is"internal (software)". ๐--server-key-extract-file SERVER_KEY_EXTRACT_FILEโ The file name of the server key extract file ๐--server-cert-extract-file SERVER_CERT_EXTRACT_FILEโ The file name of the server cert extract file ๐
๐๏ธ COMMAND 'dsconf security encryption-module delete'
usage: dsconf instance [-v] [-j] security encryption-module delete [-h]
name
Delete an encryption module from the encryption module list. bye ๐
nameโ The name of the encryption module ๐ท๏ธ
โ๏ธ COMMAND 'dsconf security encryption-module edit'
usage: dsconf instance [-v] [-j] security encryption-module edit
[-h] [--cert-nickname CERT_NICKNAME] [--activate] [--deactivate]
[--token TOKEN] [--server-key-extract-file SERVER_KEY_EXTRACT_FILE]
[--server-cert-extract-file SERVER_CERT_EXTRACT_FILE]
name
Edit an encryption module in the encryption module list. ๐ ๏ธ
nameโ The name of the encryption module ๐ท๏ธ
โจ OPTIONS 'dsconf security encryption-module edit'
--cert-nickname CERT_NICKNAMEโ The personality or nickname of the server certificate ๐ญ--activateโ Activate the encryption module โก--deactivateโ Deactivate the encryption module ๐ค--token TOKENโ The token of the encryption module. ๐--server-key-extract-file SERVER_KEY_EXTRACT_FILEโ The file name of the server key extract file ๐--server-cert-extract-file SERVER_CERT_EXTRACT_FILEโ The file name of the server cert extract file ๐
๐ COMMAND 'dsconf security encryption-module list'
usage: dsconf instance [-v] [-j] security encryption-module list
[-h] [--just-names]
List all encryption modules in the encryption module list. ๐งฉ
โจ OPTIONS 'dsconf security encryption-module list'
--just-namesโ Just list the modules by its name and not the full entry ๐ท๏ธ (short n sweet, we love a minimal moment)
๐ COMMAND 'dsconf security encryption-module get'
usage: dsconf instance [-v] [-j] security encryption-module get [-h]
name
Get an encryption module from the encryption module list. ๐งฉ
nameโ The name of the encryption module ๐ท๏ธ
๐ COMMAND 'dsconf security ciphers'
usage: dsconf [-v] [-j] instance security ciphers [-h]
{enable,disable,get,set,list}
...
๐ POSITIONAL ARGUMENTS 'dsconf security ciphers'
dsconf security ciphers enableโ Enable ciphers โdsconf security ciphers disableโ Disable ciphers โdsconf security ciphers getโ Get ciphers attribute ๐dsconf security ciphers setโ Set ciphers attribute โ๏ธdsconf security ciphers listโ List ciphers ๐
๐ COMMAND 'dsconf security ciphers enable'
usage: dsconf instance [-v] [-j] security ciphers enable [-h] cipher [cipher ...]
Use this command to enable specific ciphers. bestie we are turning them ON ๐
cipher โ the cipher (or ciphers) you wanna enable โจ
๐ COMMAND 'dsconf security ciphers disable'
usage: dsconf instance [-v] [-j] security ciphers disable [-h] cipher [cipher ...]
Use this command to disable specific ciphers. yep, the opposite energy โ we're turning them OFF ๐
cipher โ the cipher (or ciphers) getting the boot ๐ฅพ
๐ COMMAND 'dsconf security ciphers get'
usage: dsconf instance [-v] [-j] security ciphers get [-h]
Use this command to get the contents of the nsSSL3Ciphers attribute. like, show me what's in there rn ๐
๐ COMMAND 'dsconf security ciphers set'
usage: dsconf instance [-v] [-j] security ciphers set [-h] cipher-string
Use this command to directly set the nsSSL3Ciphers attribute. It is a comma separated list of cipher names (prefixed with + or -), optionally including +all or -all. The attribute may optionally be set to the keyword default. Please refer to the documentation of the attribute for a more detailed description. (no cap, the docs go deeper on this one ๐)
cipher-string โ the actual comma-separated value you're handing over ๐ซถ
๐ COMMAND 'dsconf security ciphers list'
usage: dsconf instance [-v] [-j] security ciphers list [-h] [--enabled | --supported | --disabled]
List secure ciphers. With no arguments at all, it lists the ciphers as configured in the nsSSL3Ciphers attribute. simple as that โจ
โจ OPTIONS 'dsconf security ciphers list'
--enabledโ Lists only enabled ciphers ๐ฅ--supportedโ Lists only supported ciphers ๐--disabledโ Lists only supported ciphers but without the enabled ciphers (so, the supported-but-not-on ones, iykyk)
๐ COMMAND 'dsconf security csr'
usage: dsconf [-v] [-j] instance security csr [-h] {list,get,req,del} ...
โจ POSITIONAL ARGUMENTS 'dsconf security csr'
dsconf security csr listโ List CSRs ๐dsconf security csr getโ Display CSR content ๐dsconf security csr reqโ Generate a Certificate Signing Request ๐ธdsconf security csr delโ Delete a CSR file ๐
๐ COMMAND 'dsconf security csr list'
usage: dsconf instance [-v] [-j] security csr list [-h] [--path PATH]
List all CSR files in the instance configuration directory โจ
โจ OPTIONS 'dsconf security csr list'
--path PATH,-p PATHโ Directory containing the CSR file ๐
๐ COMMAND 'dsconf security csr get'
usage: dsconf instance [-v] [-j] security csr get [-h] name
Displays the contents of a CSR, which can be used for submittal to a CA ๐ซถ
- name โ Name of the CSR file to display
๐ COMMAND 'dsconf security csr req'
usage: dsconf instance [-v] [-j] security csr req [-h] --subject SUBJECT --name NAME [alt_names ...]
Generate a CSR that can be submitted to a CA for verification ๐
- alt_names โ CSR alternative names. These are auto-detected if not provided ๐
โจ OPTIONS 'dsconf security csr req'
--subject SUBJECT,-s SUBJECTโ Subject field--name NAME,-n NAMEโ Name
๐ COMMAND 'dsconf security csr del'
usage: dsconf [-v] [-j] instance security csr del [-h] name
Delete a CSR file ๐
- name โ Name of the CSR file to delete
๐ COMMAND 'dsconf security key'
usage: dsconf [-v] [-j] instance security key [-h] {list,del} ...
โจ POSITIONAL ARGUMENTS 'dsconf security key'
dsconf security key listโ List all keys in the NSS DB ๐dsconf security key delโ Delete a key from the NSS DB ๐
๐ COMMAND 'dsconf security key list'
usage: dsconf [-v] [-j] instance security key list [-h] [--orphan]
โจ OPTIONS 'dsconf security key list'
--orphanโ List orphan keys. And bestie, an orphan key is a private key in the NSS DB for which there is NO cert with the corresponding public key ๐ญ. An orphan key gets created during CSR generation โ and when the associated certificate is imported into the NSS DB, its orphan state will be removed. so it's not forever, it gets adopted eventually ๐ซถ
๐ COMMAND 'dsconf security key del'
usage: dsconf instance [-v] [-j] security key del [-h] key_id
Remove a key from the NSS DB. Make sure the key is not in use before you delete it โ ๏ธ (for real, double-check first)
- key_id โ This is the key ID displayed when listing keys ๐
๐ COMMAND 'dsconf security export-cert'
usage: dsconf instance [-v] [-j] security export-cert [-h] [--binary-format] [--output-file OUTPUT_FILE] nickname
- nickname โ The name of the certificate to export ๐
โจ OPTIONS 'dsconf security export-cert'
--binary-formatโ Export certificate in DER/binary format ๐ง--output-file OUTPUT_FILEโ The name for the exported certificate. Default name is the certificate nickname with an extension of.pemor.crtโจ
๐ COMMAND 'dsconf schema'
usage: dsconf [-v] [-j] instance schema [-h] {list,attributetypes,objectclasses,matchingrules,reload,validate-syntax,import-openldap-file} ...
โจ POSITIONAL ARGUMENTS 'dsconf schema'
dsconf schema listโ List all schema objects on this system ๐dsconf schema attributetypesโ Work with attribute types on this system ๐dsconf schema objectclassesโ Work with objectClasses on this system ๐dsconf schema matchingrulesโ Work with matching rules on this system ๐งdsconf schema reloadโ Dynamically reload schema while the server is running ๐dsconf schema validate-syntaxโ Run a task to check that all attributes in an entry have the correct syntax โdsconf schema import-openldap-fileโ Import openldap formatted dynamic schema ldifs. These will contain values likeolcAttributeTypesandolcObjectClasses๐ฅ
๐ COMMAND 'dsconf schema list'
usage: dsconf [-v] [-j] instance schema list [-h] [--include-oc-sup]
โจ OPTIONS 'dsconf schema list'
--include-oc-supโ Include the superior objectclasses'mayandmustattributes ๐
๐ COMMAND 'dsconf schema attributetypes'
usage: dsconf [-v] [-j] instance schema attributetypes [-h] {get_syntaxes,list,query,add,replace,remove} ...
โจ POSITIONAL ARGUMENTS 'dsconf schema attributetypes'
dsconf schema attributetypes get_syntaxesโ List all available attribute type syntaxes ๐คdsconf schema attributetypes listโ List available attribute types on this system ๐dsconf schema attributetypes queryโ Query an attribute to determine object classes that may or must take it ๐dsconf schema attributetypes addโ Add an attribute type to this system โdsconf schema attributetypes replaceโ Replace an attribute type on this system ๐dsconf schema attributetypes removeโ Remove an attribute type on this system ๐
๐ COMMAND 'dsconf schema attributetypes get_syntaxes'
usage: dsconf [-v] [-j] instance schema attributetypes get_syntaxes [-h]
๐ COMMAND 'dsconf schema attributetypes list'
usage: dsconf [-v] [-j] instance schema attributetypes list [-h]
๐ COMMAND 'dsconf schema attributetypes query'
usage: dsconf [-v] [-j] instance schema attributetypes query [-h] [name]
- name โ Attribute type to query ๐
๐ COMMAND 'dsconf schema attributetypes add'
usage: dsconf [-v] [-j] instance schema attributetypes add [-h] [--oid OID] [--desc DESC] [--x-origin X_ORIGIN] [--aliases ALIASES [ALIASES ...]] [--single-value] [--multi-value] [--no-user-mod] [--user-mod] [--equality EQUALITY] [--substr SUBSTR] [--ordering ORDERING] [--usage USAGE] [--sup SUP] --syntax SYNTAX name
- name โ NAME of the object โจ
โจ OPTIONS 'dsconf schema attributetypes add'
--oid OIDโ OID assigned to the object ๐ข--desc DESCโ Description text (DESC) of the object ๐--x-origin X_ORIGINโ Provides information about where the attribute type is defined ๐--aliases ALIASES [ALIASES ...]โ Additional NAMEs of the object ๐ท๏ธ--single-valueโ True if the matching rule must have only one value. Only one of the flags this or--multi-valueshould be specified โ๏ธ--multi-valueโ True if the matching rule may have multiple values (default). Only one of the flags this or--single-valueshould be specified โจ--no-user-modโ True if the attribute is not modifiable by a client application. Only one of the flags this or--user-modshould be specified ๐--user-modโ True if the attribute is modifiable by a client application (default). Only one of the flags this or--no-user-modeshould be specified ๐--equality EQUALITYโ NAME or OID of the matching rule used for checking whether attribute values are equal ๐ฐ--substr SUBSTRโ NAME or OID of the matching rule used for checking whether an attribute value contains another value ๐--ordering ORDERINGโ NAME or OID of the matching rule used for checking whether attribute values are lesser - equal than ๐--usage USAGEโ The flag indicates how the attribute type is to be used. Choose from the list:userApplications(default),directoryOperation,distributedOperation,dSAOperation๐๏ธ--sup SUPโ The NAME or OID of attribute type this attribute type is derived from ๐ฑ--syntax SYNTAXโ OID of the LDAP syntax assigned to the attribute ๐ค
๐ COMMAND 'dsconf schema attributetypes replace'
usage: dsconf [-v] [-j] instance schema attributetypes replace [-h] [--oid OID] [--desc DESC] [--x-origin X_ORIGIN] [--aliases ALIASES [ALIASES ...]] [--single-value] [--multi-value] [--no-user-mod] [--user-mod] [--equality EQUALITY] [--substr SUBSTR] [--ordering ORDERING] [--usage USAGE] [--sup SUP] [--syntax SYNTAX] name
- name โ NAME of the object โจ
--oidOID โ the OID you're handing to this object. like its official little nametag ๐--descDESC โ the description text (DESC) for the object. tell us what it is, bestie.--x-originX_ORIGIN โ serves up the tea on where the attribute type is defined ๐ซ--aliasesALIASES [ALIASES ...] โ extra NAMEsfor the object, because one name is never enough, we love a multi-hyphenate โจ--single-valueโ true if the matching rule must have only one value. and heads up: only one of the flags โ this one or--multi-valueโ should be specified. pick a lane, bestie ๐--multi-valueโ true if the matching rule may have multiple values (default). same rule applies: only one of the flags โ this one or--single-valueโ should be specified.--no-user-modโ true if the attribute is not modifiable by a client application. and again: only one of the flags โ this one or--user-modโ should be specified.--user-modโ true if the attribute is modifiable by a client application (default). only one of the flags โ this one or--no-user-modeโ should be specified.--equalityEQUALITY โ NAME or OID of the matching rule used for checking whether attribute values are equal ๐ฏ--substrSUBSTR โ NAME or OID of the matching rule used for checking whether an attribute value contains another value ๐--orderingORDERING โ NAME or OID of the matching rule used for checking whether attribute values are lesser-equal than.--usageUSAGE โ this flag says how the attribute type is gonna be used. choose from the list:userApplications(default),directoryOperation,distributedOperation,dSAOperation. no mixing, pick one ๐--supSUP โ the NAME or OID of the attribute type this attribute type is derived from. its ancestor, its origin story, its lore.--syntaxSYNTAX โ OID of the LDAP syntax assigned to the attribute.
๐ซ COMMAND dsconf schema attributetypes remove ๐ซ
usage: dsconf [-v] [-j] instance schema attributetypes remove [-h] name
nameโ NAME of the object. that's it, that's the whole vibe ๐
๐ COMMAND dsconf schema objectclasses ๐
usage: dsconf [-v] [-j] instance schema objectclasses [-h]
{list,query,add,replace,remove}
...
๐ POSITIONAL ARGUMENTS dsconf schema objectclasses
dsconf schema objectclasses listโ list all the available objectClasses on this system. window shopping basically ๐๏ธdsconf schema objectclasses queryโ query an objectClass. go ask it questions.dsconf schema objectclasses addโ add an objectClass to this system.dsconf schema objectclasses replaceโ replace an objectClass on this system.dsconf schema objectclasses removeโ remove an objectClass from this system.
โจ COMMAND dsconf schema objectclasses list โจ
usage: dsconf [-v] [-j] instance schema objectclasses list [-h]
[--include-sup]
๐ OPTIONS dsconf schema objectclasses list
--include-supโ include the superior objectclasses'"may"and"must"attributes. get the whole family tree ๐ณ
๐ฆ COMMAND dsconf schema objectclasses query ๐ฆ
usage: dsconf [-v] [-j] instance schema objectclasses query
[-h] [--include-sup] [name]
nameโ the ObjectClass to query. which one are we investigating bestie ๐
๐ OPTIONS dsconf schema objectclasses query
--include-supโ include the superior objectclasses'"may"and"must"attributes. yes, the ancestors too ๐
๐ธ COMMAND dsconf schema objectclasses add ๐ธ
usage: dsconf [-v] [-j] instance schema objectclasses add [-h] [--oid
OID]
[--desc DESC]
[--x-origin
X_ORIGIN]
[--must MUST
[MUST ...]]
[--may MAY
[MAY ...]]
[--kind KIND]
[--sup SUP
[SUP ...]]
name
nameโ NAME of the object. every icon needs a name, periodt.
๐ OPTIONS dsconf schema objectclasses add
--oidOID โ OID assigned to the object.--descDESC โ description text (DESC) of the object. spill the details ๐--x-originX_ORIGIN โ provides information about where the attribute type is defined.--mustMUST [MUST ...] โ NAMEs or OIDs of all attributes an entry of the object must have. non-negotiable, mandatory, no skipping ๐--mayMAY [MAY ...] โ NAMEs or OIDs of additional attributes an entry of the object may have. optional extras, lovely.--kindKIND โ kind of an object.STRUCTURAL(default),ABSTRACT,AUXILIARY.--supSUP [SUP ...] โ NAME or OIDs of object classes this object is derived from.
๐
COMMAND dsconf schema objectclasses replace ๐
usage: dsconf [-v] [-j] instance schema objectclasses replace
[-h] [--oid OID] [--desc DESC] [--x-origin X_ORIGIN]
[--must MUST [MUST ...]] [--may MAY [MAY ...]] [--kind KIND]
[--sup SUP [SUP ...]]
name
nameโ NAME of the object.
๐ OPTIONS dsconf schema objectclasses replace
--oidOID โ OID assigned to the object.--descDESC โ description text (DESC) of the object.--x-originX_ORIGIN โ provides information about where the attribute type is defined.--mustMUST [MUST ...] โ NAMEs or OIDs of all attributes an entry of the object must have.--mayMAY [MAY ...] โ NAMEs or OIDs of additional attributes an entry of the object may have.--kindKIND โ kind of an object.STRUCTURAL(default),ABSTRACT,AUXILIARY.--supSUP [SUP ...] โ NAME or OIDs of object classes this object is derived from.
๐ COMMAND dsconf schema objectclasses remove ๐
usage: dsconf [-v] [-j] instance schema objectclasses remove [-h] name
nameโ NAME of the object. bye bestie ๐ (not me being emotional about a schema deletion)
๐ COMMAND dsconf schema matchingrules ๐
usage: dsconf [-v] [-j] instance schema matchingrules [-h] {list,query}
...
๐ POSITIONAL ARGUMENTS dsconf schema matchingrules
dsconf schema matchingrules listโ list all the available matching rules on this system.dsconf schema matchingrules queryโ query a matching rule.
๐ฅ COMMAND dsconf schema matchingrules list ๐ฅ
usage: dsconf [-v] [-j] instance schema matchingrules list [-h]
no options, no flags, just vibes. it lists. it's enough. โจ
๐ COMMAND dsconf schema matchingrules query ๐
usage: dsconf [-v] [-j] instance schema matchingrules query [-h] [name]
nameโ the Matching rule to query.
๐ง COMMAND dsconf schema reload ๐ง
usage: dsconf [-v] [-j] instance schema reload [-h] [-d SCHEMADIR]
[--wait]
[--timeout TIMEOUT]
๐ OPTIONS dsconf schema reload
-dSCHEMADIR,--schemadirSCHEMADIR โ the directory where the schema files are located. go get 'em ๐--waitโ wait for the reload task to complete. patience is a virtue, bestie, and also a flag.--timeoutTIMEOUT โ set a timeout to wait for the reload task. Default is 120 seconds.
โญ COMMAND dsconf schema validate-syntax โญ
usage: dsconf instance [-v] [-j] schema validate-syntax [-h] [-f FILTER]
[--timeout
TIMEOUT]
DN
DNโ the Base DN that contains entries to validate. this is your starting point, your home base ๐
๐ OPTIONS dsconf schema validate-syntax
-fFILTER,--filterFILTER โ filter for entries to validate. if you omit it, all entries with filter"(objectclass=*)"get validated. no filter, no escape ๐ญ--timeoutTIMEOUT โ set a timeout to wait for the validation task. Default is 120 seconds.
๐ COMMAND dsconf schema import-openldap-file ๐
usage: dsconf instance [-v] [-j] schema import-openldap-file
[-h] [--confirm] schema_file
schema_fileโ path to the openldap dynamic schema ldif to import. bring your file, we're migrating ๐
๐ OPTIONS dsconf schema import-openldap-file
--confirmโ confirm that you want to apply these schema migration actions to the 389-ds instance. by default, no actions are taken. so like, nothing happens until you say the word. it's giving very-consent-forward of it ๐
๐ OPTIONS ๐
-v,--verboseโ display verbose operation tracing while the command runs. it will narrate everything, very main character.-j,--jsonโ return the result in a JSON object. for the machines ๐ค-DBINDDN,--binddnBINDDN โ the account to bind as for executing operations.-wBINDPW,--bindpwBINDPW โ password for the bind DN.-W,--promptโ prompt for the password of the bind DN. it asks, you type, nobody sees, we love a discreet moment ๐-yPWDFILE,--pwdfilePWDFILE โ specifies a file containing the password of the bind DN.-bBASEDN,--basednBASEDN โ base DN (root naming context) of the instance to manage.-Z,--starttlsโ connect with StartTLS. secure that connection, we stay encrypted around here ๐
๐ AUTHOR
"Red Hat, Inc., and William Brown" <389-devel@lists.fedoraproject.org>
aaaand that's a wrap on DSCONF(8), bestie!! ๐ this bad boy is from lib389 3.3.1, dated 2026-09-11 โ go forth and schema responsibly, no cap ๐ซถ๐โจ
๐ฆ where this page comes from
- ubuntu stonking: python3-lib389 3.3.1-3 ยท GPL-3.0-or-later AND Other
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms