mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 22:20:28 -05:00
Fix breakage
This commit is contained in:
parent
4c2e3eeda4
commit
e932093f47
3 changed files with 5 additions and 4 deletions
|
|
@ -303,7 +303,8 @@ extern Slapi_PBlock *slapi_modrdn_internal( char * olddn, char * newrdn,
|
|||
int deloldrdn, LDAPControl **controls, int log_change);
|
||||
extern char **slapi_get_supported_extended_ops(void);
|
||||
extern struct berval *slapi_int_get_supported_extop( int );
|
||||
Connection *slapi_int_init_connection(char *DN, int OpType);
|
||||
extern Connection *slapi_int_init_connection(char *DN, int OpType);
|
||||
extern void slapi_int_connection_destroy( Connection **pConn );
|
||||
|
||||
/*
|
||||
* Was: slapi_cl.h
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ slapi_int_init_connection(
|
|||
return pConn;
|
||||
}
|
||||
|
||||
static void slapi_int_connection_destroy( Connection **pConn )
|
||||
void slapi_int_connection_destroy( Connection **pConn )
|
||||
{
|
||||
Connection *conn = *pConn;
|
||||
Operation *op;
|
||||
|
|
|
|||
|
|
@ -4112,7 +4112,7 @@ int slapi_entry_rdn_values_present( const Slapi_Entry *e )
|
|||
LDAPAVA *ava = &rdn[0][i];
|
||||
Slapi_Attr *a = NULL;
|
||||
|
||||
if ( slapi_attr_entry_attr_find( e, ava->la_attr.bv_val, &a ) == 0 &&
|
||||
if ( slapi_entry_attr_find( (Slapi_Entry *)e, ava->la_attr.bv_val, &a ) == 0 &&
|
||||
slapi_attr_value_find( a, &ava->la_value ) == 0 )
|
||||
match++;
|
||||
}
|
||||
|
|
@ -4147,7 +4147,7 @@ int slapi_entry_add_rdn_values( Slapi_Entry *e )
|
|||
LDAPAVA *ava = &rdn[0][i];
|
||||
Slapi_Attr *a = NULL;
|
||||
|
||||
if ( slapi_attr_entry_attr_find( e, ava->la_attr.bv_val, &a ) == 0 &&
|
||||
if ( slapi_entry_attr_find( e, ava->la_attr.bv_val, &a ) == 0 &&
|
||||
slapi_attr_value_find( a, &ava->la_value ) == 0 )
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue