Reputation: 1
I need to adjust my passwd, group, netgroup, and automount in the nsswitch.conf file to be LDAP compatible. It does not allow me to manually adjust these settings and requires me to use the authselect command to adjust things.
This is the current section of nsswitch.conf I'm trying to change:
# Generated by authselect on Tue Feb 20 16:46:31 2024
# Do not modify this file manually.
# If you want to make changes to nsswitch.conf please modify
# /etc/authselect/user-nsswitch.conf and run 'authselect apply-changes'.
#
# Note that your changes may not be applied as they may be
# overwritten by selected profile. Maps set in the authselect
# profile takes always precedence and overwrites the same maps
# set in the user file. Only maps that are not set by the profile
# are applied from the user file.
#
# For example, if the profile sets:
# passwd: sss files
# and /etc/authselect/user-nsswitch.conf contains:
# passwd: files
# hosts: files dns
# the resulting generated nsswitch.conf will be:
# passwd: sss files # from profile
# hosts: files dns # from user file
passwd: files sss systemd
group: files sss systemd
netgroup: sss files
automount: sss files
services: sss files`
I have tried:
authselect select sssd
and a few of the modifiers within the command to no avail. None of what I have tried has put ldap in the passwd, group, netgroup, or automount configurations.
Does anyone have any information on how to use authselect properly change the nsswitch.conf file?
Upvotes: 0
Views: 789