Commit Graph

266 Commits

Author SHA1 Message Date
Kurt Zeilenga
4af9eb9715 Update copyright notices 2009-01-22 00:40:04 +00:00
Hallvard Furuseth
3fff0a7919 Warning cleanup: signed meets unsigned: SASL struct propval {unsigned nvalues}. 2008-10-18 23:59:53 +00:00
Hallvard Furuseth
7b3bdf2185 Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_ERROR.
2008-10-13 10:18:15 +00:00
Pierangelo Masarati
6845c2510d don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732) 2008-10-09 22:34:43 +00:00
Howard Chu
d64f5be105 ITS#5368 partially revert 1.239 2008-02-11 08:53:11 +00:00
Hallvard Furuseth
cd63a0c43b Warning cleanup: function ptr <=> void* at ldap_pvt_thread_pool_<set/get>key() 2008-01-11 06:07:43 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
94db6fc9e8 Axe obsolete Cyrus 1.5 support 2007-12-23 01:33:39 +00:00
Howard Chu
95a37bc024 ITS#5298 use SASL's memory for temporary DN storage 2007-12-23 01:21:56 +00:00
Howard Chu
d0eac819f7 ITS#5259 fix sasl_auxprop_store to allow cleanup after bindop is gone 2007-12-22 22:53:58 +00:00
Howard Chu
f8ad90167b ITS#5209 sasl_host may be different from global_host 2007-11-05 09:30:40 +00:00
Howard Chu
c103b3c9e9 ITS#3864 use sasl_ssf_t where expected 2007-10-06 14:50:02 +00:00
Howard Chu
c4dbe1a274 Attribute/Modification value counters 2007-09-21 08:43:56 +00:00
Pierangelo Masarati
05b9123a03 consistently use o_log_prefix 2007-08-22 09:17:09 +00:00
Howard Chu
88cbe052e0 Fallout from ITS#4986 - remove unused param of select_backend() 2007-07-13 03:18:20 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Hallvard Furuseth
7372fea8b5 printf format paranoia: macros could be changed to contain format chars 2007-05-18 14:48:28 +00:00
Howard Chu
e86e4f98af ITS#4954 clear c_sasl_dn after error 2007-05-10 19:34:27 +00:00
Howard Chu
b87965303e coverity fix, slapd_rw_apply NULL filter 2007-05-08 13:57:13 +00:00
Kurt Zeilenga
5953a397fc Fix C errors 2007-02-15 01:41:56 +00:00
Howard Chu
e28627f1e2 Added "slapd" rewrite map handler, connection_fake_init2 to use existing
tmpmemctx without reinitializing
2007-02-14 08:51:47 +00:00
Howard Chu
762170350f Coverity - fix IPv6 addr parsing 2007-02-11 11:56:33 +00:00
Howard Chu
ba68a94f11 Plug global_host race condition/leak 2007-01-25 12:16:55 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Pierangelo Masarati
3de9659781 (blind) compile fix; please review 2006-12-24 10:50:22 +00:00
Pierangelo Masarati
917fbf427a make slap_sasl_open() comply with URL notation for IPv6 addresses 2006-12-15 02:01:58 +00:00
Howard Chu
b42d93f24f ITS#3755 silence strict-aliasing warnings 2006-11-10 10:39:54 +00:00
Pierangelo Masarati
da921ed175 cleanup 2006-01-14 16:51:39 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
754e59543d cleanup 2005-11-20 01:39:19 +00:00
Pierangelo Masarati
1e66d540e1 cleanup for (ITS#4180); has nothing to do with the solution yet... 2005-11-19 14:58:47 +00:00
Kurt Zeilenga
8688a96b9f Additional error detail 2005-11-15 22:45:44 +00:00
Kurt Zeilenga
4f63434511 Improve SASL error handling 2005-11-06 22:43:23 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061 zero out sml_managing any time a Modifications is built (use calloc?) 2005-08-18 08:12:26 +00:00
Howard Chu
9326c2b313 ITS#3845 allow rootpw to be used for rootdn SASL binds, based on
patch from Jason Townsend
2005-08-14 08:00:54 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Hallvard Furuseth
e404a15082 Cleanup 2005-07-31 18:17:13 +00:00
Hallvard Furuseth
a7f82239b6 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-22 14:35:16 +00:00
Pierangelo Masarati
49619058ee really fix the invalid free issue (I totally overlooked this piece of code) 2005-07-21 20:23:47 +00:00
Pierangelo Masarati
1efe2e80f4 attempt to fix invalid free 2005-07-21 18:17:58 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Howard Chu
46fab05997 ITS#3846 don't give hashed passwords to SASL, it only wants cleartext. 2005-07-08 06:02:00 +00:00
Hallvard Furuseth
8a696d21b2 Format fixes (%d<->%lu etc) 2005-07-04 05:29:12 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Kurt Zeilenga
18c3f9e093 Add manage obsolete attributes capability. 2005-05-13 23:51:43 +00:00
Kurt Zeilenga
3e800f20bd <limits.h> cleanup && ITS#3643 2005-04-10 19:32:14 +00:00
Howard Chu
bf0373b486 Add conn->c_sasl_authz_dn, store SASL authzDN separately from authcDN 2005-04-03 09:38:53 +00:00
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00