2021-03-02 14:18:55 +01:00
|
|
|
Index: glibc-2.33/nss/nsswitch.c
|
2020-05-19 12:03:06 +02:00
|
|
|
===================================================================
|
2021-03-02 14:18:55 +01:00
|
|
|
--- glibc-2.33.orig/nss/nsswitch.c
|
|
|
|
+++ glibc-2.33/nss/nsswitch.c
|
|
|
|
@@ -126,6 +126,10 @@ __nss_database_lookup2 (const char *data
|
|
|
|
/* Read config file. */
|
|
|
|
service_table = nss_parse_file (_PATH_NSSWITCH_CONF);
|
|
|
|
|
|
|
|
+ /* Retry with the OS vendor provided config file. */
|
|
|
|
+ if (service_table == NULL)
|
|
|
|
+ service_table = nss_parse_file ("/usr" _PATH_NSSWITCH_CONF);
|
|
|
|
+
|
|
|
|
/* Test whether configuration data is available. */
|
|
|
|
if (service_table != NULL)
|
|
|
|
{
|