How to use ldap client on Ubuntu core system?

Hello,

I‘d like to know how to use ldap client on Ubuntu core system to authenticate users.

On Ubuntu 18.04 TLS, I can install ldap packages and configure PAM to use Unix Authentication and LDAP Authentication

But on Ubuntu core, I don’t know how to install ldap packages. Modifying PAM file and other configuration files in /etc is also a problem because of AppArmor.

What is the right way to use ldap client on Ubuntu core system? Should I pack the ldap client into an application snap and forget PAM?

Thanks

yes, this is exactly what you should do :slight_smile: