nsswitch.conf man page

sgmayo at mail.bloomfield.k12.mo.us sgmayo at mail.bloomfield.k12.mo.us
Thu Jul 17 14:24:40 UTC 2008


Dan Nelson wrote:
> In the last episode (Jul 16), sgmayo at mail.bloomfield.k12.mo.us said:
>> I don't see anything in the man page about adding ldap into the
>> nsswitch.conf file.  Is that something that I can do so that I can
>> get applications to use my openldap?
>>
>> I would assume I could add something to the affect of:
>>
>> passwd files ldap
>> group files ldap
>>
>> but all I see is compat, files, nis and dns for options.
>
> The manpage only lists the builtin sources.  If a builtin source with
> the specified name isn't found, the code will search for an
> nss_xxxx.so.1 shared object and load that.  So once you install the
> nss_ldap port, then the ldap source will start working.  Also consider
> enabling nscd and adding the "cache" source before your "ldap" source.
> ldap group memership queries are slow :)

What about the files that it checks?  From the other post and from other
things that I have seen, I will see this line:

shadow: files ldap

Is there a total list of things like shadow, group, passwd, etc. that I
can see?  It does not mention but a few int he manpage.

Thanks.

-- 
Scott Mayo - System Administrator
Bloomfield Schools
PH: 573-568-5669  FA: 573-568-4565

Question: Because it reverses the logical flow of conversation.
Answer: Why is putting a reply at the top of the message frowned upon?



More information about the freebsd-questions mailing list