2021-07-24 03:12:35 +02:00
|
|
|
# Installing Client Tools
|
|
|
|
|
2022-05-27 01:07:56 +02:00
|
|
|
> **NOTE** As this project is in a rapid development phase, running different
|
|
|
|
release versions will likely present incompatibilities. Ensure you're running
|
|
|
|
matching release versions of client and server binaries. If you have any issues,
|
|
|
|
check that you are running the latest software.
|
2021-07-24 03:12:35 +02:00
|
|
|
|
|
|
|
## From packages
|
|
|
|
|
2022-05-27 01:07:56 +02:00
|
|
|
Kanidm currently supports the following Linux distributions:
|
2021-07-24 03:12:35 +02:00
|
|
|
|
|
|
|
* OpenSUSE Tumbleweed
|
2022-03-14 08:29:04 +01:00
|
|
|
* OpenSUSE Leap 15.3/15.4
|
|
|
|
* Fedora 34/35
|
2022-05-10 02:52:53 +02:00
|
|
|
* CentOS Stream 9
|
2021-07-24 03:12:35 +02:00
|
|
|
|
2022-05-31 06:13:21 +02:00
|
|
|
The `kanidm` client has been built and tested from Windows, but is not (yet) packaged routinely.
|
|
|
|
|
2021-07-24 03:12:35 +02:00
|
|
|
### OpenSUSE Tumbleweed
|
|
|
|
|
2022-05-27 01:07:56 +02:00
|
|
|
Kanidm has been part of OpenSUSE Tumbleweed since October 2020. You can install
|
2021-07-24 03:12:35 +02:00
|
|
|
the clients with:
|
|
|
|
|
|
|
|
zypper ref
|
|
|
|
zypper in kanidm-clients
|
|
|
|
|
2022-03-14 08:29:04 +01:00
|
|
|
### OpenSUSE Leap 15.3/15.4
|
2021-07-24 03:12:35 +02:00
|
|
|
|
2022-05-27 01:07:56 +02:00
|
|
|
Leap 15.3/15.4 does not have full Kanidm support. For an experimental client, you can
|
2021-07-24 03:12:35 +02:00
|
|
|
try the development repository. Using zypper you can add the repository with:
|
|
|
|
|
|
|
|
zypper ar -f obs://network:idm network_idm
|
|
|
|
|
|
|
|
Then you need to refresh your metadata and install the clients.
|
|
|
|
|
|
|
|
zypper ref
|
|
|
|
zypper in kanidm-clients
|
|
|
|
|
2022-03-14 08:29:04 +01:00
|
|
|
### Fedora / Centos Stream
|
2021-07-24 03:12:35 +02:00
|
|
|
|
2022-05-27 01:07:56 +02:00
|
|
|
Fedora has limited support through the development repository. You need to add the repository
|
|
|
|
metadata into the correct directory:
|
2021-07-24 03:12:35 +02:00
|
|
|
|
|
|
|
cd /etc/yum.repos.d
|
2022-03-14 08:29:04 +01:00
|
|
|
# Fedora 34
|
2022-05-27 01:07:56 +02:00
|
|
|
wget https://download.opensuse.org/repositories/network:/idm/Fedora_34/network:idm.repo
|
2022-03-14 08:29:04 +01:00
|
|
|
# Fedora 35
|
2022-05-27 01:07:56 +02:00
|
|
|
wget https://download.opensuse.org/repositories/network:/idm/Fedora_35/network:idm.repo
|
2022-03-14 08:29:04 +01:00
|
|
|
# Centos Stream 9
|
2022-05-27 01:07:56 +02:00
|
|
|
wget https://download.opensuse.org/repositories/network:/idm/CentOS_9_Stream/network:idm.repo
|
2021-07-24 03:12:35 +02:00
|
|
|
|
|
|
|
You can then install with:
|
|
|
|
|
2022-05-27 01:07:56 +02:00
|
|
|
dnf install kanidm-clients
|
2021-07-24 03:12:35 +02:00
|
|
|
|
|
|
|
## From source (CLI only, not recommended)
|
|
|
|
|
|
|
|
After you check out the source (see [GitHub](https://github.com/kanidm/kanidm)), navigate to:
|
|
|
|
|
|
|
|
cd kanidm_tools
|
|
|
|
cargo install --path .
|
|
|
|
|
|
|
|
## Checking that the tools work
|
|
|
|
|
|
|
|
Now you can check your instance is working. You may need to provide a CA certificate for verification
|
|
|
|
with the -C parameter:
|
|
|
|
|
|
|
|
kanidm login --name anonymous
|
|
|
|
kanidm self whoami -H https://localhost:8443 --name anonymous
|
2022-09-02 06:21:20 +02:00
|
|
|
kanidm self whoami -C ../path/to/ca.pem -H https://localhost:8443 --name anonymous
|
2021-07-24 03:12:35 +02:00
|
|
|
|
2022-09-02 06:21:20 +02:00
|
|
|
Now you can take some time to look at what commands are available - please
|
|
|
|
[ask for help at any time](https://github.com/kanidm/kanidm#getting-in-contact--questions).
|