Author: rmeggins
Update of /cvs/dirsec/ldapserver/ldap/admin/src
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5433/ldapserver/ldap/admin/src
Modified Files:
create_instance.c
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: create_instance.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- create_instance.c 21 Oct 2005 19:21:10 -0000 1.23
+++ create_instance.c 7 Dec 2005 21:29:08 -0000 1.24
@@ -1921,6 +1921,7 @@
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);
}
Show replies by date