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 158914 Details for
Bug 246683
Reimplement ds_create without setuputil code
[?]
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]
cvs diff ds_create.in
ds_create.in.diff (text/plain), 1.96 KB, created by
Noriko Hosoi
on 2007-07-10 23:04:02 UTC
(
hide
)
Description:
cvs diff ds_create.in
Filename:
MIME Type:
Creator:
Noriko Hosoi
Created:
2007-07-10 23:04:02 UTC
Size:
1.96 KB
patch
obsolete
>Index: ds_create.in >=================================================================== >RCS file: /cvs/dirsec/adminserver/admserv/cgi-src40/ds_create.in,v >retrieving revision 1.1 >diff -t -w -U4 -r1.1 ds_create.in >--- ds_create.in 4 Jul 2007 01:31:33 -0000 1.1 >+++ ds_create.in 10 Jul 2007 22:51:01 -0000 >@@ -74,8 +74,9 @@ > my $output = `$prog 2>&1`; > my $status = $?; > # check for and report errors > if ($status) { >+ print "Content-type: text/html\n\n"; > print $output; > exit $status; > } > >@@ -91,8 +92,9 @@ > my $inst = $query->param('servid'); > my @errs; > my $inf = createInfFromConfig("@instconfigdir@/slapd-$inst", $inst, \@errs); > if (@errs) { >+ print "Content-type: text/html\n\n"; > print "NMC_ErrInfo: ", $res->getText(@errs), "\n"; > print "NMC_Status: 1\n"; > exit 1; > } >@@ -109,8 +111,9 @@ > $inf->{General}->{AdminDomain} = $query->param('admin_domain') || > $admConf->{AdminDomain}; > > if (!createSubDSNoConn($inf, \@errs)) { >+ print "Content-type: text/html\n\n"; > print "NMC_ErrInfo: ", $res->getText(@errs), "\n"; > print "NMC_Status: 1\n"; > exit 1; > } >@@ -126,13 +129,15 @@ > # run the CGI > my $output = `$prog 2>&1`; > my $status = $?; > if ($status) { >+ print "Content-type: text/html\n\n"; > print "NMC_ErrInfo: Could not start directory server: $output\n"; > print "NMC_Status: $status\n"; > exit $status; > } > } else { >+ print "Content-type: text/html\n\n"; > print "NMC_ErrInfo: The program $prog does not exist\n"; > print "NMC_Status: 1\n"; > exit 1; > } >@@ -145,12 +150,14 @@ > # get admin domain > # config ds info > > if (!registerDSWithConfigDS($servid, \@errs, $inf)) { >+ print "Content-type: text/html\n\n"; > print "NMC_ErrInfo: ", $res->getText(@errs), "\n"; > print "NMC_Status: 1\n"; > exit 1; > } > > # if we got here, report success >+print "Content-type: text/html\n\n"; > print "NMC_Status: 0\n"; > exit 0;
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 246683
:
158484
|
158485
|
158486
|
158487
|
158491
|
158494
| 158914 |
158989
|
159007