Re: Connecting to Sun DS 5.2 and 6.1 using IPv6 address

venu <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <dd45c88c-e52a-4ff2-9ae8-7638f3908f7a@z72g2000hsb.googlegroups.com>
On Jul 7, 3:40 pm, Anton Bobrov <[email protected]> wrote:
> usehttp://developer.mozilla.org/en/docs/PR_GetError
> to get NSPR error, also have a look athttp://developer.mozilla.org/en/docs/NSPR_API_Reference:NSPR_Error_Ha...
> for more info. regarding the server configuration
> please refer to related docs, i cant help you there.
>
>
>
> venu wrote:
> > On Jul 7, 12:41 pm, Anton Bobrov <[email protected]> wrote:
> >> check the arguments, check for errors with perror, here is
> >> correct usage as defined in related header file, which you
> >> should have with in your copy of C-SDK as well :http://lxr.mozilla.org/mozilla/source/directory/c-sdk/ldap/include/ld...
>
> >> venu wrote:
> >>> Thanks for the reply, Anton. i have used prldap_init() as well but
> >>> then it doesnt connect even with ipv4 address.
> >>> Is this the correct way to use prldap_init():
> >>> prldap_init(argv[1], ldap_port, 0);
> >>> ldap_simple_bind_s(ld, "cn=directory manager", "admin1234");- Hide quoted text -
> >> - Show quoted text -
>
> > prldap_init() succeeds. ldap_simple_bind_s() fails with the same
> > error:
> > Can't connect to the LDAP server
>
> > Do I need to do/enable/change something at the directory server side
> > so that it listens on ipv6 address?
> > _______________________________________________
> > dev-tech-ldap mailing list
> > [email protected]
> >https://lists.mozilla.org/listinfo/dev-tech-ldap- Hide quoted text -
>
> - Show quoted text -

Using ldap_init() with IPv6 address on AIX works fine.
Does Sun DS (5.2 and 6.1) support IPv6 on Windows? I could not find
any information regarding that.

Also on Windows, using prldap_init() with IPv6 address causes
ldap_simple_bind_s() to fail with the error:
PR_CONNECT_REFUSED_ERROR
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.