Hi, I’m thinking loudly
I used to authenticate on all web applications with the user admin who has died recently in NS7, indeed, now we authenticate with root in the server-manager.
Therefore when I code a module and I want to authenticate I could have some different approaches
- Use an admin@yourdomain with ‘yourdomain’ is relevant (a sssd authentication)
- Use a specific user for each webapp with a password that you can find in /varlib/nethserver/secrets (or in a database property eventually)
- Use a user for all the webapp which the password is set in /varlib/nethserver/secrets (or in a database property eventually)
I personally do prefer the first solution (create a user admin@yourdomain manually in the user panel), except if I can authenticate with the root user, but I believe that the users with an uid inferior to 1000 are not available in sssd.