[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE:



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of
ChaseDane@netscape.net

> We're trying to minimize our dependancy on a fully populated
> /etc/host file.
>
> We have peer-to-peer, local group-grope, and hierarchy references.
>
> Each computer uses IP over low bandwidth radio, where UDP is
> favored over TCP
> (analogous to a radio broadcast versus establishing sucessive
> 1-1 connections.)
>
> Any chance someone has looked at using <nsswitch.conf> host: file ldap
> (RedHat 7.2) such that all communications are connectionless UDP?
>
> If not, we'd love to hack at it ourselves.  Guidelines?  Suggestions?

Just use
	host: file dns

and forget about LDAP here. DNS was desgined from the beginning as a host
lookup service, that what it's best at, *and* it is already UDP based.

Use the right tool for the job.

If you really insist on using LDAP, there is some support for LDAP search via
UDP in some versions of OpenLDAP. It was removed at one point, and I
resurrected it again when I needed some ActiveDirectory emulation features.
This code is not enabled by default, and hasn't been officially supported in
quite a long time. There is no configure switch to turn it on, you just need
to add "-DLDAP_CONNECTIONLESS" to your CPPFLAGS when building the package.
Then URIs of the form "cldap://host/basedn"; will work.

Anyway, you should just use DNS.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support