summaryrefslogtreecommitdiffstats
path: root/ldap/admin/src/scripts/DialogManager.pm
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-01-29 17:27:52 -0800
committerNoriko Hosoi <nhosoi@redhat.com>2010-01-29 17:27:52 -0800
commit1378b056d9662a5667e86f3834e0d82c1610e6a6 (patch)
treeda3d46ed2e899fac0aab47661fcf0ace4490be63 /ldap/admin/src/scripts/DialogManager.pm
parent246527f4c01d32289e0082083d364563af59635a (diff)
559016 - Attempting to rename suffix returns inappropriate errors
https://bugzilla.redhat.com/show_bug.cgi?id=559016 [Fix Description] If the target dn of the modrdn operation is a suffix, check if the new dn already exists or not. If it exists, it returns LDAP_ALREADY_EXISTS. If the backend associated with the new dn does not exist, it returns LDAP_NO_SUCH_OBJECT. Otherwise, it returns LDAP_NAMING_VIOLATION. If the target dn of the modrdn is attempted to move across backends, it returns LDAP_AFFECTS_MULTIPLE_DSAS instead of LDAP_UNWILLING_TO_PERFORM. Modrdn (op_shared_rename) was logging the parameter errors in the clients request as SLAPI_LOG_FATAL. Reduced the level to SLAPI_LOG_ARGS. Also, replaced ldap_explode_dn with slapi_dn_syntax_check to verify the newsuperior. By the replacement, 2 bugs in slapi_dn_syntax_check were found. 1) The key for the DN in the hashtable of the attribute syntax has to be "distinguishedName". 2) Argument type for plg_syntax_validate was not correct.
Diffstat (limited to 'ldap/admin/src/scripts/DialogManager.pm')
0 files changed, 0 insertions, 0 deletions