-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Support IAM FreeIPA #250
Comments
I was able to install freeipa-client package ("sudo apt-get install -y freeipa-client"). However, to have it working the "ipa-client-install" command must be executed and there was still some preparation to ostensibly be done in precedence to executing the "ipa-client-install" command. What is unclear is what directories I need to have in a write accessible state for freeipa-client to function within the BliKVM environment. As such, I then created these directories: mkdir -p /mnt/persistent/var/lib/ipa-client/{pki,sysrestore} I then added these entries to /etc/fstab: /mnt/persistent/var/log/sssd /var/log/sssd none bind 0 0 I then rebooted the BliKVM. Succeeding a reboot I checked using this command if things looked okay: I then executed the ipa-client-install command with the appropriate parameters, which caused the BliKVM instance to join the domain and it showed that the ipa-client-install was indeed successful. I then rebooted the BliKVM. After all that the sssd.service would not start as it seemed to stand absent a database of some sort that I am still researching as to why it did not work. |
Confirm if the sss.db files exist after reboot:
If the database is missing, manually create it and set proper permissions:
Ensure the right ownership:
Remember to check the mount points. |
I was unable to find the sss_cache command on my BliKVM image even after having uninstalled freeipa-client and reinstalled it (using apt, not the ipa-client-install command) and said binary did not exist. root@blikvm(rw):/# find / -name 'sss_cache' -print That said, perhaps that directory /var/lib/sss/db must also be bound as well within /etc/fstab. |
Looks like you need to update /etc/fstab to include:
|
I am trying that as well as updating my instructions to use: instead of: |
I ran: then I ran the ipa-client-install again, whereupon I noticed that sssd was unsuccessfully starting. sssd[4318]: Starting up This was the first sssd error in the journal after the installation. |
D-bus is running?
If not active, enable it
Restart D-Bus and SSSD
|
dbus is absolutely runniung, it was the first thing I checked. In fact, I just rebooted and ran a status on dbus and on sssd, whereupon dbus was running but sssd was not. That said, I need to re-run the ipa-client-install as sssd is currently not configured I realized (since the last reboot). |
You could start SSSD in debug mode
Are there any clues in the SSSD Logs? |
No description provided.
The text was updated successfully, but these errors were encountered: