From 1b87897a086bbfcd621cfdba35b4890f1ece3e83 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Thu, 12 Mar 2009 22:12:59 +0000 Subject: 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 --- ldap/admin/src/scripts/FileConn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldap/admin/src/scripts') diff --git a/ldap/admin/src/scripts/FileConn.pm b/ldap/admin/src/scripts/FileConn.pm index 2ed0fe2d..fe5acb5c 100644 --- a/ldap/admin/src/scripts/FileConn.pm +++ b/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}); } ############################################################################# -- cgit