DSIDM(8)
π¦ DSIDM(8) π¦
okay bestie, welcome to dsidm β straight out of the Generated Python Manual, section 8. This is the tool that lets you boss around a 389 Directory Server instance from the command line like the main character you are. π
Grab a snack, we're going through literally everything.
β¨ NAME β¨
dsidm β yeah. That's the name. Short, iconic, no notes. π
πΈ SYNOPSIS πΈ
dsidm [-h] [-v] [-j] [-b BASEDN] [-D BINDDN] [-w BINDPW] [-W] [-y
PWDFILE] [-Z] instance
{account,group,initialise,init,organizationalunit,ou,posixgroup,user,client_config,role,service,uniquegroup}
...
like. look at all those curly braces. it's giving "choose your own adventure". π
π POSITIONAL ARGUMENTS π
so there are a bunch of subcommands you can hand to dsidm, and each one is its own little world. ranking them for you (no ranking, they're all valid, that's just vibes):
dsidm accountβ manage generic accounts, with tasks like modify, locking and unlocking. π Heads up though: this one does not create accounts. If you wanna make one, go see theusersubcommand instead.dsidm groupβ manage groups. TheorganizationalUnit(by default"ou=groups") needs to exist prior to managing groups. Groups uses the objectclass"groupOfNames"and the grouping attribute"member".dsidm initialiseβ initialise a backend with domain information and sample entries. β¨dsidm organizationalunitβ manage organizational units.dsidm posixgroupβ manage posix groups. TheorganizationalUnit(by defaultou=groups") needs to exist prior to managing posix groups.dsidm userβ manage posix users. TheorganizationalUnit(by default"ou=people") needs to exist prior to managing users.dsidm client_configβ display and generate client example configs for this LDAP server. π₯οΈdsidm roleβ manage roles.dsidm serviceβ manage service accounts. TheorganizationalUnit(by default"ou=Services") needs to exist prior to managing service accounts.dsidm uniquegroupβ manage groups. TheorganizationalUnit(by default"ou=groups") needs to exist prior to managing groups. Unique groups uses the objectclass"groupOfUniqueNames"and the grouping attribute"uniquemember".
fr fr, that "the ou has to exist first" thing is not a suggestion. it's a vibe check you will fail otherwise. π
π COMMAND 'dsidm account' π
π usage
usage: dsidm instance account [-h]
{list,get-by-dn,modify-by-dn,rename-by-dn,delete,lock,unlock,entry-status,subtree-status,reset_password,change_password,bulk_update}
...
okay so the account command has eleven little sub-subcommands and they're all listed up there in the curly braces. let's go one by one, bestie.
π POSITIONAL ARGUMENTS 'dsidm account' π
dsidm account listβ list accounts that could login to the directory (returns the full DN of the entry).dsidm account get-by-dnβget-by-dn <dn>.dsidm account modify-by-dnβmodify-by-dn <dn> <add|delete|replace>:<attribute>:<value> ....dsidm account rename-by-dnβ rename the object.dsidm account deleteβ deletes the account. π¬dsidm account lockβ lock.dsidm account unlockβ unlock.dsidm account entry-statusβ status of a single entry.dsidm account subtree-statusβ status of a subtree.dsidm account reset_passwordβ reset the password of an account. This should be performed by a directory admin. πdsidm account change_passwordβ change the password of an account. This can be performed by any user (with correct rights). π«Άdsidm account bulk_updateβ perform a common operation to a set of entries.
π COMMAND 'dsidm account list' π
π usage
usage: dsidm [-v] [-j] instance account list [-h]
π¦ COMMAND 'dsidm account get-by-dn' π¦
π usage
usage: dsidm [-v] [-j] instance account get-by-dn [-h] [dn]
π arguments
dnβ the dn to get and display.
π COMMAND 'dsidm account modify-by-dn' π
π usage
usage: dsidm [-v] [-j] instance account modify-by-dn [-h] dn changes
[changes ...]
π arguments
dnβ the dn to get and display.changesβ a list of changes to apply in format:<add|delete|replace>:<attribute>:<value>.
π§ COMMAND 'dsidm account rename-by-dn' π§
π usage
usage: dsidm [-v] [-j] instance account rename-by-dn [-h]
[--keep-old-rdn] dn new_dn
π arguments
dnβ the dn to rename.new_dnβ a new role dn.
π OPTIONS 'dsidm account rename-by-dn' π
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_role) should be kept as an attribute of the entry or not.
π COMMAND 'dsidm account delete' π
π usage
usage: dsidm [-v] [-j] instance account delete [-h] [dn]
π arguments
dnβ the dn of the account to delete.
π COMMAND 'dsidm account lock' π
π usage
usage: dsidm [-v] [-j] instance account lock [-h] [dn]
π arguments
dnβ the dn to lock.
π COMMAND 'dsidm account unlock' π
π usage
usage: dsidm [-v] [-j] instance account unlock [-h] [dn]
π arguments
dnβ the dn to unlock.
β COMMAND 'dsidm account entry-status' β
π usage
usage: dsidm [-v] [-j] instance account entry-status [-h] [-V] [dn]
π arguments
dnβ the single entry dn to check.
π« OPTIONS 'dsidm account entry-status' π«
-V,--detailsβ print more account policy details about the entry. more tea, more lore. π΅
πΈ COMMAND 'dsidm account subtree-status' πΈ
π usage
usage: dsidm [-v] [-j] instance account subtree-status [-h] [-V] [-f
FILTER]
[-s {one,sub}] [-i]
[-o BECOME_INACTIVE_ON]
basedn
π arguments
basednβ search base for finding entries.
π«Ά OPTIONS 'dsidm account subtree-status' π«Ά
-V,--detailsβ print more account policy details about the entries.-f FILTER,--filter FILTERβ search filter for finding entries.-s {one,sub},--scope {one,sub}β search scope (one, sub - default is sub.-i,--inactive-onlyβ only display inactivated entries.-o BECOME_INACTIVE_ON,--become-inactive-on BECOME_INACTIVE_ONβ only display entries that will become inactive before specified date (in a format2007-04-25T14:30).
note the tiny missing closing paren in "default is sub" up there β that's the original, we keep it, we don't touch it. π
π COMMAND 'dsidm account reset_password' π
π usage
usage: dsidm [-v] [-j] instance account reset_password [-h] [dn]
[new_password]
π arguments
dnβ the dn to reset the password for.new_passwordβ the new password to set.
ποΈ COMMAND 'dsidm account change_password' ποΈ
π usage
usage: dsidm [-v] [-j] instance account change_password [-h]
[dn] [new_password]
[current_password]
π arguments
dnβ the dn to change the password for.new_passwordβ the new password to set.current_passwordβ the accounts current password.
π₯ COMMAND 'dsidm account bulk_update' π₯
π usage
usage: dsidm [-v] [-j] instance account bulk_update [-h] [-f FILTER] [-s
{one,sub}] [-x]
basedn changes [changes ...]
π arguments
basednβ search base for finding entries, only the children of this DN are processed.changesβ a list of changes to apply in format:<add|delete|replace>:<attribute>:<value>.
π OPTIONS 'dsidm account bulk_update' π
-f FILTER,--filter FILTERβ search filter for finding entries, default is'(objectclass=*)'.-s {one,sub},--scope {one,sub}β search scope (one, sub - default is sub.-x,--stopβ stop processing updates when an error occurs. Default isFalse.
π COMMAND 'dsidm group' π
π usage
usage: dsidm instance group [-h]
{list,get,get_dn,create,delete,modify,rename,members,add_member,remove_member}
...
π POSITIONAL ARGUMENTS 'dsidm group' π
dsidm group listβ list.dsidm group getβ get.dsidm group get_dnβ get_dn.dsidm group createβ create.dsidm group deleteβ deletes the object.dsidm group modifyβmodify <add|delete|replace>:<attribute>:<value> ....dsidm group renameβ rename the object.dsidm group membersβ list member dns of a group.dsidm group add_memberβ add a member to a group.dsidm group remove_memberβ remove a member from a group.
π¦ COMMAND 'dsidm group list' π¦
π usage
usage: dsidm [-v] [-j] instance group list [-h] [--full-dn]
π OPTIONS 'dsidm group list' π
--full-dnβ return the full DN of the entry instead of the RDN value.
π COMMAND 'dsidm group get' π
π usage
usage: dsidm [-v] [-j] instance group get [-h] [selector]
π arguments
selectorβ the term to search for.
π COMMAND 'dsidm group get_dn' π
π usage
usage: dsidm [-v] [-j] instance group get_dn [-h] [dn]
π arguments
dnβ the dn to get.
β¨ COMMAND 'dsidm group create' β¨
π usage
usage: dsidm [-v] [-j] instance group create [-h] [--cn [CN]]
[--description [DESCRIPTION]]
πΈ OPTIONS 'dsidm group create' πΈ
--cn [CN]β value ofcn.--description [DESCRIPTION]β value ofdescription.
π COMMAND 'dsidm group delete' π
π usage
usage: dsidm [-v] [-j] instance group delete [-h] [dn]
π arguments
dnβ the dn to delete.
π§ COMMAND 'dsidm group modify' π§
π usage
usage: dsidm [-v] [-j] instance group modify [-h] selector changes
[changes ...]
π arguments
selectorβ the cn to modify.changesβ a list of changes to apply in format:<add|delete|replace>:<attribute>:<value>.
π« COMMAND 'dsidm group rename' π«
π usage
usage: dsidm [-v] [-j] instance group rename [-h] [--keep-old-rdn]
selector new_name
π arguments
selectorβ the cn to rename.new_nameβ a new group name.
π OPTIONS 'dsidm group rename' π
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_group) should be kept as an attribute of the entry or not.
π«Ά COMMAND 'dsidm group members' π«Ά
π usage
usage: dsidm [-v] [-j] instance group members [-h] [cn]
π arguments
cnβ cn of group to list members of.
β COMMAND 'dsidm group add_member' β
π usage
usage: dsidm [-v] [-j] instance group add_member [-h] [cn] [dn]
π arguments
cnβ cn of group to add member to.dnβ dn of object to add to group as member.
π COMMAND 'dsidm group remove_member' π
π usage
usage: dsidm [-v] [-j] instance group remove_member [-h] [cn] [dn]
π arguments
cnβ cn of group to remove member from.dnβ dn of object to remove from group as member.
π₯ COMMAND 'dsidm initialise' π₯
π usage
usage: dsidm [-v] [-j] instance initialise [-h] [--version VERSION]
β¨ OPTIONS 'dsidm initialise' β¨
--version VERSIONβ the version of entries to create.
π COMMAND 'dsidm organizationalunit' π
π usage
usage: dsidm [-v] [-j] instance organizationalunit [-h]
{list,get,get_dn,create,delete,modify,rename}
...
π POSITIONAL ARGUMENTS 'dsidm organizationalunit' π
dsidm organizationalunit listβ list.dsidm organizationalunit getβ get.dsidm organizationalunit get_dnβ get_dn.dsidm organizationalunit createβ create.dsidm organizationalunit deleteβ deletes the object.dsidm organizationalunit modifyβmodify <add|delete|replace>:<attribute>:<value> ....dsidm organizationalunit renameβ rename the object.
π COMMAND 'dsidm organizationalunit list' π
π usage
usage: dsidm [-v] [-j] instance organizationalunit list [-h] [--full-dn]
π OPTIONS 'dsidm organizationalunit list' π
--full-dnβ return the full DN of the entry instead of the RDN value.
π¦ COMMAND 'dsidm organizationalunit get' π¦
π usage
usage: dsidm [-v] [-j] instance organizationalunit get [-h] [selector]
π arguments
selectorβ the term to search for.
π COMMAND 'dsidm organizationalunit get_dn' π
π usage
usage: dsidm [-v] [-j] instance organizationalunit get_dn [-h] [dn]
π arguments
dnβ the dn to get.
π§ COMMAND 'dsidm organizationalunit create' π§
π usage
usage: dsidm [-v] [-j] instance organizationalunit create [-h] [--ou
[OU]]
π OPTIONS 'dsidm organizationalunit create' π
--ou [OU]β the value ofou, bestie. that's the whole thing, that's the option π
π«Ά COMMAND 'dsidm organizationalunit delete' π«Ά
usage: dsidm [-v] [-j] instance organizationalunit delete [-h] [dn]
dnβ the dn to delete. yes, that dn. say bye π
β¨ COMMAND 'dsidm organizationalunit modify' β¨
usage: dsidm [-v] [-j] instance organizationalunit modify [-h]
selector
changes
[changes ...]
selectorβ theouto modify, iykykchangesβ a list of changes to apply, in the format:<add|delete|replace>:<attribute>:<value>β literally that exact shape, don't freestyle it π
π¦ COMMAND 'dsidm organizationalunit rename' π¦
usage: dsidm [-v] [-j] instance organizationalunit rename [-h]
[--keep-old-rdn]
selector
new_name
selectorβ theouto renamenew_nameβ a new organizational unit name β¨ fresh identity, we love a glow up
πΈ OPTIONS 'dsidm organizationalunit rename' πΈ
--keep-old-rdnβ specify whether the old RDN (i.e.ou: old_ou) should be kept as an attribute of the entry or not
π COMMAND 'dsidm posixgroup' π
usage: dsidm instance posixgroup [-h]
{list,get,get_dn,create,delete,modify,rename}
...
π POSITIONAL ARGUMENTS 'dsidm posixgroup' π
dsidm posixgroup listβ listdsidm posixgroup getβ getdsidm posixgroup get_dnβget_dndsidm posixgroup createβ createdsidm posixgroup deleteβ deletes the object πdsidm posixgroup modifyβmodify <add|delete|replace>:<attribute>:<value> ...dsidm posixgroup renameβ rename the object
π COMMAND 'dsidm posixgroup list' π
usage: dsidm [-v] [-j] instance posixgroup list [-h] [--full-dn]
π OPTIONS 'dsidm posixgroup list' π
--full-dnβ return the full DN of the entry instead of the RDN value. the whole thing, not the lil nickname π
π§ COMMAND 'dsidm posixgroup get' π§
usage: dsidm [-v] [-j] instance posixgroup get [-h] [selector]
selectorβ the term to search for π
π COMMAND 'dsidm posixgroup get_dn' π
usage: dsidm [-v] [-j] instance posixgroup get_dn [-h] [dn]
dnβ the dn to get
β COMMAND 'dsidm posixgroup create' β
usage: dsidm [-v] [-j] instance posixgroup create [-h] [--cn [CN]]
[--gidNumber [GIDNUMBER]]
π OPTIONS 'dsidm posixgroup create' π
--cn [CN]β value ofcn--gidNumber [GIDNUMBER]β value ofgidNumber
π COMMAND 'dsidm posixgroup delete' π
usage: dsidm [-v] [-j] instance posixgroup delete [-h] [dn]
dnβ the dn to delete. gone. reduced to atoms π«
π₯ COMMAND 'dsidm posixgroup modify' π₯
usage: dsidm [-v] [-j] instance posixgroup modify [-h] selector changes
[changes ...]
selectorβ thecnto modifychangesβ a list of changes to apply in format:<add|delete|replace>:<attribute>:<value>
πΈ COMMAND 'dsidm posixgroup rename' πΈ
usage: dsidm [-v] [-j] instance posixgroup rename [-h] [--keep-old-rdn]
selector new_name
selectorβ thecnto renamenew_nameβ a new posix group name
π¦ OPTIONS 'dsidm posixgroup rename' π¦
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_group) should be kept as an attribute of the entry or not
π COMMAND 'dsidm user' π
usage: dsidm instance user [-h]
[--user-type
{basic,posix,service,traditional}]
{list,get,get-pwp,get_dn,create,modify,rename,delete}
...
π POSITIONAL ARGUMENTS 'dsidm user' π
dsidm user listβ listdsidm user getβ getdsidm user get-pwpβ show the effective password policy for a user πdsidm user get_dnβget_dndsidm user createβ createdsidm user modifyβmodify <add|delete|replace>:<attribute>:<value> ...dsidm user renameβ rename the objectdsidm user deleteβ deletes the object π
β¨ COMMAND 'dsidm user list' β¨
usage: dsidm [-v] [-j] instance user list [-h] [--full-dn]
π OPTIONS 'dsidm user list' π
--full-dnβ return the full DN of the entry instead of the RDN value
π COMMAND 'dsidm user get' π
usage: dsidm [-v] [-j] instance user get [-h] [selector]
selectorβ the term to search for
π COMMAND 'dsidm user get-pwp' π
usage: dsidm [-v] [-j] instance user get-pwp [-h] [--parent-dn
PARENT_DN] [selector]
Resolve and display the password policy (global, user local, or subtree local) that applies to the user, including all effective settings. so like, which rules are actually coming for you, no cap π
selectorβ the user identifier to look up (same asuser get, typicallyuid)
π OPTIONS 'dsidm user get-pwp' π
--parent-dn PARENT_DNβ a base DN to use for user lookups. default is"ou=people,$SUFFIX"for users, or"ou=services,$SUFFIX"for service accounts
π§ COMMAND 'dsidm user get_dn' π§
usage: dsidm [-v] [-j] instance user get_dn [-h] [dn]
dnβ the dn to get
β COMMAND 'dsidm user create' β
usage: dsidm [-v] [-j] instance user create [-h] [--uid [UID]] [--cn
[CN]]
[--displayName [DISPLAYNAME]]
[--uidNumber [UIDNUMBER]]
[--gidNumber [GIDNUMBER]]
[--homeDirectory [HOMEDIRECTORY]]
π¦ OPTIONS 'dsidm user create' π¦
--uid [UID]β value ofuid--cn [CN]β value ofcn--displayName [DISPLAYNAME]β value ofdisplayName--uidNumber [UIDNUMBER]β value ofuidNumber--gidNumber [GIDNUMBER]β value ofgidNumber--homeDirectory [HOMEDIRECTORY]β value ofhomeDirectory
π₯ COMMAND 'dsidm user modify' π₯
usage: dsidm [-v] [-j] instance user modify [-h] selector changes
[changes ...]
selectorβ theuidto modifychangesβ a list of changes to apply in format:<add|delete|replace>:<attribute>:<value>
π COMMAND 'dsidm user rename' π
usage: dsidm [-v] [-j] instance user rename [-h] [--keep-old-rdn]
selector new_name
selectorβ theuidto modifynew_nameβ a new user name
π OPTIONS 'dsidm user rename' π
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_user) should be kept as an attribute of the entry or not
π COMMAND 'dsidm user delete' π
usage: dsidm [-v] [-j] instance user delete [-h] [dn]
dnβ the dn to delete
πΈ OPTIONS 'dsidm user' πΈ
--user-type {basic,posix,service,traditional}β the type of user to manage."basic"is an entry based off of objectclasses:nsPerson,nsAccount, andnsOrgPerson."posix"is based off of objectclasses:nsPerson,nsAccount,nsOrgPerson, andposixAccount."service"is based off of objectclasses:nsAccountandapplicationProcess."traditional", aka legacy, is based off of objectclasses:person,organizationalPerson, andinetOrgPerson. The default user type is"posix"π«Ά
π COMMAND 'dsidm client_config' π
usage: dsidm instance client_config [-h] {sssd.conf,ldap.conf,display}
...
π POSITIONAL ARGUMENTS 'dsidm client_config' π
dsidm client_config sssd.confβ generate a SSSD configuration for this LDAP serverdsidm client_config ldap.confβ generate an OpenLDAPldap.confconfiguration for this LDAP serverdsidm client_config displayβ display generic application parameters for LDAP connection
β COMMAND 'dsidm client_config sssd.conf' β
usage: dsidm instance client_config sssd.conf [-h] [allowed_group]
allowed_groupβ the name of the group allowed access to this system π
π§ COMMAND 'dsidm client_config ldap.conf' π§
usage: dsidm instance client_config ldap.conf [-h]
π COMMAND 'dsidm client_config display' π
usage: dsidm instance client_config display [-h]
π COMMAND 'dsidm role' π
usage: dsidm [-v] [-j] instance role [-h]
{list,get,get-by-dn,create-managed,create-filtered,create-nested,modify-by-dn,rename-by-dn,delete,lock,unlock,entry-status,subtree-status}
...
π POSITIONAL ARGUMENTS 'dsidm role' π
dsidm role listβ list roles that could login to the directorydsidm role getβ getdsidm role get-by-dnβget-by-dn <dn>dsidm role create-managedβ createdsidm role create-filteredβ createdsidm role create-nestedβ createdsidm role modify-by-dnβmodify-by-dn <dn> <add|delete|replace>:<attribute>:<value> ...dsidm role rename-by-dnβ rename the objectdsidm role deleteβ deletes the role πdsidm role lockβ lockdsidm role unlockβ unlockdsidm role entry-statusβ status of a single entrydsidm role subtree-statusβ status of a subtree
β¨ COMMAND 'dsidm role list' β¨
usage: dsidm [-v] [-j] instance role list [-h] [--full-dn]
π OPTIONS 'dsidm role list' π
--full-dnβ return the full DN of the entry instead of the RDN value
π COMMAND 'dsidm role get' π
usage: dsidm [-v] [-j] instance role get [-h] [selector]
selectorβ the term to search for
π¦ COMMAND 'dsidm role get-by-dn' π¦
usage: dsidm [-v] [-j] instance role get-by-dn [-h] [dn]
dnβ the dn to get and display
π COMMAND 'dsidm role create-managed' π
usage: dsidm [-v] [-j] instance role create-managed [-h] [--cn [CN]]
πΈ OPTIONS 'dsidm role create-managed' πΈ
--cn [CN]β value ofcn
π¦ COMMAND 'dsidm role create-filtered' π¦
usage: dsidm [-v] [-j] instance role create-filtered [-h] [--cn [CN]]
πΈ OPTIONS 'dsidm role create-filtered' πΈ
--cn [CN]β value ofcn
πͺ COMMAND 'dsidm role create-nested' πͺ
usage: dsidm [-v] [-j] instance role create-nested [-h] [--cn [CN]]
[--nsroledn
[NSROLEDN]]
πΈ OPTIONS 'dsidm role create-nested' πΈ
--cn [CN]β value ofcn--nsroledn [NSROLEDN]β value ofnsroledn
π₯ COMMAND 'dsidm role modify-by-dn' π₯
usage: dsidm [-v] [-j] instance role modify-by-dn [-h]
dn changes [changes
...
dnβ the dn to modifychangesβ a list of changes to apply in format:<add|delete|replace>:<attribute>:<value>
π COMMAND 'dsidm role rename-by-dn' π
usage: dsidm [-v] [-j] instance role rename-by-dn [-h] [--keep-old-rdn]
dn new_dn
dnβ the dn to renamenew_dnβ a new account dn
π OPTIONS 'dsidm role rename-by-dn' π
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_account) should be kept as an attribute of the entry or not
π COMMAND 'dsidm role delete' π
usage: dsidm [-v] [-j] instance role delete [-h] [dn]
dnβ the dn of the role to delete
π COMMAND 'dsidm role lock' π
usage: dsidm [-v] [-j] instance role lock [-h] [dn]
dnβ the dn to lock
π COMMAND 'dsidm role unlock' π
usage: dsidm [-v] [-j] instance role unlock [-h] [dn]
- dn β the dn you wanna unlock π
π COMMAND 'dsidm role entry-status' π
usage: dsidm [-v] [-j] instance role entry-status [-h] [dn]
- dn β the single entry dn to check, okay? just the one, no sneaking in a whole subtree π
π³ COMMAND 'dsidm role subtree-status' π³
usage: dsidm [-v] [-j] instance role subtree-status [-h] [-f FILTER]
[-s {base,one,sub}]
basedn
- basedn β search base for finding entries, like the little home base for your search π
π OPTIONS 'dsidm role subtree-status' π
-f FILTER,--filter FILTERβ search filter for finding entries π΅οΈββοΈ-s {base,one,sub},--scope {base,one,sub}β search scope (base, one, sub - default is sub π
π οΈ COMMAND 'dsidm service' π οΈ
usage: dsidm [-v] [-j] instance service [-h]
{list,get,get_dn,create,modify,rename,delete}
...
β¨ POSITIONAL ARGUMENTS 'dsidm service' β¨
dsidm service listβ list πdsidm service getβ get π―dsidm service get_dnβ get_dn π§dsidm service createβ create π±dsidm service modifyβ modify<add|delete|replace>:<attribute>:<value> ...π§dsidm service renameβ rename the object βοΈdsidm service deleteβ deletes the object ποΈ
π COMMAND 'dsidm service list' π
usage: dsidm [-v] [-j] instance service list [-h] [--full-dn]
π OPTIONS 'dsidm service list' π
--full-dnβ return the full DN of the entry instead of the RDN value, like give me the WHOLE address not just the name bestie π‘
π― COMMAND 'dsidm service get' π―
usage: dsidm [-v] [-j] instance service get [-h] [selector]
- selector β the term to search for π
π§ COMMAND 'dsidm service get_dn' π§
usage: dsidm [-v] [-j] instance service get_dn [-h] [dn]
- dn β the dn to get, hand it over π¬
π± COMMAND 'dsidm service create' π±
usage: dsidm [-v] [-j] instance service create [-h] [--cn [CN]]
[--description
[DESCRIPTION]]
π OPTIONS 'dsidm service create' π
--cn [CN]β value ofcnπ·οΈ--description [DESCRIPTION]β value ofdescriptionπ
π§ COMMAND 'dsidm service modify' π§
usage: dsidm [-v] [-j] instance service modify [-h]
selector changes [changes
...]
- selector β the
cnto modify π― - changes β a list of changes to apply, in this format:
<add|delete|replace>:<attribute>:<value>π§Ύ
βοΈ COMMAND 'dsidm service rename' βοΈ
usage: dsidm [-v] [-j] instance service rename [-h] [--keep-old-rdn]
selector new_name
- selector β the
cnto modify π - new_name β a new service name β¨
πΈ OPTIONS 'dsidm service rename' πΈ
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_service) should be kept as an attribute of the entry or not π€
ποΈ COMMAND 'dsidm service delete' ποΈ
usage: dsidm [-v] [-j] instance service delete [-h] [dn]
- dn β the dn to delete, bye bye π
π COMMAND 'dsidm uniquegroup' π
usage: dsidm instance uniquegroup [-h]
{list,get,get_dn,create,delete,modify,rename,members,add_member,remove_member}
...
π POSITIONAL ARGUMENTS 'dsidm uniquegroup' π
dsidm uniquegroup listβ list πdsidm uniquegroup getβ get π―dsidm uniquegroup get_dnβ get_dn π§dsidm uniquegroup createβ create π±dsidm uniquegroup deleteβ deletes the object ποΈdsidm uniquegroup modifyβ modify<add|delete|replace>:<attribute>:<value> ...π§dsidm uniquegroup renameβ rename the object βοΈdsidm uniquegroup membersβ list member dns of a group π―ββοΈdsidm uniquegroup add_memberβ add a member to a group βdsidm uniquegroup remove_memberβ remove a member from a group β
π COMMAND 'dsidm uniquegroup list' π
usage: dsidm [-v] [-j] instance uniquegroup list [-h] [--full-dn]
π OPTIONS 'dsidm uniquegroup list' π
--full-dnβ return the full DN of the entry instead of the RDN value, the full β¨luxuryβ¨ version of the address π‘
π― COMMAND 'dsidm uniquegroup get' π―
usage: dsidm [-v] [-j] instance uniquegroup get [-h] [selector]
- selector β the term to search for π
π§ COMMAND 'dsidm uniquegroup get_dn' π§
usage: dsidm [-v] [-j] instance uniquegroup get_dn [-h] [dn]
- dn β the dn to get π¬
π± COMMAND 'dsidm uniquegroup create' π±
usage: dsidm [-v] [-j] instance uniquegroup create [-h] [--cn [CN]]
π OPTIONS 'dsidm uniquegroup create' π
--cn [CN]β value ofcnπ·οΈ
ποΈ COMMAND 'dsidm uniquegroup delete' ποΈ
usage: dsidm [-v] [-j] instance uniquegroup delete [-h] [dn]
- dn β the dn to delete π
π§ COMMAND 'dsidm uniquegroup modify' π§
usage: dsidm [-v] [-j] instance uniquegroup modify [-h] selector changes
[changes ...]
- selector β the
cnto modify π― - changes β a list of changes to apply, in this format:
<add|delete|replace>:<attribute>:<value>π§Ύ
βοΈ COMMAND 'dsidm uniquegroup rename' βοΈ
usage: dsidm [-v] [-j] instance uniquegroup rename [-h] [--keep-old-rdn]
selector new_name
- selector β the
cnto rename π - new_name β a new group name β¨
πΈ OPTIONS 'dsidm uniquegroup rename' πΈ
--keep-old-rdnβ specify whether the old RDN (i.e.cn: old_group) should be kept as an attribute of the entry or not π€
π―ββοΈ COMMAND 'dsidm uniquegroup members' π―ββοΈ
usage: dsidm [-v] [-j] instance uniquegroup members [-h] [cn]
- cn β
cnof group to list members of π
β COMMAND 'dsidm uniquegroup add_member' β
usage: dsidm [-v] [-j] instance uniquegroup add_member [-h] [cn] [dn]
- cn β
cnof group to add member to π«Ά - dn β dn of object to add to group as member π
β COMMAND 'dsidm uniquegroup remove_member' β
usage: dsidm [-v] [-j] instance uniquegroup remove_member [-h] [cn] [dn]
- cn β
cnof group to remove member from π - dn β dn of object to remove from group as member π
β¨ OPTIONS β¨
the global ones, the ones that go on every single command, no cap π«Ά
-v,--verboseβ display verbose operation tracing during command execution, like it tells you EVERYTHING it's doing π£οΈπ₯-j,--jsonβ return result in a JSON object π§Ύβ¨ (perfect for when you're piping into something, iykyk)-b BASEDN,--basedn BASEDNβ base DN (root naming context) of the instance to manage π-D BINDDN,--binddn BINDDNβ the account to bind as for executing operations πͺͺ-w BINDPW,--bindpw BINDPWβ password for the bind DN π-W,--promptβ prompt for password of the bind DN πββοΈ-y PWDFILE,--pwdfile PWDFILEβ specifies a file containing the password of the bind DN π-Z,--starttlsβ connect with StartTLS π
lowkey important: most of these commands take a dn or a selector and if you give them nothing they'll just do their little interactive thing instead β the manpage is very chill about it, so read the usage line before you go full send π
π AUTHOR π
"Red Hat, Inc., and William Brown" <389-devel@lists.fedoraproject.org> π
and that's a wrap on DSIDM(8), bestie!! π this whole thing is from lib389 3.3.1, dated 2026-09-11, and it lives in section DSIDM(8) of the manual. go forth and directory-server slay, you absolute icon πβ¨π
π¦ 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