From: Kurt Zeilenga Date: Wed, 11 Aug 1999 17:04:49 +0000 (+0000) Subject: Need ref attribute type as well. X-Git-Tag: OPENLDAP_REL_ENG_1_2_7~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3844a51c7796fa530a5e9c8ac003e100574d96c1;p=thirdparty%2Fopenldap.git Need ref attribute type as well. --- diff --git a/servers/slapd/back-ldbm/init.c b/servers/slapd/back-ldbm/init.c index f0ae9fb777..62ef472ec6 100644 --- a/servers/slapd/back-ldbm/init.c +++ b/servers/slapd/back-ldbm/init.c @@ -53,10 +53,10 @@ ldbm_back_init( argv[ 2 ] = NULL; attr_syntax_config( "ldbm dn initialization", 0, 2, argv ); argv[ 0 ] = "dn"; - argv[ 1 ] = "sub"; - argv[ 2 ] = "eq"; + argv[ 1 ] = ch_strdup( "sub,eq" ); argv[ 3 ] = NULL; - attr_index_config( li, "ldbm dn initialization", 0, 3, argv, 1 ); + attr_index_config( li, "ldbm dn initialization", 0, 2, argv, 1 ); + free( argv[ 1 ] ); argv[ 0 ] = "id2children"; argv[ 1 ] = "eq"; argv[ 2 ] = NULL; diff --git a/servers/slapd/slapd.at.conf b/servers/slapd/slapd.at.conf index c3c8b136b0..01451706ff 100644 --- a/servers/slapd/slapd.at.conf +++ b/servers/slapd/slapd.at.conf @@ -3,6 +3,7 @@ attribute personalsignature bin attribute jpegphoto bin attribute audio bin attribute labeledurl ces +attribute ref ces attribute userpassword ces attribute telephonenumber tel attribute facsimiletelephonenumber fax tel