C language function:ldap_init sample codes

Search sample code in the internet.It is the result.


TITLE : How to Tune Oracle Directory Server for Policy ... | CA Communities
ldap_init( 0.0.0.0, 3898 ).......
http://communities.ca.com/docs/DOC-231148987


TITLE : Chapter 3 Writing an LDAP Client
if ( (ld = ldap_init( HOSTNAME, PORTNUMBER )) == NULL ) {.......
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
To initialize a single LDAP session, call ldap_init() and pass the host name and port number of your LDAP server as arguments to the function. If the server is using the default port 389 for the LDAP, you can pass LDAP_PORT as the value for the defport parameter as illustrated in Code Example 3-2........
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
ld = ldap_init( "directory.iplanet.com", LDAP_PORT );.......
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
If successful, ldap_init() returns a connection handle (a pointer to the LDAP structure that contains information about the connection) to the LDAP server. You need to pass this pointer to the API for connecting, authenticating, and performing LDAP operations on a server. For example, when you call a function to search the directory, you need to pass the connection handle as a parameter to provide a context for the connection........
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
ldap_init() does not open a connection to the LDAP server. The actual connection opening will occur when the first operation is attempted........
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
ld = ldap_init( "ld1.example.com ld2.example2.com.......
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
If any of the servers do not use the default LDAP port, use the host:port format to specify the server name and port number as the argument to ldap_init(). In Code Example 3-4, the client will attempt to connect to the LDAP server on ld1.example.com, port 389. If that server does not respond, the client will attempt to connect to the LDAP server on ld2.example.com, port 38900........
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
ld = ldap_init( "ld1.example.com ld2.example.com:38900",.......
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
Note that ldap_init() does not connect to the LDAP server right away........
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
if ( ( ld = ldap_init( ldap_host, ldap_default_port ) ) == NULL ) {.......
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : Chapter 3 Writing an LDAP Client
if ( (ld = ldap_init( HOSTNAME, PORTNUMBER )) == NULL ) {.......
http://docs.oracle.com/cd/E19957-01/817-6707/writing.html
TITLE : P al.indd - PDF
GINA LDAP GINA-LDAP GINA WlxLoggedOutSAS LDAP LDAP *ld; int version; int status; LDAPMessage *result, *e; version = LDAP_VERSION3; ld = ldap_init("133.**.**.**",ldap_port); if(ld==null) return 0; ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &version); status = ldap_simple_bind_s(ld,"cn=manager,dc=sample,dc=net","passwd"); if(status!= LDAP_SUCCESS)return 0; LDAP Windows ID GINA-LDAP Windows LDAP Samba-LDAP Windows.......
http://docsplayer.net/22689499-P168-189-・97E蟶E・87E・9CE蠕。・E・E-indd.html
TITLE : LDAP: A Sophisticated Directory Service (Perl for System Administration)
With Mozilla::LDAP::Conn, the creation of a new connection object also binds to the server. In Net::LDAP this is a two-step process. To initialize a connection without performing a bind in Mozilla::LDAP, you'll need to use a function (ldap_init( )) from the non-object-oriented Mozilla::LDAP::API module........
http://docstore.mik.ua/orelly/perl/sysadmin/ch06_04.htm
TITLE : ad_ldaptest.c - tests connecting to a Active Directory LDAP server
if ( (ldap = ldap_init(ldap_host, ldap_port)) == NULL ) {.......
http://fm4dd.com/programming/c-code/ad_ldaptest_c.htm
TITLE : ProFTPD: README.LDAP | Fossies
* Fixed missing ldap_init() -> ldap_initialize() when updating for latest.......
http://fossies.org/linux/proftpd/README.LDAP
TITLE : GitHub - proftpd/mod_ldap: ProFTPD module for LDAP authentication
* Fixed missing ldap_init() -> ldap_initialize() when updating for latest.......
http://github.com/proftpd/mod_ldap
TITLE : ~jwm/ : Software : mod_ldap_userdir
* Missed ldap_init() -> ldap_initialize() change when making changes to.......
http://horde.net/~jwm/software/mod_ldap_userdir/
TITLE : Karellen's Unix Blog: LDAP for Solaris 10
ldap_init( 192.168.1.75, 389 ).......
http://karellen.blogspot.com/2011/12/ldap-for-solaris-10.html
TITLE : ldap_sasl_bind_s(3): LDAP bind routines - Linux man page
These routines provide various interfaces to the LDAP bind operation. After an association with an LDAP server is made using ldap_init(3), an LDAP bind operation should be performed before other operations are attempted over the connection. An LDAP bind is required when using Version 2 of the LDAP protocol; it is optional for Version 3 but is usually needed due to security considerations........
http://linux.die.net/man/3/ldap_sasl_bind_s
TITLE : ldap_sasl_bind_s(3): LDAP bind routines - Linux man page
SASL (Simple Authentication and Security Layer) that can negotiate one of many different kinds of authentication. Both synchronous and asynchronous versions of each variant of the bind call are provided. All routines take ld as their first parameter, as returned from ldap_init(3)........
http://linux.die.net/man/3/ldap_sasl_bind_s
TITLE : ldap_open function (Windows)
pLdapConnection = ldap_init(hostName, LDAP_PORT);.......
http://msdn.microsoft.com/en-us/library/aa366106(v=vs.85).aspx
TITLE : ldap_init function (Windows)
LDAP* ldap_init(.......
http://msdn.microsoft.com/ja-jp/library/windows/desktop/aa366938(v=vs.85).aspx
TITLE : Recipe language - Messaging Server Technical Reference Wiki
The ldap_init(o) function initializes the built in LDAP client. It must be called prior to using any of the other recipe language ldap_* functions........
http://msg.wikidoc.info/index.php/Recipe_language
TITLE : Oracle Internet Directory OID - Oracle Trainings for Apps & Fusion DBA
ldap_init( localhost, 389 ).......
http://onlineappsdba.com/index.php/2006/12/04/oracle-internet-directory-oid/
TITLE : Active Directory/Connect - Rosetta Code
#include ...char *name, *password;...LDAP *ld = ldap_init("ldap.somewhere.com", 389);ldap_simple_bind_s(ld, name, password);... after done with it...ldap_unbind(ld);.......
http://rosettacode.org/wiki/Active_Directory/Connect
search Google

https://www.google.com/#q=ldap_init