profiles: include "systemd" in shadow + gshadow nsswitch.conf lines by poettering · Pull Request #380 · authselect/authselect · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions profiles/local/nsswitch.conf
4 changes: 2 additions & 2 deletions profiles/nis/nsswitch.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# In order of likelihood of use to accelerate lookup.
passwd: files {if "with-altfiles":altfiles }nis systemd
shadow: files nis
shadow: files nis systemd
group: files [SUCCESS=merge] {if "with-altfiles":altfiles [SUCCESS=merge] }nis [SUCCESS=merge] systemd
hosts: files myhostname {if "with-libvirt":libvirt libvirt_guest }{if "with-mdns4" and "with-mdns6":mdns_minimal [NOTFOUND=return] }{if "with-mdns4" and not "with-mdns6":mdns4_minimal [NOTFOUND=return] }{if not "with-mdns4" and "with-mdns6":mdns6_minimal [NOTFOUND=return] }resolve [!UNAVAIL=return] nis dns
services: files nis
Expand All @@ -9,7 +9,7 @@ automount: files nis

aliases: files nis
ethers: files nis
gshadow: files nis
gshadow: files nis systemd
networks: files nis dns
protocols: files nis
publickey: files nis
Expand Down
4 changes: 2 additions & 2 deletions profiles/sssd/nsswitch.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# In order of likelihood of use to accelerate lookup.
passwd: {if "with-tlog":sss }files {if "with-altfiles":altfiles }{if not "with-tlog":sss }systemd
shadow: files
shadow: files systemd
group: {if "with-tlog":sss [SUCCESS=merge] }files [SUCCESS=merge] {if "with-altfiles":altfiles [SUCCESS=merge] }{if not "with-tlog":sss [SUCCESS=merge] }systemd
hosts: files myhostname {if "with-libvirt":libvirt libvirt_guest }{if "with-mdns4" and "with-mdns6":mdns_minimal [NOTFOUND=return] }{if "with-mdns4" and not "with-mdns6":mdns4_minimal [NOTFOUND=return] }{if not "with-mdns4" and "with-mdns6":mdns6_minimal [NOTFOUND=return] }resolve [!UNAVAIL=return] dns
services: files sss
Expand All @@ -11,7 +11,7 @@ subid: sss {include if "with-subid"}

aliases: files
ethers: files
gshadow: files
gshadow: files systemd
networks: files dns
protocols: files
publickey: files
Expand Down
4 changes: 2 additions & 2 deletions profiles/winbind/nsswitch.conf