Over the last week I have been working on getting the (Ubuntu 18.04) LDAP directory information cached locally to allow the use of roaming users(on Laptops). Getting the LDAP client setup correctly took a little digging around, but I was eventually able to get it to work. There are a few guides available to help out on this matter, although most are outdated. However, when it comes to cached data, I have not been able to find a fully comprehensive guide on the matter. As it seems there are a number of different ways to do this (nscd, sssd) and as it seems these still have a number of bugs, making it even harder to get up and running.

Guides I've found: https://www.youtube.com/watch?v=l0e8rG0mku8 https://www.techrepublic.com/blog/linux-and-open-source/authentication-caching-with-nscd/

I'm running a simple LDAP server (on a ClearOS 6 dist), and would just like a centralized way of organizing user data for roaming users.

Does anyone have a comprehensive guide(or success) on getting 18.04/LDAP/Cached passwords up and running on laptops???

  • Another good article, but still no cigar: cyberspace709.wordpress.com/2016/08/25/… Want to know more about PAM, here's something that helped me: linux.com/news/understanding-pam – the man with only one arm May 29 '18 at 20:00
  • I have been pulling my hair out for the last week and a half on this same issue. I've tried the ldap route with no success and switched to ldapd but it comes incorporated with nscd and nslcd for caching which do not seem to work. I'll try the sssd route and get back to you if I'm successful – hanzo2001 Jul 25 '18 at 10:11
  • I started with the sssd route, got sidetracked and got halfway. Although this seems to be a viable option. – the man with only one arm Aug 6 '18 at 12:35
  • Sorry for the delay. I fell into a trap and had to switch the strategy. I have successfully cached my LDAP passwords by simply installing and configuring sssd on a clean installation of 18.04. Nothing else required. I'm sorry I can't share my configuration file at the moment but if you manage to find the solution and post it, I'll upvote you. Otherwise, I'll post my solution as soon as I have the time – hanzo2001 Aug 16 '18 at 12:07
  • It looks like sssd would really be the way to go. Any chance that you could share your configuration files and experience with it? – the man with only one arm Jan 16 at 16:51

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.