Simplify nsswitch's automount database creation

This is a followup of !16 (closed). I removed the code dealing with libsss-sudo and left just the simplifications to deal with the automount database on /etc/nsswitch.conf.

I tested the package and it seems to be behaving as expected. I also verified that the proposed behaviour matches what we had pre-dh-nss transition.

Cc @gioele @tjaalton

Merge request reports

Loading