Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/cm/newinst
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5433/ldapserver/ldap/cm/newinst
Modified Files:
ns-update
Log Message:
Bug(s) fixed: 175098
Bug Description: The dsgw cookie directory needs to be writable by the admin server uid
Reviewed by: Nathan (Thanks!)
Fix Description: DS Gateway authentication breaks because the admin server uid cannot
write to the bin/slapd/authck directory. This fix makes sure that directory is owned by
the correct uid. I've also put a similar fix into the ds spec file %post section to
fix this when upgrading from fds10 to fds101.
Platforms tested: Fedora Core 4
Flag Day: no
Doc impact: no
Index: ns-update
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/cm/newinst/ns-update,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ns-update 17 Nov 2005 17:34:35 -0000 1.9
+++ ns-update 7 Dec 2005 21:29:14 -0000 1.10
@@ -200,4 +200,13 @@
./fix_secmod_db_64 $sroot/alias $sroot/shared32/bin
fi
+# chown the cookie directory - bug 175098
+if [ "$ssuser" ] ; then
+ if [ "$ssgrp" ] ; then
+ chown $ssuser:$ssgrp $sroot/bin/slapd/authck
+ else
+ chown $ssuser $sroot/bin/slapd/authck
+ fi
+fi
+
exit $rc
Show replies by date