diff options
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/nssswitch.conf | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 9ce4b019d..07cff424c 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am | |||
@@ -48,6 +48,7 @@ EXTRA_DIST = \ | |||
48 | no_forcestart.conf \ | 48 | no_forcestart.conf \ |
49 | no_autostart_above_core.conf \ | 49 | no_autostart_above_core.conf \ |
50 | coverage.sh \ | 50 | coverage.sh \ |
51 | nssswitch.conf \ | ||
51 | report.sh \ | 52 | report.sh \ |
52 | terminate.py.in \ | 53 | terminate.py.in \ |
53 | gnunet_pyexpect.py.in \ | 54 | gnunet_pyexpect.py.in \ |
diff --git a/contrib/nssswitch.conf b/contrib/nssswitch.conf new file mode 100644 index 000000000..89af6471e --- /dev/null +++ b/contrib/nssswitch.conf | |||
@@ -0,0 +1,25 @@ | |||
1 | # /etc/nsswitch.conf | ||
2 | # Modified to support GNUnet's GNS (.gnu, .zkey etc) | ||
3 | # Compare with your distributions' "nsswitch.conf" file. | ||
4 | |||
5 | passwd: compat | ||
6 | shadow: compat | ||
7 | group: compat | ||
8 | |||
9 | # passwd: db files nis | ||
10 | # shadow: db files nis | ||
11 | # group: db files nis | ||
12 | |||
13 | hosts: files gns [NOTFOUND=return] dns | ||
14 | networks: files dns | ||
15 | |||
16 | services: db files | ||
17 | protocols: db files | ||
18 | rpc: db files | ||
19 | ethers: db files | ||
20 | netmasks: files | ||
21 | netgroup: files | ||
22 | bootparams: files | ||
23 | |||
24 | automount: files | ||
25 | aliases: files \ No newline at end of file | ||