Lines Matching refs:LDAP

29  * code that is shared by two or more of the LDAP command line tools
73 static int wait4result( LDAP *ld, int msgid, struct berval **servercredp,
75 static int parse_result( LDAP *ld, LDAPMessage *res,
155 fprintf( stderr, gettext(" -d level\tset LDAP debugging level to `level'\n") );
161 fprintf( stderr, gettext(" -0\t\tignore LDAP library version mismatches\n") );
280 * the LDAP tools.
281 * Handle options that are common to all of the LDAP tools.
333 * Perform a sanity check on the revision of the LDAP API library to
353 fprintf( stderr, gettext("%s: unable to retrieve LDAP library version"
354 " information;\n\tthis program requires an LDAP library that"
355 " implements revision\n\t%d or greater of the LDAP API.\n"),
361 fprintf( stderr, gettext("%s: this program requires an LDAP library that"
362 " implements revision\n\t%d or greater of the LDAP API;"
369 fprintf( stderr, gettext("%s: this program requires %s's LDAP\n"
380 fprintf( stderr, gettext("%s: this program requires %s's LDAP\n"
424 case 'n': /* do Not do any LDAP operations */
619 fprintf( stderr, gettext("%s: LDAP protocol version %d is not "
661 case '0': /* zero -- override LDAP library version check */
895 fprintf( fp, gettext("LDAP Library Information -\n"
897 " LDAP API revision: %d\n"
905 fputs( gettext(" LDAP API Extensions:\n"), fp );
1024 * initialize and return an LDAP session handle.
1027 LDAP *
1030 LDAP *ld = NULL;
1055 * Initialize security libraries and databases and LDAP session. If
1172 * perform a bind to the LDAP server if needed.
1176 ldaptool_bind( LDAP *ld )
1218 * do the bind, backing off one LDAP version if necessary
1280 * try again, backing off one LDAP version
1316 ldaptool_cleanup( LDAP *ld )
1330 * Retrieve and print an LDAP error message. Returns the LDAP error code.
1333 ldaptool_print_lderror( LDAP *ld, char *msg, int check4ssl )
1373 * Returns an LDAP error code (from the extended result).
1376 ldaptool_print_extended_response( LDAP *ld, LDAPMessage *res, char *msg )
1415 ldaptool_sasl_bind_s( LDAP *ld, const char *dn, const char *mechanism,
1441 ldaptool_simple_bind_s( LDAP *ld, const char *dn, const char *passwd,
1458 ldaptool_add_ext_s( LDAP *ld, const char *dn, LDAPMod **attrs,
1485 ldaptool_modify_ext_s( LDAP *ld, const char *dn, LDAPMod **mods,
1506 ldaptool_delete_ext_s( LDAP *ld, const char *dn, LDAPControl **serverctrls,
1526 int ldaptool_compare_ext_s( LDAP *ld, const char *dn, const char *attrtype,
1548 ldaptool_rename_s( LDAP *ld, const char *dn, const char *newrdn,
1568 * Returns an LDAP error code.
1571 wait4result( LDAP *ld, int msgid, struct berval **servercredp, char *msg )
1604 parse_result( LDAP *ld, LDAPMessage *res, struct berval **servercredp,
1726 ldaptool_create_proxyauth_control( LDAP *ld )
1751 ldaptool_create_geteffectiveRights_control ( LDAP *ld, const char *authzid,
1921 * callback function for LDAP bind credentials
1926 get_rebind_credentials( LDAP *ld, char **whop, char **credp,
2650 * reporting LDAP error code is more important than