summaryrefslogtreecommitdiffstats
path: root/ldap/cm
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-12-07 21:29:14 +0000
committerRich Megginson <rmeggins@redhat.com>2005-12-07 21:29:14 +0000
commit50d92a4a495d3743397b967c52444bdfd7c687e3 (patch)
tree9f248abcc61dbb5bb48f3a992909ef3cbc2cc174 /ldap/cm
parent6d06e77ac87bd2048c06cf78af414bcca6b8077f (diff)
downloadds-50d92a4a495d3743397b967c52444bdfd7c687e3.tar.gz
ds-50d92a4a495d3743397b967c52444bdfd7c687e3.tar.xz
ds-50d92a4a495d3743397b967c52444bdfd7c687e3.zip
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
Diffstat (limited to 'ldap/cm')
-rwxr-xr-xldap/cm/newinst/ns-update9
1 files changed, 9 insertions, 0 deletions
diff --git a/ldap/cm/newinst/ns-update b/ldap/cm/newinst/ns-update
index 18b579de..16f92f38 100755
--- a/ldap/cm/newinst/ns-update
+++ b/ldap/cm/newinst/ns-update
@@ -200,4 +200,13 @@ if [ -f fix_secmod_db_64 ]; then
./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