3

I see the following configuration in /etc/nsswitch.conf:

shadow:     files [NOTFOUND=continue] ldap

Is there any purpose to the [NOTFOUND=continue] action? Isn't this functionally the same as the following configuration, which is far more common:

shadow:     files ldap
Stefan Lasiewski
  • 22,949
  • 38
  • 129
  • 184

1 Answers1

3

Slightly different - it means it will only continue if the account was not found.

If the account is present in the file, but an invalid password was supplied - then the trail stops there.

thinice
  • 4,676
  • 20
  • 38