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 311725 Details for
Bug 435774
Unhandled error during setup: Could not import LDIF file
[?]
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]
diffs
diffs.bug435774 (text/plain), 1.53 KB, created by
Rich Megginson
on 2008-07-14 16:30:19 UTC
(
hide
)
Description:
diffs
Filename:
MIME Type:
Creator:
Rich Megginson
Created:
2008-07-14 16:30:19 UTC
Size:
1.53 KB
patch
obsolete
>Index: ldapserver/ldap/admin/src/scripts/DSCreate.pm.in >=================================================================== >RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSCreate.pm.in,v >retrieving revision 1.11 >diff -u -8 -r1.11 DSCreate.pm.in >--- ldapserver/ldap/admin/src/scripts/DSCreate.pm.in 16 May 2008 16:25:54 -0000 1.11 >+++ ldapserver/ldap/admin/src/scripts/DSCreate.pm.in 14 Jul 2008 16:28:33 -0000 >@@ -462,18 +462,21 @@ > my $inf = shift; > my $istempldif = 0; > # If the user has specified an LDIF file to use to initialize the database, > # load it now > my $ldiffile = $inf->{slapd}->{InstallLdifFile}; > if ($ldiffile =~ /none/i) { > debug(1, "No ldif file or org entries specified - no initial database will be created\n"); > return (); >- } elsif ($ldiffile && -f $ldiffile) { >+ } elsif ($ldiffile && ($ldiffile !~ /suggest/i)) { > debug(1, "Loading initial ldif file $ldiffile\n"); >+ if (! -r $ldiffile) { >+ return ('error_opening_init_ldif', $ldiffile); >+ } > } elsif (($inf->{slapd}->{Suffix} =~ /^(.*?)=/) && $suffixTable{$1}) { > my @errs; > my $template = $inf->{General}->{prefix} . $suffixTable{$1}; > my $mapper = new Inf("$inf->{General}->{prefix}@infdir@/dsorgentries.map"); > my $dsinf = new Inf("$inf->{General}->{prefix}@infdir@/slapd.inf"); > my @rdns = ldap_explode_dn($inf->{slapd}->{Suffix}, 1); > $inf->{slapd}->{naming_value} = $rdns[0]; > $mapper = process_maptbl($mapper, \@errs, $inf, $dsinf);
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 435774
: 311725 |
311785