Commit Graph

152 Commits

Author SHA1 Message Date
Mark Reynolds
e577895454 ddcf669 bump version to 1.2.11.8 for offical release
Ticket #425 - support multiple winsync plugins
Ticket 403 - cleanallruv coverity fixes
Ticket 407 - memory leak in dna plugin
Ticket 403 - CLEANALLRUV feature
Ticket 413 - "Server is unwilling to perform" when running ldapmodify on nsds5ReplicaStripAttrs
3168f04 Coverity defects
5ff0a02 COVERITY FIXES
Ticket #388 - Improve replication agreement status messages
0760116 Update the slapi-plugin documentation on new slapi functions, and added a slapi function for checking on shutdowns
Ticket #369 - restore of replica ldif file on second master after deleting two records shows only 1 deletion
Ticket #409 - Report during startup if nsslapd-cachememsize is too small
Ticket #412 - memberof performance enhancement
12813: Uninitialized pointer read string_values2keys
Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values
Ticket #346 - Slow ldapmodify operation time for large quantities of multi-valued attribute values
Ticket #410 - Referential integrity plug-in does not work when update interval is not zero
Ticket #406 - Impossible to rename entry (modrdn) with Attribute Uniqueness plugin enabled
Ticket #405 - referint modrdn not working if case is different
Ticket 399 - slapi_ldap_bind() doesn't check bind results
2012-08-03 16:51:25 -04:00
Dennis Gilmore
d056688b8d - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-18 07:36:47 -05:00
Petr Písař
7be77e6e46 Perl 5.16 rebuild 2012-06-28 20:20:53 +02:00
Rich Megginson
4054ea5970 Ticket 366 - Change DS to purge ticket from krb cache in case of authentication error
also
Ticket 378 - unhashed#user#password visible after changing password
  fix func declaration from previous patch
2012-06-27 11:00:15 -06:00
Rich Megginson
08c7cc0040 Trac Ticket 396 - Account Usability Control Not Working 2012-06-27 08:28:32 -06:00
Rich Megginson
8c78efb21c fix unhashed user password visibility issues
Ticket #378 - audit log does not log unhashed password: enabled, by default.
Ticket #378 - unhashed#user#password visible after changing password
Ticket #365 - passwords in clear text in the audit log
2012-06-21 15:17:23 -06:00
Rich Megginson
9a4ab77510 workaround for https://bugzilla.redhat.com/show_bug.cgi?id=833529 2012-06-19 11:16:34 -06:00
Rich Megginson
ab051d4541 fix managed entry - crashing problem - CLEANALLRUV bugs - Root DN Bind Limits
Ticket #387 - managed entry sometimes doesn't delete the managed entry
5903815 improve txn test index handling
Ticket #360 - ldapmodify returns Operations error - fix delete caching
bcfa9e3 Coverity Fix
Trac Ticket #335 - transaction retries need to be cache aware
Ticket #389 - ADD operations not in audit log
44cdc84 fix coverity issues with uninit vals, no return checking
1b4b9d5 Ticket 368 - Make the cleanAllRUV task one step
8f17da5 Ticket #110 - RFE limiting root DN by host, IP, time of day, day of week
2012-06-18 18:10:26 -06:00
Petr Písař
d3573cb2a3 Perl 5.16 rebuild 2012-06-11 10:36:09 +02:00
Rich Megginson
1872610e95 Fix some crashes, op errors - do not replica otherwise empty mods - improve CLEA
NRUV

Ticket #360 - ldapmodify returns Operations error
Ticket #321 - krbExtraData is being null modified and replicated on each ssh login
Trac Ticket #359 - Database RUV could mismatch the one in changelog under the stress
Ticket #361: Bad DNs in ACIs can segfault ns-slapd
Trac Ticket #338 - letters in object's cn get converted to lowercase when renaming object
Ticket #337 - Improve CLEANRUV task
(cherry picked from commit 21635dcd44f96846bb8158963508374f489a355c)
2012-05-24 14:48:13 -06:00
Rich Megginson
02ef666218 Ticket #358 - managed entry doesn't delete linked entry 2012-05-05 08:22:46 -06:00
Rich Megginson
aa78a6d494 disable use of betxn plugins by default - ldclt fix
Ticket #351 - use betxn plugins by default
  revert - make no plugins betxn by default - too great a risk
  for deadlocks until we can test this better
Ticket #348 - crash in ldap_initialize with multiple threads
  fixes PR_Init problem in ldclt
2012-05-04 14:49:34 -06:00
Rich Megginson
77ca004f19 389-ds-base-1.2.11.1
- f227f11 Suppress alert on unavailable port with forced setup
- Ticket #353 - coverity 12625-12629 - leaks, dead code, unchecked return
- Ticket #351 - use betxn plugins by default
- Trac Ticket #345 - db deadlock return should not log error
- Ticket #348 - crash in ldap_initialize with multiple threads
- Ticket #214 - Adding Replication agreement should complain if required nsds5ReplicaCredentials not supplied
- Ticket #207 - [RFE] enable attribute that tracks when a password was last set
- Ticket #216 - RFE - Disable replication agreements
- Ticket #337 - RFE - Improve CLEANRUV functionality
- Ticket #326 - MemberOf plugin should work on all backends
- Trac Ticket #19 - Convert entryUSN plugin to transaction aware type
- Ticket #347 - IPA dirsvr seg-fault during system longevity test
- Trac Ticket #310 - Avoid calling escape_string() for logged DNs
- Trac Ticket #338 - letters in object's cn get converted to lowercase when renaming object
- Ticket #183 - passwordMaxFailure should lockout password one sooner
- Trac Ticket #335 - transaction retries need to be cache aware
- Ticket #336 - [abrt] 389-ds-base-1.2.10.4-2.fc16: index_range_read_ext: Process /usr/sbin/ns-slapd was killed by signal 11 (SIGSEGV)
- Ticket #325 - logconv.pl : use of getopts to parse command line options
- Ticket #336 - [abrt] 389-ds-base-1.2.10.4-2.fc16: index_range_read_ext: Process /usr/sbin/ns-slapd was killed by signal 11 (SIGSEGV)
- 554e29d Coverity Fixes
- Trac Ticket #46 - (additional 2) setup-ds-admin.pl does not like ipv6 only hostnames
- Ticket #183 - passwordMaxFailure should lockout password one sooner - and should be configurable to avoid regressions
- Ticket #315 - small fix to libglobs
- Ticket #315 - ns-slapd exits/crashes if /var fills up
- Ticket #20 - Allow automember to work on entries that have already been added
- Trac Ticket #45 - Fine Grained Password policy: if passwordHistory is on, deleting the password fails.
2012-05-02 11:00:35 -06:00
Rich Megginson
25d3f40d68 the 1.2.11 alpha 1 release
453eb97 schema def must have DESC '' - close paren must be preceded by space
Trac Ticket #46 - (additional) setup-ds-admin.pl does not like ipv6 only hostnames
Ticket #331 - transaction errors with db 4.3 and db 4.2
Ticket #261 - Add Solaris i386
Ticket #316 and Ticket #70 - add post add/mod and AD add callback hooks
Ticket #324 - Sync with group attribute containing () fails
Ticket #319 - ldap-agent crashes on start with signal SIGSEGV
77cacd9 coverity 12606 Logically dead code
Trac Ticket #303 - make DNA range requests work with transactions
Ticket #320 - allow most plugins to be betxn plugins
Ticket #24 - Add nsTLS1 to the DS schema
Ticket #271 - Slow shutdown when you have 100+ replication agreements
TIcket #285 - compilation fixes for '--format-security'
Ticket 211 - Avoid preop range requests non-DNA operations
Ticket #271 - replication code cleanup
Ticket 317 - RHDS fractional replication with excluded password policy attributes leads to wrong error messages.
Ticket #308 - Automembership plugin fails if data and config area mixed in the plugin configuration
Ticket #292 - logconv.pl reporting unindexed search with different search base than shown in access logs
6f8680a coverity 12563 Read from pointer after free (fix 2)
e6a9b22 coverity 12563 Read from pointer after free
245d494 Config changes fail because of unknown attribute "internalModifiersname"
Ticket #191  - Implement SO_KEEPALIVE in network calls
Ticket #289 - allow betxn plugin config changes
93adf5f destroy the entry cache and dn cache in the dse post op delete callback
e2532d8 init txn thread private data for all database modes
Ticket #291 - cannot use & in a sasl map search filter
6bf6e79 Schema Reload crash fix
60b2d12 Fixing compiler warnings
Trac Ticket #260 - 389 DS does not support multiple paging controls on a single connection
Ticket #302 - use thread local storage for internalModifiersName & internalCreatorsName
fdcc256 Minor bug fix introcuded by commit 69c9f3bf7dd9fe2cadd5eae0ab72ce218b78820e
Ticket #306 - void function cannot return value
ticket 181 - Allow PAM passthru plug-in to have multiple config entries
ticket 211 - Use of uninitialized variables in ldbm_back_modify()
Ticket #74 - Add schema for DNA plugin (RFE)
Ticket #301 - implement transaction support using thread local storage
Ticket #211 - dnaNextValue gets incremented even if the user addition fails
144af59 coverity uninit var and resource leak
Trac Ticket #34 - remove-ds.pl does not remove everything
Trac Ticket #169 - allow 389 to use db5
bc78101 fix compiler warning in acct policy plugin
Trac Ticket #84 - 389 Directory Server Unnecessary Checkpoints
Trac Ticket #27 - SASL/PLAIN binds do not work
Ticket #129 - Should only update modifyTimestamp/modifiersName on MODIFYops
Ticket #17 - new replication optimizations
2012-03-30 13:44:58 -06:00
Noriko Hosoi
d970bf2cba Trac Ticket #46 and #66
https://fedorahosted.org/389/ticket/46
https://fedorahosted.org/389/ticket/66

Fix Description:
Adding IPv6 friendly perl packages to Requires list:
  Requires: perl-Socket
or
  Requires: perl-Socket6
depending upon the perl Socket module availability.
Adding gcc-c++ to the build dependency
  BuildRequires: gcc-c++

changelog:
- Ticket #46 - (revised) setup-ds-admin.pl does not like ipv6 only hostnames
- Ticket #66 - 389-ds-base spec file does not have a BuildRequires on gcc-c++
2012-03-27 16:43:26 -07:00
Noriko Hosoi
12a64b8123 Trac Ticket #46 - setup-ds-admin.pl does not like ipv6 only
hostnames

https://fedorahosted.org/389/ticket/46

Fix Description:
Adding IPv6 friendly perl packages to Requires list:
  Requires: perl-Socket-GetAddrInfo
  Requires: perl-NetAddr-IP
2012-03-23 13:52:13 -07:00
Rich Megginson
5e3fefbf76 get rid of posttrans - move update code to post 2012-03-21 08:40:33 -06:00
Rich Megginson
c9ac9176bd Ticket #305 - Certain CMP operations hang or cause ns-slapd to crash
Ticket #305 - Certain CMP operations hang or cause ns-slapd to crash
2012-03-13 13:54:43 -06:00
Rich Megginson
f064c093b3 fix cos crash - address some valgrind issues - fix kernel version checking
b05139b memleak in normalize_mods2bvals
c0eea24 memleak in mep_parse_config_entry
90bc9eb handle null smods
Ticket #305 - Certain CMP operations hang or cause ns-slapd to crash
Ticket #306 - void function cannot return value
ticket 304 - Fix kernel version checking in dsktune
2012-03-05 14:41:32 -07:00
Rich Megginson
d100480876 1.2.10.2 - fix a couple of late breaking crash bugs - fix TLS and defaultNamingContext
Trac Ticket #298 - crash when replicating orphaned tombstone entry
Ticket #281 - TLS not working with latest openldap
Trac Ticket #290 - server hangs during shutdown if betxn pre/post op fails
Trac Ticket #26 - Please support setting defaultNamingContext in the rootdse
2012-02-23 08:31:50 -07:00
Noriko Hosoi
2f38a748c3 Ticket #124 - RFE: add Provides: ldif2ldbm to rpm 2012-02-14 10:34:29 -08:00
Rich Megginson
6453827534 Ticket #294 - 389 DS Segfaults during replica install in FreeIPA 2012-02-14 09:12:02 -07:00
Rich Megginson
13353f7555 The 1.2.10.0 release - some minor bug fixes
- Ticket 284 - Remove unnecessary SNMP MIB files
- Ticket 51 - memory leaks in 389-ds-base-1.2.8.2-1.el5?
- Ticket 175 - logconv.pl improvements
2012-02-13 12:56:00 -07:00
Noriko Hosoi
61d1908d60 Introducing use_db4 macro to support db5 (libdb). 2012-02-10 17:45:12 -08:00
Petr Písař
cb3f4da6c8 Rebuild against PCRE 8.30 2012-02-10 14:29:23 +01:00
Rich Megginson
d2a9e91dbe coverity 12488 Resource leak In attr_index_config(): Leak of memory or pointers to system resources
Ticket #281 - TLS not working with latest openldap
Ticket #280 - extensible binary filters do not work
Ticket #279 - filter normalization does not use matching rules
Trac Ticket #275 - Invalid read reported by valgrind
Ticket #277 - cannot set repl referrals or state
Ticket #278 - Schema replication update failed: Invalid syntax
Ticket #39 - Account Policy Plugin does not work for simple binds when PAM Pass Through Auth plugin is enabled
Ticket #13 - slapd process exits when put the database on read only mode while updates are coming to the server
Ticket #87 - Manpages fixes
c493fb4 fix a couple of minor coverity issues
Ticket #55 - Limit of 1024 characters for nsMatchingRule
Trac Ticket #274 - Reindexing entryrdn fails if ancestors are also tombstoned
Ticket #6 - protocol error from proxied auth operation
Ticket #38 - nisDomain schema is incorrect
Ticket #273 - ruv tombstone searches don't work after reindex entryrdn
Ticket #29 - Samba3-schema is missing sambaTrustedDomainPassword
Ticket #22 - RFE: Support sendmail LDAP routing schema
Ticket #161 - Review and address latest Coverity issues
Ticket #140 - incorrect memset parameters
Trac Ticket 35 - Log not clear enough on schema errors
Trac Ticket 139 - eliminate the use of char *dn in favor of Slapi_DN *dn
Trac Ticket #52 - FQDN set to nsslapd-listenhost makes the server start fail if IPv4-mapped-IPv6 address is given
2012-02-03 20:19:02 -07:00
Rich Megginson
2358913aec Ticket #272 - add tombstonenumsubordinates to schema 2012-01-24 14:05:55 -07:00
Rich Megginson
78f687425c fixes for systemd - remove .pid files after shutting down servers
fixes for systemd - remove .pid files after shutting down servers
Ticket #263 - add systemd include directive
Ticket #264 - upgrade needs better check for "server is running"
(cherry picked from commit 7dfddf14e3e83bc1ad68c3fd1182344f60b4a132)
2012-01-23 15:51:39 -07:00
Rich Megginson
5f42e703e4 the 389-ds-base 1.2.10.a7 release - several bug fixes
Ticket #262 - pid file not removed with systemd
Ticket #50 - server should not call a plugin after the plugin close function is called
Ticket #18 - Data inconsitency during replication
Ticket #49 - better handling for server shutdown while long running tasks are active
Ticket #15 - Get rid of rwlock.h/rwlock.c and just use slapi_rwlock instead
Ticket #257 - repl-monitor doesn't work if leftmost hostnames are the same
Ticket #12 - 389 DS DNA Plugin / Replication failing on GSSAPI
6aaeb77 add a hack to disable sasl hostname canonicalization
Ticket 168 - minssf should not apply to rootdse
Ticket #177 - logconv.pl doesn't detect restarts
Ticket #159 - Managed Entry Plugin runs against managed entries upon any update without validating
Ticket 75 - Unconfigure plugin opperations are being called.
Ticket 26 - Please support setting defaultNamingContext in the rootdse.
Ticket #71 - unable to delete managed entry config
Ticket #167 - Mixing transaction and non-transaction plugins can cause deadlock
Ticket #256 - debug build assertion in ACL_EvalDestroy()
Ticket #4 - bak2db gets stuck in infinite loop
Ticket #162 - Infinite loop / spin inside strcmpi_fast, acl_read_access_allowed_on_attr, server DoS
Ticket #3: acl cache overflown problem
Ticket 1 - pre-normalize filter and pre-compile substring regex - and other optimizations
Ticket 2 - If node entries are tombstone'd, subordinate entries fail to get the full DN.
2012-01-20 19:29:17 -07:00
Dennis Gilmore
af73fc868b - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 14:10:26 -06:00
Rich Megginson
9fd072ebb2 fix shutdown crash - fix systemd dirsrv.target - entryusn fix - csn improvements
Bug 755725 - 389 programs linked against openldap crash during shutdown
Bug 755754 - Unable to start dirsrv service using systemd
Bug 745259 - Incorrect entryUSN index under high load in replicated environment
d439e3a use slapi_hexchar2int and slapi_str_to_u8 everywhere
5910551 csn_init_as_string should not use sscanf
b53ba00 reduce calls to csn_as_string and slapi_log_error
c897267 fix member variable name error in slapi_uniqueIDFormat
66808e5 uniqueid formatting - use slapi_u8_to_hex instead of sprintf
580a875 csn_as_string - use slapi_uN_to_hex instead of sprintf
Bug 751645 - crash when simple paged fails to send entry to client
Bug 752155 - Use restorecon after creating init script lock file
2011-12-19 09:22:07 -07:00
Rich Megginson
07dfaffa27 Bug fixes for setup -u, coverity, modrdn 100% cpu, entryusn, referint txn
Bug 751495 - 'setup-ds.pl -u' fails with undefined routine 'updateSystemD'
Bug 750625 750624 750622 744946 Coverity issues
Bug 748575 - part 2 - rhds81 modrdn operation and 100% cpu use in replication
Bug 748575 - rhds81 modrn operation and 100% cpu use in replication
Bug 745259 - Incorrect entryUSN index under high load in replicated environment
f639711 Reduce the number of DN normalization
c06a8fa Keep unhashed password psuedo-attribute in the adding entry
Bug 744945 - nsslapd-counters attribute value cannot be set to "off"
8d3b921 Use new PLUGIN_CONFIG_ENTRY feature to allow switching between txn and regular
d316a67 Change referential integrity to be a betxnpostoperation plugin
2011-11-04 15:55:41 -06:00
Rich Megginson
6ca11f4721 fix config del/add mods - memberof is transaction aware
Bug 741744 - part3 - MOD operations with chained delete/add get back error 53
1d2f5a0 make memberof transaction aware and able to be a betxnpostoperation plug in
b6d3ba7 pass the plugin config entry to the plugin init function
28f7bfb set the ENTRY_POST_OP for modrdn betxnpostoperation plugins
Bug 743966 - Compiler warnings in account usability plugin
2011-10-07 21:05:45 -06:00
Rich Megginson
5e57d04aa7 fix transaction support in ldbm_delete 2011-10-05 17:08:55 -06:00
Rich Megginson
a1eaf04e5c resource limits for simple paged results
resource limits for simple paged results
Bug 740942 - allow resource limits to be set for paged searches independently of limits for other searches/operations
Bug 741744 - MOD operations with chained delete/add get back error 53 on backend config
Bug 742324 - allow nsslapd-idlistscanlimit to be set dynamically and per-user
2011-10-05 15:40:17 -06:00
Rich Megginson
96d52cc505 Bug 695736 - Providing native systemd file 2011-09-21 12:40:22 -06:00
Rich Megginson
19de0cb06f corrected source 2011-09-07 08:45:21 -06:00
Rich Megginson
e9513bcbb4 Bug 735114 - renaming a managed entry does not update mepmanagedby 2011-09-06 19:40:07 -06:00
Rich Megginson
11e20b6a99 Bug 735121 - simple paged search + ip/dns based ACI hangs server
Bug 722292 - (cov#11030) Leak of mapped_sdn in winsync rename code
Bug 703990 - cross-platform - Support upgrade from Red Hat Directory Server
Introducing an environment variable USE_VALGRIND to clean up the entry cache and dn cache on exit.
2011-09-01 14:31:40 -06:00
Rich Megginson
7113476120 Bug 732153 - subtree and user account lockout policies implemented?
Bug 722292 - Entries in DS are not updated properly when using WinSync API
2011-08-31 10:21:48 -06:00
Rich Megginson
3046c63687 389-ds-base-1.2.9.7 - bugfix update
389-ds-base-1.2.9.7 - bugfix update
Bug 733103 - large targetattr list with syntax errors cause server to crash or hang
Bug 633803 - passwordisglobalpolicy attribute brakes TLS chaining
Bug 732541 - Ignore error 32 when adding automember config
Bug 728592 - Allow ns-slapd to start with an invalid server cert
2011-08-25 10:40:37 -06:00
Rich Megginson
783a787702 winsync, upgrade, and ruv/counter bug fixes
winsync, upgrade, and ruv/counter bug fixes
Bug 728510 - Run dirsync after sending updates to AD
Bug 729717 - Fatal error messages when syncing deletes from AD
Bug 729369 - upgrade DB to upgrade from entrydn to entryrdn format is not working.
Bug 729378 - delete user subtree container in AD + modify password in DS == DS crash
Bug 723937 - Slapi_Counter API broken on  32-bit F15
fixed again - separate tests for atomic ops and atomic bool cas
2011-08-10 16:30:18 -06:00
Rich Megginson
ddbda59fe7 Fix another coverity NULL deref in previous patch
Fix another coverity NULL deref in previous patch
Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
2011-08-08 09:36:10 -06:00
Rich Megginson
cf7c2133b4 Fix coverity NULL deref in previous patch
Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
Fix coverity NULL deref in previous patch
2011-08-04 08:27:15 -06:00
Rich Megginson
aa1f703233 previous patch broke build on el5
Bug 727511 - ldclt SSL search requests are failing with "illegal error number -1" error
previous patch broke build on el5
2011-08-04 07:57:59 -06:00
Rich Megginson
13cccf8eb2 Bug 727511 - ldclt SSL search requests are failing with "illegal error numbe
Bug 727511 - ldclt SSL search requests are failing with "illegal error numbe
r -1" error
2011-08-03 17:02:42 -06:00
Rich Megginson
854f5e62fe Bug 723937 - Slapi_Counter API broken on 32-bit F15
Bug 723937 - Slapi_Counter API broken on  32-bit F15
fixed to use configure test for GCC provided 64-bit atomic functions
2011-08-02 09:28:18 -06:00
Rich Megginson
f8b7053608 the 389-ds-base-1.2.9.1 release
the 389-ds-base-1.2.9.1 release
Bug 663752 - Cert renewal for attrcrypt and encchangelog
this was "re-fixed" due to a deadlock condition with cl2ldif task cancel
Bug 725953 - Winsync: DS entries fail to sync to AD, if the User's CN entry contains a comma
Bug 725743 - Make memberOf use PRMonitor for it's operation lock
Bug 725542 - Instance upgrade fails when upgrading 389-ds-base package
Bug 723937 - Slapi_Counter API broken on  32-bit F15
2011-08-01 12:03:05 -06:00
Petr Sabata
706e467ded Perl mass rebuild 2011-07-21 18:14:29 +02:00
Petr Sabata
3f2890b7a8 Perl mass rebuild 2011-07-20 11:18:00 +02:00