assert( val != NULL );
 
-       BER_BVZERO( *val );
+       *val = NULL;
 
        ber_init2( ber, NULL, LBER_USE_DER );
 
-#ifdef TODO
        (void)ber_printf( ber, "{is" /*}*/ , resultCode, diagnosticMessage ? diagnosticMessage : "" );
-#else
-       (void)ber_printf( ber, "{" /*}*/ );
-#endif
 
        if ( conn ) {
                struct berval cookie;
                ber_printf( ber, "tO", LDAP_TAG_EXOP_VERIFY_CREDENTIALS_SCREDS, servercred ); 
        }
 
+#if 0
        if ( authzid ) {
                ber_printf( ber, "tO", LDAP_TAG_EXOP_VERIFY_CREDENTIALS_AUTHZID, authzid ); 
        }
+#endif
 
-#ifdef TODO
        if ( ctrls ) {
                int c;
 
                rc = ber_printf( ber, /*{*/"N}" );
                if ( rc == -1 ) goto done;
        }
-#endif
 
        ber_printf( ber, /*{*/ "}" );
 
                        "%s VERIFYCREDENTIALS", op->o_log_prefix );
        }
 
-#ifdef TODO
        /* TODO: controls */
        tag = ber_peek_tag( ber, &len );
        if ( tag == LDAP_TAG_EXOP_VERIFY_CREDENTIALS_CONTROLS ) {
                        goto done;
                }
        }
-#endif
 
        tag = ber_skip_tag( ber, &len );
        if ( len || tag != LBER_DEFAULT ) {