Просмотр исходного кода

Resolves: bug 480869
Description: Bug 480869 - DS console: Can not delete DS instance
Fix Description: Create instance was broken, so no instances could be created for purposes of deletion. Create instance was printing the following error:
Unable to find Pass Through Authentication Plug-In config entry.
This is because the search for this entry in AdminUtil.pm was getting an incorrect error message - something other than "Success"
This is because the FileConn->getErrorString() method was returning "0" instead of "Success".
Platforms tested: RHEL4

Rich Megginson 16 лет назад
Родитель
Сommit
1b87897a08
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      ldap/admin/src/scripts/FileConn.pm

+ 1 - 1
ldap/admin/src/scripts/FileConn.pm

@@ -213,7 +213,7 @@ sub getErrorCode {
 
 sub getErrorString {
     my $self = shift;
-    return ($self->{lastErrorCode} ? ldap_err2string($self->{lastErrorCode}) : LDAP_SUCCESS);
+    return ldap_err2string($self->{lastErrorCode});
 }
 
 #############################################################################