فهرست منبع

Ticket #277 - cannot set repl referrals or state

https://fedorahosted.org/389/ticket/277
Resolves: Ticket #277
Bug Description: cannot set repl referrals or state
Reviewed by: nhosoi (Thanks!)
Branch: master
Fix Description: Use slapi_sdn_get_udn(root) to get the raw DN string
to pass to slapi_create_dn_string - will save a normalization if
root is not normalized.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
Rich Megginson 14 سال پیش
والد
کامیت
43ec9daa67
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      ldap/servers/slapd/mapping_tree.c

+ 2 - 2
ldap/servers/slapd/mapping_tree.c

@@ -2910,7 +2910,7 @@ slapi_get_mapping_tree_node_configdn (const Slapi_DN *root)
 
     /* This function converts the old DN style to the new one. */
     dn = slapi_create_dn_string("cn=\"%s\",%s", 
-                                slapi_sdn_get_ndn(root), MAPPING_TREE_BASE_DN);
+                                slapi_sdn_get_udn(root), MAPPING_TREE_BASE_DN);
     if (NULL == dn) {
         LDAPDebug1Arg(LDAP_DEBUG_ANY,
                       "slapi_get_mapping_tree_node_configdn: "
@@ -2937,7 +2937,7 @@ slapi_get_mapping_tree_node_configsdn (const Slapi_DN *root)
 
     /* This function converts the old DN style to the new one. */
     dn = slapi_create_dn_string("cn=\"%s\",%s", 
-                                slapi_sdn_get_dn(root), MAPPING_TREE_BASE_DN);
+                                slapi_sdn_get_udn(root), MAPPING_TREE_BASE_DN);
     if (NULL == dn) {
         LDAPDebug1Arg(LDAP_DEBUG_ANY,
                       "slapi_get_mapping_tree_node_configsdn: "