+/* $OpenLDAP$ */
/*
* Copyright 1999, John C. Quillan, All rights reserved.
*
Backend *be,
Connection *conn,
Operation *op,
- char *dn,
+ const char *dn,
+ const char *ndn,
Ava *ava
)
{
PerlBackend *perl_back = (PerlBackend *)be->be_private;
- send_ldap_result( conn, op, LDAP_NOT_SUPPORTED,
- "", "not yet implemented" );
+ send_ldap_result( conn, op, LDAP_UNWILLING_TO_PERFORM,
+ NULL, "not supported", NULL, NULL );
#ifdef notdef
- pthread_mutex_lock( &perl_interpreter_mutex );
+ ldap_pvt_thread_mutex_lock( &perl_interpreter_mutex );
{
dSP; ENTER; SAVETMPS;
PUSHMARK(sp);
- XPUSHs( perl_back->obj_ref );
+ XPUSHs( perl_back->pb_obj_ref );
XPUSHs(sv_2mortal(newSVpv( dn , 0)));
/* XPUSHs(sv_2mortal(newSVpv( cred->bv_val , cred->bv_len))); */
PUTBACK;
PUTBACK; FREETMPS; LEAVE;
}
- pthread_mutex_unlock( &perl_interpreter_mutex );
+ ldap_pvt_thread_mutex_unlock( &perl_interpreter_mutex );
if( return_code != 0 ) {
- send_ldap_result( conn, op, LDAP_COMPARE_TRUE, "", "" );
+ send_ldap_result( conn, op, LDAP_COMPARE_TRUE, NULL, NULL );
} else {
- send_ldap_result( conn, op, LDAP_COMPARE_FALSE, "", "" );
+ send_ldap_result( conn, op, LDAP_COMPARE_FALSE, NULL, NULL );
}
#endif