summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Resolves: #214533Noriko Hosoi2006-11-105-83/+425
| | | | | | | Summary: configure needs to support --with-fhs (Comment #1) Changes: 1. introduced a new option --with-fhs 2. instead of passing the define macro with -D, generate config.h
* Resolves: #214533Noriko Hosoi2006-11-10834-5/+4208
| | | | | | | | | | Summary: configure needs to support --with-fhs (Comment #6) Changes: Added the following include next to the end of the copyright block. + +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif +
* Package libsasl in core libdir for old style buildNathan Kinder2006-11-101-0/+1
|
* Bug: 214733Rich Megginson2006-11-101-2/+1
| | | | | | | | Description: be able to pass in all configurable paths to ds_newinst Fix Description: There were a couple of other minor problems with ds_newinst.pl 1) Should only set cgi parameters for those items which have a value 2) Should not setenv NETSITE_ROOT - this overrides prefix settings 3) Should not set prefix here - it is set elsewhere
* Resolves: #214728Noriko Hosoi2006-11-102-10/+3
| | | | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macros(Comment #24) NS_DS, NET_SSL, DUPGRADEDB, NSPR20, LDAPDB_THREAD_SAFE, CLIENT_AUTH, MCC_HTTPD, NS_DOMESTIC, SPAPI20, SERVER_BUILD
* Resolves: #214728Noriko Hosoi2006-11-102-87/+0
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro CYRUS_SASL and BUILD_GSSAPI (Comment #23)
* Resolves: #214728Noriko Hosoi2006-11-103-14/+10
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro MCC_HTTPD (Comment #14)
* Resolves: #214728Noriko Hosoi2006-11-102-16/+0
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro CLIENT_AUTH (Comment #12)
* Resolves: #214728Noriko Hosoi2006-11-101-1/+1
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro LDAPDB_THREAD_SAFE (Comment #11)
* Resolves: #214728Noriko Hosoi2006-11-101-7/+0
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro LDAPDB_THREAD_SAFE (Comment #10)
* Resolves: #214728Noriko Hosoi2006-11-107-60/+1
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro NSPR20 (Comment #8)
* Resolves: #214728Noriko Hosoi2006-11-1046-55/+4
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro NSPR20 (Comment #9)
* Resolves: #214728Noriko Hosoi2006-11-1013-50/+0
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro UPGRADEDB (Comment #6)
* Resolves: #214728Noriko Hosoi2006-11-1020-167/+8
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro NET_SSL (Comment #5)
* Resolves: #214728Noriko Hosoi2006-11-101-4/+1
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro NET_SSL and UPGRADEDB (Comment #5, #7)
* Resolves: #214728Noriko Hosoi2006-11-1010-67/+123
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro NS_DS (Comment #2, #3)
* Resolves: #214728Noriko Hosoi2006-11-101-20/+10
| | | | | Summary: Cleaning up obsolete macros in the build Changes: eliminated macro NS_DS (Comment #3, #5, #9, #13, #15, #17)
* Resolves: #214840Noriko Hosoi2006-11-091-16/+25
| | | | | | | | | | | | Summary: modify sasl_path to accept the string set in the inf file Changes: If sasl_path is set in [slapd] section in the inf file, it's put in dse.ldif like this: dn: cn=config [...] nsslapd-saslpath: /usr/local/lib If the inf file does not have the line, the default path <prefix>/usr/lib/<brand_ds>/sasl2 is put in dse.ldif on non-Linux platform.
* Bug: 214733Rich Megginson2006-11-091-0/+19
| | | | | | | | | | | | | | Description: be able to pass in all configurable paths to ds_newinst Reviewed by: nhosoi (Thanks!) Fix Description: Just add all of the paths that are set-able in create_instance.c to ds_newinst.pl. The paths will be parsed from the input .inf file e.g. config_dir= /path/to/config sysconfdir= /path/to/sysconf etc. in the [slapd] section. I also added sasl_path as suggested by Noriko: + $cgiargs{"sasl_path"} = $table{"slapd"}->{"sasl_path"}; Tested on: RHEL4
* Resolves: 214682Nathan Kinder2006-11-081-1/+1
| | | | Summary: Fixed usage of PL_strncpyz that was causing DNS-based ACIs to behave incorrectly.
* Resolves: 214463Nathan Kinder2006-11-071-2/+2
| | | | Summary: Corrected ACI checking for userPassword during an add operation.
* Related: 214238Nathan Kinder2006-11-073-5/+30
| | | | Summary: Make fallback SASL path work for 64-bit Linux default location.
* 1) Fedora Core 6 build fixesRich Megginson2006-11-073-5/+3
| | | | | | FC 6 does not have /usr/include/linux/sys.h. The two files in the diff below include it, but I'm not sure why. If you look at the file on an earlier system, it appears that there is nothing in it. All it seems to do is define NR_syscalls, which is not used anywhere in any include file that I can find, nor in any ds code. So I propose changing the code not to include this file. 2) Change version to 1.0.4 I already got the other files, except for ldap/cm/Makefile
* Resolves: #199923Noriko Hosoi2006-11-0614-26/+138
| | | | | Summary: subtree search fails to find items under a db containing special characters (Comment#16) Description: When dn contains rdn which includes '\\', it was escaped twice to generate a key for entrydn and caused mismatch in forming ancestorid index. It ends up the subtree search fail.
* Bug(s) fixed: 214243Rich Megginson2006-11-062-3/+5
| | | | | | | | | | | | | | Bug Description: Advanced install loops at install sample entries Reviewed by: nhosoi (Thanks!) Fix Description: There were a couple of problems. The first problem is that askPopulate is not a YesNo dialog, it is just a general Input dialog. The second problem is that askPopulateSetup sets the input buffer size greater than the static buffer used to hold the input in the Dialog class, which is defined as char _buf[MED_BUF]. So the solution is to set the InputLen to be MED_BUF-1, which allows for the trailing null as well. Platforms tested: FC5 Flag Day: no Doc impact: no
* Resolves: 214238Nathan Kinder2006-11-068-11/+79
| | | | Summary: Added new config parameter for setting the SASL plug-in path.
* Related: 213352Nathan Kinder2006-11-0310-4464/+4672
| | | | Summary: built wrapper directory must be created during make.
* upgrade version to 1.0.4Rich Megginson2006-11-0312-14/+14
|
* Backed off the previous change for the non-Solaris platforms.Noriko Hosoi2006-11-031-0/+4
|
* Bug(s) fixed: 213786Rich Megginson2006-11-031-5/+20
| | | | | | | | | | | | | | | | | Bug Description: upgrade install of ssl enabled servers changes file/dir permisssions from nobody to root Reviewed by: nhosoi (Thanks!) Fix Description: The ssloff and sslon operations change several files, by grep/sed to temp files, then moving the temp files over the original ones. When done as root, this changes the file ownership to root from the original nobody. In order to preserve the file/directory ownership, we first figure out the instance, then use the ownership of that dse.ldif file to determine the server user:group. We have to do this before the call to SSLOff because SSLOff needs the user:group to chown the files. Then, every time we create a new file and replace an existing one, we do a chown $user:$group to preserve the existing file ownership. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Fixed this problem on Solaris: Netscape Portable Runtime error -5977: ↵Noriko Hosoi2006-11-031-2/+2
| | | | ld.so.1: ns-slapd: fatal: libns-dshttpd72.so: open failed: No such file or directory
* Bug(s) fixed: 213352Rich Megginson2006-11-0222-5053/+4626
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Description: autotools: support redhat/fedora rpmbuild %configure and %makeinstall Reviewed by: nhosoi (Thanks!) Fix Description: The standard way to do an rpmbuild on fedora/redhat is to use the %configure macro in the %prep section of the spec file and the %makeinstall macro in the %install section. These set all of the bindir, libdir, datadir, sysconfdir, etc. paths used by the application. %configure sets them to their "real" runtime locations e.g. /usr/lib, and %makeinstall sets them to their paths used for rpm packaging e.g. /var/tmp/fedora-ds-foo-bar-baz/usr/lib. There were a few places in our autotools files where we were running afoul of this. Another thing is that configure defines bindir etc. as literally '${exec_prefix}/bin' so that the real value doesn't get expanded until make or make install time. This means that we cannot create scripts from templates in configure, we have to do that in make. So this adds a sed command to Makefile.am in order to do all of the script and config file path replacement at make time. Since we do the subst this way, whatever $prefix is set during make will be incorporated into the value of $bindir etc. so we can omit directly referencing @prefix@ in the template files. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Resolves: #210947Noriko Hosoi2006-11-0224-71/+70
| | | | | Summary: Processed: parameterizing the hardcoded paths (phase 3. installed binaries, change log, setup) Comment #29
* Resolves: #212098Noriko Hosoi2006-10-2713-0/+354
| | | | | | | | Summary: Use autoconf to generate task perl script templates Comment #10, #11, #14 Note: This is a generated file by autoconf. Checking this file in to support the old style build. When migrating to the autotoolized build is completed, this file is supposed to be removed from CVS.
* Resolves: 212483Nathan Kinder2006-10-266-451/+1010
| | | | Summary: Added autogen script to enforce versions of build tools used to generate build files.
* Resolves: #212098Noriko Hosoi2006-10-2620-625/+804
| | | | | Summary: Use autoconf to generate task perl script templates Comment #10, #11, #14
* Resolves: #212098Noriko Hosoi2006-10-2520-6/+5467
| | | | | | | | Summary: Use autoconf to generate task perl script templates Changes: 1) added template files to AC_CONFIG_FILES list 2) added db_bindir and ldapsdk_bindir to pass their tools path to the template files. The paths are hardcoded for now.
* Fixed the HP-UX and Solaris build failure introduced by the previous check-in.Noriko Hosoi2006-10-251-3/+3
|
* Resolves: #210947Noriko Hosoi2006-10-2549-510/+454
| | | | | Summary: parameterizing the hardcoded paths (phase 3. installed binaries, change log, setup) Comment #23
* Resolves: 212038Nathan Kinder2006-10-2421-109/+933
| | | | Make configure create program wrapper scripts.
* Resolves: 211554Nathan Kinder2006-10-232-71/+71
| | | | Fixed installation problem with libacl-plugin library.
* Resolves: 211554Nathan Kinder2006-10-202-606/+957
| | | | make install now uses FHS paths.
* Bug(s) fixed: 211426Rich Megginson2006-10-195-8/+410
| | | | | | | | | | | | | Bug Description: autotools: support dirsec packages, mozldap6, svrcore Reviewed by: nkinder (Thanks!) Fix Description: Look for the dirsec-nspr and dirsec-nss if nspr and nss are not found in pkg-config. Look for mozldap6 then mozldap in pkg-config. Look for svrcore-devel in pkg-config, then look for it in the system directories. Nathan pointed out that we do not support mozldap v5.x anymore, so we should just look for mozldap6 with pkg-config. I also added an explicit check of the vendor version in the header file to make sure we are using 600 or greater. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Resolves: 211419Nathan Kinder2006-10-192-227/+29
| | | | Use libldif shared library from Mozldap instead of our own static library.
* Resolves: 211386Nathan Kinder2006-10-184-41/+76
| | | | Added --enable-debug configure option to add debug defines.
* Resolves: 211234Nathan Kinder2006-10-182-36/+30
| | | | Made build-system support building multiple archs from one source tree.
* Related: 210736Nathan Kinder2006-10-1722-7/+53916
| | | | Phase one of implementing new GNU Automake/Autoconf build system.
* enable pam_passthru for fedora ds buildsRich Megginson2006-10-171-5/+6
|
* Resolves: #204808Noriko Hosoi2006-10-141-1/+1
| | | | | spurious search timeouts (comment #7) fixed anoter int vs. time_t type mismatch.
* Change the way ldapserver links with SASL. Rather than specifying a hard ↵Rich Megginson2006-10-131-2/+6
| | | | | | | | coded link path of /usr/lib, which will not work on 64 bit systems, just don't specify a -L option for SASL if we want the linker to just use the default path. The linker will find the system SASL in /usr/lib or /usr/lib64 or wherever it is.