Commit Graph

254 Commits

Author SHA1 Message Date
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
Howard Chu
89210b7100 Added ldap_pvt_sasl_secprops_unparse, slap_sasl_secprops_unparse 2005-03-01 11:42:31 +00:00
Howard Chu
dfb6f870f6 Rearrange, merge sasl config back into main config 2005-02-20 06:47:54 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
2f5e17d056 improve usability of global ovrlays for write operations; may need to anticipate SLAPI accordingly. More work needed for add (overlays need to understand they're global and call slap_mods2entry() explicitly) 2004-12-11 17:48:15 +00:00
Pierangelo Masarati
f3a959970e hardcode "uid" into slapd & improve previous commit 2004-12-07 10:01:48 +00:00
Pierangelo Masarati
cc78fb525b ITS#3419: values in built auth DNs may need DN escaping, so build them via ldap_dn2bv 2004-12-06 15:17:23 +00:00
Howard Chu
90cc409325 Split Operation into Opheader and op 2004-11-25 22:59:00 +00:00
Kurt Zeilenga
38c7e86d67 ITS#3311: check sasl_auxprop_add_plugin return
cleanup
2004-10-11 20:52:31 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Pierangelo Masarati
761f287943 multiple precision with BIGNUM/gmp/ulong 2004-09-26 22:58:47 +00:00
Jong Hyuk Choi
98dc97bcb9 memory leak fixes 2004-09-11 02:02:09 +00:00