summaryrefslogtreecommitdiffstats
path: root/ltmain.sh
Commit message (Collapse)AuthorAgeFilesLines
* Allow modrdn to move subtree and rename non-leaf nodeNoriko Hosoi2010-01-221-3489/+4984
| | | | | | | | | | | | | | | | | | | | | | | | | This patch includes - replacing the entrydn index with the entryrdn index - replacing a full DN in each entry in the DB with an RDN - extending Slapi_Entry, entry2str, and str2entry to absorb the changes made on the entry - adding DN/RDN helper functions - adding DN cache - adding a utility and a migration script to convert the DN format database to the RDN format - extending a database dump utility dbscan to support the entryrdn - slapi_dn_syntax_check by nkinder@redhat.com is added to check the dn before modify operations - big fix for 171338 - Enhancement: winsync modrdn not synced In addition to the above, compile warnings and memory leaks found in testing the new feature are fixed. For more details, see the feature design document at: http://directory.fedoraproject.org/wiki/Subtree_Rename and bugzilla at: https://bugzilla.redhat.com/show_bug.cgi?id=171338
* bump version to 1.2.2Rich Megginson2009-08-201-0/+0
| | | | Reviewed by: nhosoi (Thanks!)
* Add centralized start/stop/restart scipts.Nathan Kinder2009-08-141-0/+0
| | | | | | | | | | | | | | This adds centralized start, stop, and restart scripts for ns-slapd. These scripts live in the sbin directory and will act upon all instances if an instance identifier is not specified (similar to the init script). The instance specific scripts have been modified to call the new centralized scripts. The instance specific parameters needed by the new scripts are located in the instance specific initconfig scripts, which are now created by setup-ds.pl with values mapped from the inf file.
* Dereference supportRich Megginson2009-07-291-79/+60
| | | | | | | | | | | | | | | | | | | | This adds support for the newly proposed LDAP Dereference feature (not to be confused with alias dereferencing). The details of the proposed feature can be found here: http://www.openldap.org/devel/cvsweb.cgi/~checkout~/doc/drafts/draft-masarati-ldap-deref-xx.txt This adds a new deref plugin to the directory server. This is a pre op search plugin. In order to allow the plugin to rewrite the controls sent back with each entry, I changed the way pre-search and pre-entry plugins work. They now have the ability to alter the entry and controls just before being sent back to the client. This plugin does not currently support internal operations. It should be easy to add a call to register the plugin for internal ops if we need to do that. The code supports real, computed (e.g. memberOf), and virtual attributes both as the attibute to dereference and in the list of attributes to return from each dereferenced entry. This will allow us to use attributes such as nsRole as the derefattr. Tested on RHEL5 x86_64 with various openldap 2.4.15+ and Net::LDAP clients. valgrind output is clean
* Entry USNNoriko Hosoi2009-07-211-0/+0
| | | | | | | | First cut for implementing Entry USN. See http://directory.fedoraproject.org/wiki/Entry_USN for the design details. This change includes a bug fix for "db2ldif -r"; event queue system was not shutdown before the plugins are closed, which could have crashed the command line utility.
* Bug: 479753 - Update core schemaNathan Kinder2009-07-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates and reorganizes our core schema to follow the most recently defined standards. The layout of the core schema files is as follows: 00core.ldif - RFC 4512, RFC 4519, LDAP Subentry Internet Draft 01core389.ldif - 389 specific schema (required to start server) 02common.ldif - 389 specific schema (highly recommended, Changelog Internet Draft, plug-in schema) 05rfc2927.ldif - MIME Directory Profile for LDAP Schema 05rfc4523.ldif - Schema Definitions for X.509 Certificates 05rfc4524.ldif - Cosine LDAP/X.500 Schema 06inetorgperson.ldif - RFC 2798 (pulls in RFC 2079 and part of the obsolete RFC 1274 due to required attributes) There are still a handful of syntaxes that we don't support, so I've substituted syntaxes for about 15 attributes. The schema and DIT related description syntaxes are not supported, so I've used the "Directory String" syntax instead in 00core.ldif. The certificate syntaxes defined in 4523 are not supported, so I've used the "Octet String" syntax instead. All of these deviations are commented with a "TODO" listing the syntax that we need to implement. I have also updated the Mozilla address book schema to the latest from upstream for a minor bug fix. I changed the nsSymmetricKey attribute to use the "Octet String" syntax since the "Binary" syntax is deprecated.
* Use thread aware library for complex regex searchesNoriko Hosoi2009-05-281-42/+16
| | | | | | | | For more details, see the design doc at http://directory.fedoraproject.org/wiki/Thread_Aware_Regex Additional 2 unrelated changes are being made: 1) dbgen.pl.in: secretary and manager are having a dn format value "cn=...". 2) slapi_counter_sunos_sparcv9.S: adding "#define _ASM 1" to force to set an assembler code macro _ASM.
* Rename to 389Rich Megginson2009-05-131-16/+42
| | | | | | | | | changed brand and capbrand to 389 changed vendor to "389 Project" I had to redo my earlier patch - I should have used the newer automake and autoconf to reduce the size of the patch This commit uses automake 1.10.1 and autoconf 2.63 from F10 Reviewed by nkinder (Thanks!)
* Generated autotools files for syntax validation feature.Nathan Kinder2009-05-111-60/+79
| | | | | | | A change was also made to Makefile.am to avoid library versioning for our C++ plug-in libraries. This change should allow us to use autogen.sh on recent platforms without running into issues during build-time.
* Resolves: #476096Noriko Hosoi2009-03-101-57/+105
| | | | | Summary: move perl on solaris to a <TBD> path Description: Changing Solaris perl path (perlexec) from /opt/perl5x/bin/perl to /usr/lib/sparcv9/dirsrv/perl5x/bin/perl.
* Resolves: 446697Nathan Kinder2009-02-131-105/+57
| | | | Summary: Added new remove-ds.pl script and manpage.
* Resolves: 207457Noriko Hosoi2008-10-221-57/+105
| | | | | | | Summary: (64bitcounters) rhds 7.1 - server stats use 32-bit integers - entrycachehitratio 1503% Description: checking in autoconf derived files. Ran autogen on RHEL5; autoconf version 2.59, automake version 1.9.6
* reran autogen.sh (automake V1.9.6, autoconf V2.59)Noriko Hosoi2008-10-191-150/+83
|
* Related: 207457Nathan Kinder2008-10-171-83/+150
| | | | Summary: Add support for 64-bit counters (phase 1).
* Resolves: #450753Noriko Hosoi2008-07-021-150/+83
| | | | Summary: Add CLI for dynamic reload schema file task
* Resolves: 450746Nathan Kinder2008-06-101-83/+150
| | | | Summary: Added CLI for creating memberOf fix-up task entry.
* Resolves: #436837Noriko Hosoi2008-06-041-150/+83
| | | | | | Summary: Dynamically reload schema via task interface Description: implemented task based schema file reloading (see also http://directory.fedoraproject.org/wiki/Dynamically_Reload_Schema)
* Initial import of memberof plugin from FreeIPA (refactored from changeset ↵Nathan Kinder2008-02-191-60/+79
| | | | 640:9c57bd91b32f if ipa-memberof.c).
* Resolves: 188320Nathan Kinder2007-10-191-57/+105
| | | | Summary: Don't define _XOPEN_SOURCE_EXTENDED on HP-UX.
* Resolves: #188320Noriko Hosoi2007-10-181-105/+57
| | | | Summary: HP-UX: warnings reported by the HP-UX compiler
* Summary: Re-generated autotools build files.Nathan Kinder2007-10-011-57/+105
|
* Resolves: #236256Noriko Hosoi2007-09-071-105/+57
| | | | | | | | Summary: verify-db.pl (db_verify) does not work on a little endian machine (comment #1-#4) Description: 1) introducing dbverify mode to ns-slapd. 2) providing new script dbverify to call "ns-slapd dbverify" 3) fixing verify-db.pl to call dbverify instead of db_verify from BDB
* Resolves: 253582Nathan Kinder2007-08-201-0/+2
| | | | Summary: Check if pkgconfig is available before trying to use it.
* forgot to commit the autotool generated filesRich Megginson2007-08-081-2/+0
|
* Resolves: 251262Nathan Kinder2007-08-081-57/+105
| | | | Summary: Changed ldap-agent to find location of stats file dynamically.
* Resolves: 240583Nathan Kinder2007-06-081-105/+57
| | | | Summary: Added SASL support to ldclt as well as some thread-safety fixes for ns-slapd when using SASL.
* Resolves: bug 238563Rich Megginson2007-05-161-57/+105
| | | | | Description: Add replication schema to core DS schema Fix Description: We need to move some of the schema from 01common to 00core in order to allow the directory server to use replication with minimal schema.
* Resolves: #233215Noriko Hosoi2007-04-121-105/+57
| | | | Summary: verify-db.pl still assumes the db dir is always in the instance dir (Comment #14)
* Bump version to 1.1.0 alpha 3 (1.1.0a3)FedoraDirSvr110a3_20070320FedoraDirSvr110a3Rich Megginson2007-03-201-57/+105
|
* Add LDAPIPete Rowley2007-02-271-105/+57
|
* Resolves: 229428Nathan Kinder2007-02-211-57/+105
| | | | Summary: ns-slapd needs to be linked with the C++ compiler on HP-UX.
* Resolves: 229095Nathan Kinder2007-02-161-105/+57
| | | | Summary: Fixed build flags for compiling with pthread on HP-UX.
* Resolves: bug 227771Rich Megginson2007-02-121-57/+105
| | | | | | | | | Bug Description: FHS: use sysconfdir (/etc) as config file location - allow builders to set dynamic config directory location at configure time Reviewed by: nhosoi, nkinder, prowley (Thanks!) Fix Description: I've added a new configure switch: --with-instconfigdir. This switch will allow the user to specify a different location to store the dynamic instance specific config files rather than the default $sysconfdir/$package_name (e.g. /etc/fedora-ds). This is the directory which will contain the slapd-instance directories which contain the instance specific config, schema, and security files. Even though the user could override this with ds_newinst.pl ([slapd] section config_dir), we needed to be able to set the default so that the user would not have to remember to do this every time, and so that packagers could set a reasonable default value for their platform. Platforms tested: FC6, RHEL4 Flag Day: no Doc impact: no
* Resolves: 228082Nathan Kinder2007-02-091-105/+57
| | | | Summary: Added --enable-bundle option for legacy builds.
* Resolves: bug 227771Rich Megginson2007-02-081-57/+105
| | | | | | | | | | | Bug Description: FHS: use sysconfdir (/etc) as config file location Reviewed by: nhosoi (Thanks!) Fix Description: After much deliberation, we have decided that it is ok that our dynamic config files are under /etc/fedora-ds/slapd-instance. So the config_dir will be /etc/fedora-ds/slapd-instance and the security and schema files will go there as well. Since the FHS is ambiguous about this issue, and it will be very confusing if the configuration files are not under /etc, and there are some agents (webmin, cfengine) that do "dynamically" modify config files under /etc, this outweighs any considerations about having the server using it's config file like an "ascii database". In addition, the presence of repl-monitor-cgi causes rpm to complain, and since we only support CGIs in the Admin Server, this file has been removed from the core fedora-ds package. Platforms tested: RHEL4, FC6 Flag Day: no Doc impact: no
* Resolves: 227754Nathan Kinder2007-02-071-105/+57
| | | | Summary: Set library search path when using AC_CHECK_LIB in db.m4.
* Resolves: bug 227452Rich Megginson2007-02-061-57/+105
| | | | | | | | | | Bug Description: Solaris build: Need to add other libs for autotool build Reviewed by: nhosoi (Thanks!) Fix Description: The AC_CHECK_LIB test for db_create needs -lnsl because libdb links with it on Solaris. Other executables require -lnsl, -lsocket, and -ldl. The strategy is to put these in the platform specific section in configure.ac so they can be exported to the Makefile. Then we can just use the macros directly in Makefile. On platforms where these are not required, they will evaluate to empty. There was a bug in the regexp that derived the libdir from pkg-config in several m4 files. We needed to use .* instead of just *. pkg-config --libs-only-L returns multiple paths on Solaris but not on linux. Platforms tested: Solaris 9 Flag Day: no Doc impact: no
* Resolves: 223861Noriko Hosoi2007-01-261-105/+57
| | | | | Summary: Nightly build uses autotools/yum (Comment #5) Change: Adding logconv.pl to Makefile.am
* Resolves: bug 222398Rich Megginson2007-01-121-57/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Description: Allow building on Fedora Reviewed by: nhosoi (Thanks!) Fix Description: There are a few issues with building on Fedora (5 or later): 1) Need to be able to build with db4.2, db4.3, db4.4, etc. This version auto-detects the db version from the db.h file it finds. In order to use a different db version, just use configure --with-db=path or --with-db-inc=path that points to a different db.h 2) mozldap and svrcore are now part of Fedora, so we need to look for those components. Look for mozldap6 first to allow building on RHEL-4 as well. mozldap now includes libldif, so add that to the link line. svrcore-devel is now just svrcore - a svrcore runtime package and a svrcore-devel build time package. 3) FHS means FHS - /etc, /var/, prefix=/usr and exec_prefix=/usr. It doesn't make any sense to talk about FHS under a prefix. This means the default build will do /opt/fedora-ds/etc, var, lib, bin, share, and so on instead of /opt/fedora-ds/usr/etc. --with-fhs resets prefix=/usr and exec_prefix=/usr, and overrides the default settings for sysconfdir and localstatedir So, different build types: FHS - use configure --with-fhs - uses /etc, /var, /usr/lib, /usr/share, etc. Nothing - configure - uses /opt/fedora-ds/etc/, var/, bin/, lib/, etc. GNU style - configure --prefix=/usr/local - /usr/local/etc, /usr/local/bin, /usr/local/var, and so on Developers can use configure --prefix=/home/user/fds && make && make install to install local versions Platforms tested: FC-6 Flag Day: no Doc impact: no
* Resolves: 212483Nathan Kinder2006-10-261-415/+853
| | | | Summary: Added autogen script to enforce versions of build tools used to generate build files.
* Related: 210736Nathan Kinder2006-10-171-0/+6425
Phase one of implementing new GNU Automake/Autoconf build system.