Re: Will prldap_init() do any DNS query?
Rich Megginson <[email protected]> Wed, 17 Jun 2009 07:59:00 -0600
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jun 17, 2009 at 2:25 AM, Xu, Qiang (FXSGSC)<[email protected]> wrote: > Hi, all: > > I am just thinking of a question. > > If the first parameter to be passed into prldap_init() is a hostname, when will DNS resolve it to IP address? Will DNS query happens in ldap_simple_bind_s() in case of simple binding, and in ldap_sasl_interactive_bind_ext_s() in case of sasl binding, or it just happens in prldap_init()? I think prldap_init doesn't actually do very much. The usual LDAP semantics are to wait until an actual network connection is required before doing any network stuff, including DNS lookups. > > Thanks, > Xu Qiang > _______________________________________________ > dev-tech-ldap mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-tech-ldap > > >