4

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
  • 23,667
  • 41
  • 132
  • 186

1 Answers1

4

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,716
  • 21
  • 38