From 7d013373cc8c03e6372fb7b1b8e6921012484a26 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 11 Apr 2013 14:42:07 +0000
Subject: [PATCH] Imported the latest sample config file from Rest2LDAP
---
opendj-sdk/opends/resource/config/http-config.json | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/opendj-sdk/opends/resource/config/http-config.json b/opendj-sdk/opends/resource/config/http-config.json
index 422fd95..743d308 100644
--- a/opendj-sdk/opends/resource/config/http-config.json
+++ b/opendj-sdk/opends/resource/config/http-config.json
@@ -134,12 +134,13 @@
// The REST APIs and their LDAP attribute mappings.
"mappings" : {
"/users" : {
- "baseDN" : "ou=people,dc=example,dc=com",
- "readOnUpdatePolicy" : "controls",
- "useSubtreeDelete" : true,
- "etagAttribute" : "etag",
- "namingStrategy" : {
- "strategy" : "clientDNNaming",
+ "baseDN" : "ou=people,dc=example,dc=com",
+ "readOnUpdatePolicy" : "controls",
+ "useSubtreeDelete" : false,
+ "usePermissiveModify" : true,
+ "etagAttribute" : "etag",
+ "namingStrategy" : {
+ "strategy" : "clientDNNaming",
"dnAttribute" : "uid"
},
"additionalLDAPAttributes" : [
@@ -192,12 +193,13 @@
}
},
"/groups" : {
- "baseDN" : "ou=groups,dc=example,dc=com",
- "readOnUpdatePolicy" : "controls",
- "useSubtreeDelete" : true,
- "etagAttribute" : "etag",
- "namingStrategy" : {
- "strategy" : "clientDNNaming",
+ "baseDN" : "ou=groups,dc=example,dc=com",
+ "readOnUpdatePolicy" : "controls",
+ "useSubtreeDelete" : false,
+ "usePermissiveModify" : true,
+ "etagAttribute" : "etag",
+ "namingStrategy" : {
+ "strategy" : "clientDNNaming",
"dnAttribute" : "cn"
},
"additionalLDAPAttributes" : [
--
Gitblit v1.10.0