diff options
| author | Rich Megginson <rmeggins@redhat.com> | 2005-12-07 21:29:14 +0000 |
|---|---|---|
| committer | Rich Megginson <rmeggins@redhat.com> | 2005-12-07 21:29:14 +0000 |
| commit | 50d92a4a495d3743397b967c52444bdfd7c687e3 (patch) | |
| tree | 9f248abcc61dbb5bb48f3a992909ef3cbc2cc174 /ldap/admin/src | |
| parent | 6d06e77ac87bd2048c06cf78af414bcca6b8077f (diff) | |
| download | ds-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/admin/src')
| -rw-r--r-- | ldap/admin/src/create_instance.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/admin/src/create_instance.c b/ldap/admin/src/create_instance.c index 08136ccf..2e68f753 100644 --- a/ldap/admin/src/create_instance.c +++ b/ldap/admin/src/create_instance.c @@ -1921,6 +1921,7 @@ char *ds_cre_subdirs(char *sroot, server_config_s *cf, char *cs_path, PR_snprintf(subdir, sizeof(subdir), "%s%cbin%cslapd%cauthck", sroot, FILE_PATHSEP, FILE_PATHSEP, FILE_PATHSEP); if( (t = create_instance_mkdir_p(subdir, NEWDIR_MODE)) ) return(t); + chownfile (pw, subdir); return (t); } |
