perl-5.22
Last change
on this file since f9ce31e was
c5c522c,
checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago
|
initial commit, transferred from cleaned syn3 svn tree
|
-
Property mode set to
100755
|
File size:
1.2 KB
|
Rev | Line | |
---|
[c5c522c] | 1 | #ident $Id: nsswitch.conf 2134 2005-12-12 15:10:36Z edwin $ |
---|
| 2 | # |
---|
| 3 | # An example file that could be copied over to /etc/nsswitch.conf; it |
---|
| 4 | # uses LDAP conjunction with files. |
---|
| 5 | # |
---|
| 6 | # "hosts:" and "services:" in this file are used only if the |
---|
| 7 | # /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports. |
---|
| 8 | |
---|
| 9 | # the following two lines obviate the "+" entry in /etc/passwd and /etc/group. |
---|
| 10 | passwd: files ldap |
---|
| 11 | group: files ldap |
---|
| 12 | |
---|
| 13 | # consult DNS first, we will need it to resolve the LDAP host. (If we |
---|
| 14 | # can't resolve it, we're in infinite recursion, because libldap calls |
---|
| 15 | # gethostbyname(). Careful!) |
---|
| 16 | hosts: files dns |
---|
| 17 | |
---|
| 18 | # LDAP is nominally authoritative for the following maps. |
---|
| 19 | services: files ldap |
---|
| 20 | networks: ldap [NOTFOUND=return] files |
---|
| 21 | protocols: files ldap |
---|
| 22 | rpc: files ldap |
---|
| 23 | ethers: files ldap |
---|
| 24 | |
---|
| 25 | # no support for netmasks, bootparams, publickey yet. |
---|
| 26 | netmasks: files |
---|
| 27 | bootparams: files |
---|
| 28 | publickey: files |
---|
| 29 | automount: files |
---|
| 30 | |
---|
| 31 | # I'm pretty sure nsswitch.conf is consulted directly by sendmail, |
---|
| 32 | # here, so we can't do much here. Instead, use bbense's LDAP |
---|
| 33 | # rules ofr sendmail. |
---|
| 34 | aliases: files |
---|
| 35 | sendmailvars: files |
---|
| 36 | |
---|
| 37 | # Note: there is no support for netgroups on Solaris (yet) |
---|
| 38 | netgroup: ldap [NOTFOUND=return] files |
---|
Note: See
TracBrowser
for help on using the repository browser.