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

Anton Bobrov <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Organization Sun Microsystems, Inc.
Message-ID <[email protected]>
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/ldappr.h#52

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");
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.