DOKK / manpages / debian 10 / python3-lib389 / dsidm.8.en
dsidm(1) General Commands Manual dsidm(1)

dsidm

dsidm [-h] [-b BASEDN] [-v] [-D BINDDN] [-w BINDPW] [-W] [-y PWDFILE] [-Z] [-j] instance {account,group,initialise,organizationalunit,posixgroup,user} ...

The instance name OR the LDAP url to connect to, IE localhost,
ldap://mai.example.com:389

Sub-commands

Manage generic accounts IE account locking and unlocking.
Manage groups
Initialise a backend with domain information and sample entries
Manage organizational units
Manage posix groups
Manage posix users

usage: dsidm instance account [-h]
{list,lock,status,unlock,reset_password,change_password}
...

Sub-commands

list
lock
status
unlock
Reset the password of an account. This should be performed by a directory admin.
Change the password of an account. This can be performed by any user (with correct rights)

usage: dsidm instance account list [-h]

usage: dsidm instance account lock [-h] [dn]

The dn to lock

usage: dsidm instance account status [-h] [dn]

The dn to check

usage: dsidm instance account unlock [-h] [dn]

The dn to unlock

usage: dsidm instance account reset_password [-h] [dn] [new_password]

The dn to reset the password for

The new password to set

usage: dsidm instance account change_password [-h]
[dn] [new_password]
[current_password]

The dn to change the password for

The new password to set

The accounts current password

usage: dsidm instance group [-h]
{list,get,get_dn,create,delete,members,add_member,remove_member}
...

Sub-commands

list
get
get_dn
create
deletes the object
List member dns of a group
Add a member to a group
Remove a member from a group

usage: dsidm instance group list [-h]

usage: dsidm instance group get [-h] [selector]

The term to search for

usage: dsidm instance group get_dn [-h] [dn]

The dn to get

usage: dsidm instance group create [-h] [--cn [CN]]

Value of cn

usage: dsidm instance group delete [-h] [dn]

The dn to delete

usage: dsidm instance group members [-h] [cn]

cn of group to list members of

usage: dsidm instance group add_member [-h] [cn] [dn]

cn of group to add member to

dn of object to add to group as member

usage: dsidm instance group remove_member [-h] [cn] [dn]

cn of group to remove member from

dn of object to remove from group as member

usage: dsidm instance initialise [-h] [--version VERSION]

The version of entries to create.

usage: dsidm instance organizationalunit [-h]
{list,get,get_dn,create,delete} ...

Sub-commands

list
get
get_dn
create
deletes the object

usage: dsidm instance organizationalunit list [-h]

usage: dsidm instance organizationalunit get [-h] [selector]

The term to search for

usage: dsidm instance organizationalunit get_dn [-h] [dn]

The dn to get

usage: dsidm instance organizationalunit create [-h] [--ou [OU]]

Value of ou

usage: dsidm instance organizationalunit delete [-h] [dn]

The dn to delete

usage: dsidm instance posixgroup [-h] {list,get,get_dn,create,delete} ...

Sub-commands

list
get
get_dn
create
deletes the object

usage: dsidm instance posixgroup list [-h]

usage: dsidm instance posixgroup get [-h] [selector]

The term to search for

usage: dsidm instance posixgroup get_dn [-h] [dn]

The dn to get

usage: dsidm instance posixgroup create [-h] [--cn [CN]]
[--gidNumber [GIDNUMBER]]

Value of cn

Value of gidNumber

usage: dsidm instance posixgroup delete [-h] [dn]

The dn to delete

usage: dsidm instance user [-h]
{list,get,get_dn,create,delete,lock,status,unlock}
...

Sub-commands

list
get
get_dn
create
deletes the object
lock
status
unlock

usage: dsidm instance user list [-h]

usage: dsidm instance user get [-h] [selector]

The term to search for

usage: dsidm instance user get_dn [-h] [dn]

The dn to get

usage: dsidm instance user create [-h] [--uid [UID]] [--cn [CN]]
[--displayName [DISPLAYNAME]]
[--uidNumber [UIDNUMBER]]
[--gidNumber [GIDNUMBER]]
[--homeDirectory [HOMEDIRECTORY]]

Value of uid

Value of cn

Value of displayName

Value of uidNumber

Value of gidNumber

Value of homeDirectory

usage: dsidm instance user delete [-h] [dn]

The dn to delete

usage: dsidm instance user lock [-h] [uid]

The uid to lock

usage: dsidm instance user status [-h] [uid]

The uid to check

usage: dsidm instance user unlock [-h] [uid]

The uid to unlock

Basedn (root naming context) of the instance to manage

Display verbose operation tracing during command execution

The account to bind as for executing operations

Password for binddn

Prompt for password for binddn

Specifies a file containing the password for the bind DN

Connect with StartTLS

Return result in JSON object

lib389 was written by Red Hat Inc. <389-devel@lists.fedoraproject.org>.

The latest version of lib389 may be downloaded from http://www.port389.org/docs/389ds/FAQ/upstream-test-framework.html

Manual