Admin CLI Reference: name-service-config
When called without an operation, name-service-config lists the configured name services, as with --list. Operations cannot be combined in one command.
| Option | Used with | Required? | Notes |
|---|---|---|---|
|
Add a new LDAP name service. Requires |
||
|
List the configured name services in resolution order, or one name service when given |
||
|
Update a configured name service. Requires |
||
|
Remove a configured name service. Requires |
||
|
|
Required for |
The management name of the name service. Maximum 255 characters; must be unique (case-insensitive). |
|
|
Optional |
UUID of the name service. Not allowed with |
|
|
Optional |
Integer ID of the name service. Not allowed with |
|
|
Optional |
Rename the name service (management name). |
|
|
Optional |
The domain name, for example |
|
|
Required for |
IP address or DNS name of the LDAP server, with an optional port (1–65535). Repeat |
|
|
Optional |
|
|
|
Optional |
Clear the transport mode so that the connection test determines it again. Cannot be used with |
|
|
Optional |
|
|
|
Optional |
Base DN for searches, for example |
|
|
Optional |
Reset the search base to the root of the domain (for example, |
|
|
Optional |
Bind distinguished name for authenticated access. On |
|
|
Optional |
Password for the Bind DN. Must be given with |
|
|
Optional |
Remove the Bind DN and Bind Secret, so that the name service uses anonymous access. |
|
|
Optional |
Skip the connection test. Requires |
|
Set the resolution order. Give a comma-separated list of names, UUIDs, or internal IDs, all of the same type. Name services not listed are placed after the listed ones, in no guaranteed order. |
||
|
Look up a user through SSSD. An unqualified name ( |
||
|
Look up a group. Qualified and unqualified names behave as for |
||
|
List the groups a user belongs to. Qualified and unqualified names behave as for |
||
|
Run the connection test for one or more configured name services, using their saved settings. Give a name, UUID, or internal ID, or a comma-separated list of identifiers of the same type. |