ypldap

Matthew Seaman matthew at FreeBSD.org
Tue Jun 6 18:37:44 UTC 2017


On 06/06/2017 13:09, Friedrich Locke wrote:
> Does FreeBSD ypldap support all default maps from traditional NIS ?
> I mean, does FBSD ypldap supports netgroup, aliases, bootparams, etc ....
> 
> Thanks in advance.
> 
> PS: As far as know, Openbsd only supports passwd and group maps

I believe that NIS support -- whether via ypldap(8) or the original
ypserv(8) will only provide support for:

    group
    passwd
    hosts
    services

on FreeBSD.  (All of those, except for hosts support the '+' entry in
the local files to indicate referral to NIS.)

Be aware that the NIS code is not that widely used nowadays and could
well be buggy.  Most people implementing LDAP as a password database
would instead install net/nss-pam-ldapd (or  net/nss-pam-ldapd-sasl)
which allows making LDAP lookups directly from /etc/nsswitch.conf

If you want LDAP support for /etc/mail/aliases that's best achieved by
installing a MTA from ports with LDAP support compiled in.  The ports
version of sendmail can be LDAP enabled, but I very much prefer postfix
for doing this -- it has a particularly nice and flexible configuration
syntax for looking up just about anything from LDAP or various other
databases.

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170606/e4afaacc/attachment.sig>


More information about the freebsd-questions mailing list