diff options
author | nordine vallas <nordine.vallas@gmail.com> | 2022-08-31 14:46:44 +0000 |
---|---|---|
committer | Sumit Bose <sbose@redhat.com> | 2022-08-31 14:46:44 +0000 |
commit | d4a898303957f45ff8662885062d4699e9d89937 (patch) | |
tree | 39296aea55a32a8c969bf56c21097955057c1b81 | |
parent | 601bb55ff453022dad5c548e9dfb0f11691ee05a (diff) |
doc: add clarification to add-member command on doc/adcli.xml
-rw-r--r-- | doc/adcli.xml | 6 | ||||
-rw-r--r-- | tools/entry.c | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/adcli.xml b/doc/adcli.xml index 5df56df..324ce06 100644 --- a/doc/adcli.xml +++ b/doc/adcli.xml @@ -75,7 +75,7 @@ <command>adcli add-member</command> <arg choice="opt">--domain=domain.example.com</arg> <arg choice="plain">group</arg> - <arg choice="plain" rep="repeat">user</arg> + <arg choice="plain" rep="repeat">user or computer</arg> </cmdsynopsis> <cmdsynopsis> <command>adcli remove-member</command> @@ -812,10 +812,12 @@ $ adcli delete-group Pilots --domain=domain.example.com <para><command>adcli add-member</command> adds one or more users to a group in the domain. The group is specified first, and then the various - users to be added.</para> + users or computers to be added. + You must use dollar sign for computer account (computername$)</para> <programlisting> $ adcli add-member --domain=domain.example.com Pilots Leela Scruffy +$ adcli add-member --domain=domain.example.com servers srv-smb$ </programlisting> <para>The various global options can be used.</para> diff --git a/tools/entry.c b/tools/entry.c index 52d2546..433f8c0 100644 --- a/tools/entry.c +++ b/tools/entry.c @@ -743,6 +743,7 @@ adcli_tool_member_add (adcli_conn *conn, static adcli_tool_desc usages[] = { { 0, "usage: adcli add-member --domain=xxxx group user ..." }, + { 0, " adcli add-member --domain=xxxx group computer$ ... (dollar sign is required for computer account)" }, { 0 }, }; |