From 6469f164a8c6a4914807f81236d8d28eb2c638e9 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 21 Jan 2003 15:21:55 +0000 Subject: [PATCH] Allow coalesce pblock types. Take care with pblock values that need to be duplicated --- servers/slapd/slapi/slapi_pblock.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/servers/slapd/slapi/slapi_pblock.c b/servers/slapd/slapi/slapi_pblock.c index 204468dc27..786f9cc9ea 100644 --- a/servers/slapd/slapi/slapi_pblock.c +++ b/servers/slapd/slapi/slapi_pblock.c @@ -196,6 +196,8 @@ isOkNetscapeParam( int param ) case SLAPI_RESULT_CODE: case SLAPI_RESULT_TEXT: case SLAPI_RESULT_MATCHED: + case SLAPI_PLUGIN_OPATTR_COALESCE_FN: + case SLAPI_PLUGIN_OPATTR_COALESCE_DATA: return LDAP_SUCCESS; default: return INVALID_PARAM; @@ -413,9 +415,11 @@ slapi_pblock_set( Slapi_PBlock *pb, int arg, void *value ) switch ( arg ) { case SLAPI_CONN_DN: - case SLAPI_CONN_AUTHTYPE: + case SLAPI_CONN_AUTHMETHOD: case SLAPI_IBM_CONN_DN_ALT: case SLAPI_IBM_CONN_DN_ORIG: + case SLAPI_RESULT_TEXT: + case SLAPI_RESULT_MATCHED: if ( value != NULL ) { pTmp = (void *)slapi_ch_strdup((char *)value); if ( pTmp == NULL ) { -- 2.39.5