Lines Matching defs:dn
51 static int dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls );
57 fprintf( stderr, gettext("usage: %s [options] [dn...]\n"), ldaptool_progname );
161 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls )
166 printf( gettext("%sdeleting entry %s\n"), ldaptool_not ? "!" : "", dn );
170 } else if (( rc = ldaptool_delete_ext_s( ld, dn, serverctrls, NULL,
182 dodelete( LDAP *ld, char *dn, LDAPControl **serverctrls )
190 printf( gettext("%sdeleting entry %s\n"), ldaptool_not ? "!" : "", dn );
198 if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_SUBTREE, my_filter, NULL, 0, &result )) != LDAP_SUCCESS ) {
203 if ( ( dn = ldap_get_dn( ld, e ) ) != NULL ) {
205 datalist->data = dn;