[Fedora-directory-commits] ldapserver/ldap/admin/src/scripts DSCreate.pm.in, 1.11, 1.12
Richard Allen Megginson (rmeggins)
fedora-directory-commits at redhat.com
Mon Jul 14 19:37:17 UTC 2008
- Previous message (by thread): [Fedora-directory-commits] adminserver/admserv/newinst/src AdminServer.pm.in, 1.12, 1.12.2.1 ConfigDSDialogs.pm, 1.6, 1.6.2.1 adminserver.map.in, 1.9, 1.9.2.1 dirserver.map.in, 1.9, 1.9.2.1 migrate-ds-admin.res.in, 1.2, 1.2.2.1 setup-ds-admin.pl.in, 1.11, 1.11.2.1 setup-ds-admin.res.in, 1.9, 1.9.2.1
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts DSCreate.pm.in, 1.9, 1.9.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23383/ldapserver/ldap/admin/src/scripts
Modified Files:
DSCreate.pm.in
Log Message:
Resolves: bug 452323
Bug Description: rhds80 console - create new instance fails (only) after admin server restart
Reviewed by: nkinder (Thanks!)
Branch: HEAD
Fix Description: The problem was that the temp LDIF file used to init the new database was not created with the proper mode and ownership, so slapd could not load it. The fix is to make sure the ownership and mode is correct.
Platforms tested: RHEL5, Fedora 8, Fedora 9
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none
Index: DSCreate.pm.in
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSCreate.pm.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- DSCreate.pm.in 16 May 2008 16:25:54 -0000 1.11
+++ DSCreate.pm.in 14 Jul 2008 19:37:15 -0000 1.12
@@ -499,6 +499,10 @@
if (@errs) {
return @errs;
}
+ if (@errs = changeOwnerMode($inf, 4, $templdif)) {
+ unlink($ldiffile);
+ return @errs;
+ }
# $templdif now contains the ldif to import
$ldiffile = $templdif;
$istempldif = 1;
- Previous message (by thread): [Fedora-directory-commits] adminserver/admserv/newinst/src AdminServer.pm.in, 1.12, 1.12.2.1 ConfigDSDialogs.pm, 1.6, 1.6.2.1 adminserver.map.in, 1.9, 1.9.2.1 dirserver.map.in, 1.9, 1.9.2.1 migrate-ds-admin.res.in, 1.2, 1.2.2.1 setup-ds-admin.pl.in, 1.11, 1.11.2.1 setup-ds-admin.res.in, 1.9, 1.9.2.1
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/admin/src/scripts DSCreate.pm.in, 1.9, 1.9.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list