Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 311776 Details for
Bug 455331
setting up replication agreement for cloned CA fails for fedora-ds-base-1.1.1-1.fc8
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch for replication setup issue
replication.patch (text/plain), 1.49 KB, created by
Ade Lee
on 2008-07-14 20:46:46 UTC
(
hide
)
Description:
patch for replication setup issue
Filename:
MIME Type:
Creator:
Ade Lee
Created:
2008-07-14 20:46:46 UTC
Size:
1.49 KB
patch
obsolete
>--- pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabasePanel.java (revision 66) >+++ pki/base/common/src/com/netscape/cms/servlet/csadmin/DatabasePanel.java (working copy) >@@ -1262,9 +1262,9 @@ > private String getInstanceDir(LDAPConnection conn) { > String instancedir=""; > try { >- String filter = "(objectclass=nsslapdConfig)"; >- String[] attrs = {"nsslapd-instancedir"}; >- LDAPSearchResults results = conn.search("cn=config", LDAPv3.SCOPE_SUB, >+ String filter = "(objectclass=*)"; >+ String[] attrs = {"nsslapd-directory"}; >+ LDAPSearchResults results = conn.search("cn=config,cn=ldbm database,cn=plugins,cn=config", LDAPv3.SCOPE_SUB, > filter, attrs, false); > > while (results.hasMoreElements()) { >@@ -1280,9 +1280,9 @@ > Enumeration valsInAttr = nextAttr.getStringValues(); > while ( valsInAttr.hasMoreElements() ) { > String nextValue = (String)valsInAttr.nextElement(); >- if (attrName.equalsIgnoreCase("nsslapd-instancedir")) { >+ if (attrName.equalsIgnoreCase("nsslapd-directory")) { > CMS.debug("DatabasePanel getInstanceDir: instanceDir="+nextValue); >- return nextValue; >+ return nextValue.substring(0,nextValue.lastIndexOf("/db")); > } > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 455331
: 311776 |
311881
|
312295