Re: Service that runs with network credentials

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 04.12.19 23:18, Kenneth Porter (shiva@xxxxxxxxxxxxxxx) wrote:

> What's the best practice for defining a service that might require network
> credentials to run? Are there example unit files that do this? How does one
> set up the dependencies to access an LDAP or Active Directory server, for
> example?

I am not sure what "network credentials" is supposed to mean, but the
assumption is that network user/group naming services such as
LDAP/NIS/AD/… are set up properly as soon as nss-user-lookup.target is
reached. i.e. such infrastructure should be ordered before it so that
services requiring users/groups from this source to be resolvable can
be ordered after it.

This means, system services that need such users cannot run in early
boot, but only in late boot, with that target acting as boundary to
the front.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux