summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Bug(s) fixed: 204623Rich Megginson2006-10-131-2/+2
| | | | | | | | | | | | | Bug Description: deleting attributes when changing password causes server crash Reviewed by: nhosoi (Thanks!) Fix Description: From Michal: "The function mod2smod does not check for mod->mod_bvalues being NULL and tries to dereference it (modutil.c:370). This function happens to be called only by slapi_mods_get_{first,next}_smod(), which are in turn called only by check_trivial_words() in pw.c; this is why the crash appears only when checking password syntax." I added the same check for the mod_values case - even though the code says this should never be called, better to be safe than sorry. Platforms tested: RHEL4
* For FDS 103 - When I changed the makefiles around for the earlier fix to ↵Rich Megginson2006-10-131-1/+3
| | | | | | | enable rpmbuild, I inadvertantly removed the packaging for ds-nshttpd from the gateway. This adds it back for USE_DSGW=1 builds.
* [208672] parameterizing the hardcoded paths (phase 2. db, log, lock, pid, ↵Noriko Hosoi2006-10-1333-1264/+1360
| | | | | | | | | | | | cert, and instance dir) 1) introduced these 3 new config attributes: nsslapd-lockdir, nsslapd-tmpdir, nsslapd-certdir, and eliminated: nsslapd-instancedir. 2) replaced the hardcoded paths with the corresponding attribute value in the server as well as in the create/remove instance codes. 3) moved snmp stats file to the nsslapd-tmpdir 4) moved the server instance dir to <prefix>/lib/<brand>-ds/slapd-<id>
* Bug(s) fixed: 185780Rich Megginson2006-10-121-0/+1
| | | | | | | | | | | Bug Description: one byte memory leak in modify Reviewed by: nhosoi (Thanks!) Files: see diff Branch: HEAD Fix Description: Just call slapi_ch_free_string() with the mod->mod_type. This is safe to call with NULL. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Bug(s) fixed: 183903Rich Megginson2006-10-121-0/+1
| | | | | | | | | Bug Description: Memory leak in ldbm_config.c:replace_ldbm_config_value Reviewed by: nhosoi (Thanks!) Fix Description: Just needed to call slapi_mods_done(&smods) after the call to slapi_modify_internal_pb(). This is the same as in the other places in the server that perform an internal modify operation. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Bug(s) fixed: 185364Rich Megginson2006-10-121-16/+56
| | | | | | | | | Bug Description: Can't update scripts (e.g., start-slapd) in the instance directory Reviewed by: ??? Fix Description: ns-update needs to run ds_create -r for each instance in the server root because the start-slapd et. al. scripts that it needs to recreate are per-instance. The install.inf passed in from setup only contains the information in the [General] and [admin] section. We need to supply the missing information for the [slapd] section to make both create_scripts() and reconfigure_instance() happy. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Bug(s) fixed: 210220Rich Megginson2006-10-102-12/+19
| | | | | | | | | | Bug Description: Update ldapconsole version to 1.0.3; package net-snmp when building from source Reviewed by: nhosoi, nkinder (Thanks!) Fix Description: 1) Need to bump version of ldapconsole to 1.0.3 for fds 1.0.3 2) On RHEL3 we still need to build/package net-snmp. Platforms tested: RHEL3 Flag Day: no Doc impact: no
* Bug(s) fixed: 210120Rich Megginson2006-10-101-0/+8
| | | | | | | | | Bug Description: PAM passthru plugin causes directory server to crash Reviewed by: nhosoi (Thanks!) Fix Description: If the DN given in the BIND request is bogus i.e. not a valid DN (at least not one that ldap_explode_dn can parse), we should just skip the PAM processing and just report a reasonable error to the client. Similarly, if the map method says to lookup the pam ID from the bind DN entry, and the entry cannot be found, just report an error and skip pam processing. Platforms tested: FC5 Flag Day: no Doc impact: no
* Bug(s) fixed: 210075Rich Megginson2006-10-0913-17/+17
| | | | | | | | | Bug Description: Change version to 1.0.3 Reviewed by: nkinder, nhosoi (Thanks!) Fix Description: Update version strings and etc. to 1.0.3 Platforms tested: FC5 Flag Day: no Doc impact: no
* Bug(s) fixed: 199321Rich Megginson2006-10-091-1/+4
| | | | | | | | | Bug Description: incorrect base64 encoding of SHA passwords crashes server Reviewed by: nkinder (Thanks!) Fix Description: Check the return value of ldif_base64_decode to see if it is less than zero first before the other comparisons. This is the error condition, so we can just return an error. Additionally, the other comparisons with the unsigned should be ok since we know that the hash_len is a positive number. Platforms tested: FC5 Flag Day: no Doc impact: no
* Bug(s) fixed: 202889:Rich Megginson2006-10-0968-116/+111
| | | | | | | | | | Bug Description: Branding: Netscape Directory Server Gateway Reviewed by: nkinder (Thanks!) Fix Description: There were quite a few places in the dsgw/phonebook that referred to Netscape Directory Server. These have been removed. Nathan found a couple of places where I missed some netscape.com URLs, and suggested I remove references to Collabra server. Platforms tested: FC5 Flag Day: no Doc impact: no
* update internal builds to use latest componentsRich Megginson2006-10-072-4/+4
|
* [204808] spurious search timeoutsNoriko Hosoi2006-10-053-4/+7
| | | | Fixed a problem that ldapsearch reports random timeouts on 64-bit machine.
* [207427] parameterizing the hardcoded paths (Comment #15)Noriko Hosoi2006-09-2722-1008/+1439
| | | | phase 1. parameterizing config, schema and ldif directory
* 208058 - Copy decrypted SASL data starting from buffer offset instead of ↵Nathan Kinder2006-09-261-1/+2
| | | | always copying from the beginning of the buffer.
* [206724] Processed: Replacing PR_SetNetAddr with PRLDAP_SET_PORT for IPv6 ↵Noriko Hosoi2006-09-241-1/+1
| | | | | | support comment#5: Fixed a stupid copy and paste bug...
* Upgraded NSPR_RELDATE to v4.6.3-dstest.Noriko Hosoi2006-09-221-1/+1
| | | | | This upgrade is made from 1) v4.6.2 -> v4.6.3 and 2) applying a new ipv6.patch from [mozilla 34843].
* fix build breakage - use PERLDAP_BUILT_DIR as the location to download perl ↵Rich Megginson2006-09-161-1/+1
| | | | since the full DEP has two directory levels in it
* [206724] Replacing PR_SetNetAddr with PRLDAP_SET_PORT for IPv6 supportNoriko Hosoi2006-09-153-163/+164
| | | | | | | | slapi-private.h: introduced PRLDAP_SET_PORT to set port to the port field in PRNetAddr. A copy of the same macro in LDAP C SDK (v6). Note: once NSPR provides an equivalent API, we may want to replace this macro with the one. (the NSPR compatibility issue remains, though.) connection.c, daemon.c: replaced PR_SetNetAddr with PRLDAP_SET_PORT.
* Bug(s) fixed: 206662Rich Megginson2006-09-154-21/+26
| | | | | | | | | | | | | Bug Description: PAM passthru: ENTRY map method not working and schema incorrect Reviewed by: nhosoi (Thanks!) Fix Description: 1) Rename all occurrences of pamMapMethod to pamIDMapMethod 2) The parsing code for the map method was just plain wrong - it wasn't incrementing the pointer correctly. 3) This code: if (one == two == three == PAMPT_MAP_METHOD_NONE) - is not correct. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Bug: 206527Rich Megginson2006-09-154-19/+13
| | | | | | | | Description: Enable rpmbuild of directory server Fix Description: RELDIR is not defined in lib/ldaputil/Makefile, so just remove the certmap.conf packaging from there and add it to ldap/cm/Makefile The perldap packaging has changed for internal builds as well. Tested on: Solaris
* use new 20060915 version of perldapRich Megginson2006-09-151-1/+1
|
* minor change to test commit email notificationRich Megginson2006-09-151-2/+1
|
* Bug: 206527Rich Megginson2006-09-156-100/+110
| | | | | | | | | | | | | | | Description: Enable rpmbuild of directory server Fix Description: You can set env. vars. to override all of the LIB and INCLUDE paths with the make -e flag. I moved all of the external component packaging stuff into the packageDirectory target of ldap/cm/Makefile, and moved the "packaging" of the internal files into the releaseDirectory target. So the releaseDirectory target will now copy all of the ldapserver binaries and runtime files into their correct places under RELDIR, which is then used to create the rpm. There were a couple of other places that needed to change the way a particular file was packaged in order ot make sure it was packaged in the core ds and not as an external component. Tested on: RHEL4 Reviewed by: nhosoi (Thanks!)
* Bug(s) fixed: 206450Rich Megginson2006-09-141-0/+12
| | | | | | | | | | | Bug Description: pass thru auth plugin should be configured by default Reviewed by: rcritten (Thanks!) Fix Description: If you do a core DS build, you don't have a config DS or a user DS, and therefore the pass thru auth plugin is not added to the server config. It should always be added, disabled if not used immediately. The fix is to add it in this case, disabled. Platforms tested: RHEL4 Flag Day: no Doc impact: no
* Bug: 205456Rich Megginson2006-09-114-13/+15
| | | | | | | | | | | | Description: Enable core DS build Fix Description: 1) Need to package lib/ldaputil/certmap.conf into shared/config/certmap.conf in DS build if not using admin server 2) We create shell script wrappers for the sectools (certutil, etc.). This was being done in the setuputil related code in ldap/cm/newinst. This has been moved to the more generic ldap/admin/src directory where other similar scripts live. Tested on: RHEL4 64
* Create core DS tarball for acceptance testRich Megginson2006-09-071-0/+6
|
* remove extraneous endifRich Megginson2006-09-071-1/+0
|
* Bug: 205456Rich Megginson2006-09-071-17/+5
| | | | | Description: Enable core DS build Fix Description: For some reason, the build is not passing BUILD_MODE=int which causes perldap to break. There is no int/ext version of perldap - it is "neutral".