Howard Chu
647b5f84ee
Resurrection/rewrite of CLDAP (RFC1798 Connectionless LDAP).
...
Compile with -DLDAP_CONNECTIONLESS to use this code.
For slapd, use "-h cldap://" to listen on UDP.
For ldapsearch, use "-H cldap://" to query on UDP.
Client-side support is very minimal:
no automatic timeout/retries
no basedn wildcard expansion on results
no support for specifying multiple servers at once.
2001-09-28 00:18:40 +00:00
Kurt Zeilenga
af37269416
Rework do_ldap retry loop to better handle server down errors.
...
Could likely treat other errors (LDAP_BUSY) as non-fatal errors.
2001-09-27 03:13:28 +00:00
Howard Chu
ef7b93242d
Replace some calloc/realloc with ch_calloc/ch_realloc for consistency.
2001-09-26 23:42:53 +00:00
Kurt Zeilenga
c45a6f5c23
Fix up binary search
2001-09-26 03:50:48 +00:00
Kurt Zeilenga
5f4d8a71e6
Use a 64MB stack (instead of a 64K on some systems) by default.
...
This should be tunable...
2001-09-26 02:35:41 +00:00
Kurt Zeilenga
8c758b34f8
Fix build errors
2001-09-26 01:54:39 +00:00
Kurt Zeilenga
37d44620a5
idl_check for back-bdb
2001-09-25 23:56:49 +00:00
Kurt Zeilenga
ef59732180
Add a sample ACL
2001-09-25 20:30:51 +00:00
Kurt Zeilenga
61de99937f
ldif.h include cleanup
2001-09-25 00:03:24 +00:00
Kurt Zeilenga
2af75ecc6a
Trim both \n and \r\n from config files.
2001-09-24 22:18:02 +00:00
Howard Chu
2124673988
Tweaked ID_BLOCKs to record NIDs for INDIRECT blocks as well as directs.
...
Use high bit of NMAX to indicate an INDIRECT. Changes are behind
#ifdef USE_INDIRECT_NIDS
2001-09-22 06:52:32 +00:00
Howard Chu
58f4ffca59
Fix another SEGV from previous patch.
2001-09-22 05:35:52 +00:00
Howard Chu
00a28378f8
Fix previous idl_find patch. Cannot test <=0 with unsigned ints, duh...
2001-09-22 04:10:03 +00:00
Howard Chu
b52795c283
Add idl_find binary search routine, used by idl_insert and idl_split_block
...
instead of linear search.
2001-09-21 20:30:27 +00:00
Kurt Zeilenga
c0c9c47032
bump MAXARGS to 500
2001-09-21 00:48:47 +00:00
Kurt Zeilenga
1bfadb5608
Bump MAXARGS to 500.
2001-09-21 00:48:00 +00:00
Mark Adamson
465ecb85f0
Finished the integerMatch matching rule and the integer syntax.
2001-09-20 15:50:49 +00:00
Pierangelo Masarati
f082328f45
logs changes even if no appropriate replica (or none at all) is defined (ITS#1335)
2001-09-19 09:09:51 +00:00
Kurt Zeilenga
22688a7ad6
Minor cleanup of last commit
2001-09-18 18:24:47 +00:00
Kurt Zeilenga
fb852d7d80
comment out inetLocalMailReciepent as it has no assigned OID
2001-09-18 17:52:43 +00:00
Howard Chu
6b9b0660c9
Fix ITS#1213, OID macro parsing in attributetypes
2001-09-18 11:30:00 +00:00
Kurt Zeilenga
7a18352c06
Patch for SASL EXTERNAL. Needs to be tested with other mechanisms.
2001-09-18 07:44:18 +00:00
Howard Chu
bb06fd8d6b
Fix crashes for SASL/EXTERNAL binds:
...
in slap_sasl_getdn, test id, not dn. dn is still NULL
also, don't check for trailing slash
in slap_sasl_bind, initialize reslen to 0
2001-09-18 03:10:05 +00:00
Kurt Zeilenga
d05e6af326
Clean up include logging
2001-09-17 22:38:52 +00:00
Kurt Zeilenga
baa49e18de
Back out ManageDsaIt change.
2001-09-16 22:03:38 +00:00
Kurt Zeilenga
dba27a3a17
Minor cleanup
2001-09-16 22:02:50 +00:00
Kurt Zeilenga
2d5a817288
Remove lint
2001-09-16 22:00:53 +00:00
Pierangelo Masarati
8a78d022bc
cleanup and cast of logs
2001-09-13 21:30:44 +00:00
Kurt Zeilenga
4039648a2e
Use time_t not char * to represent timestamps.
...
Fixes billionth second since epoch bug.
2001-09-09 21:16:17 +00:00
Kurt Zeilenga
09a7bd4331
Clean up asserts, should assert desc != NULL instead of attr != NULL
2001-09-09 18:58:54 +00:00
Kurt Zeilenga
0a155934ab
Add root DSE supportedFeatures support.
2001-09-09 04:01:07 +00:00
Kurt Zeilenga
82a4f473ce
Update 'invalid data' error message.
2001-09-08 03:55:41 +00:00
Kurt Zeilenga
a8b7e93ef4
Add referral scope checks (ITS#1289) from dshriver@sharemedia.com
2001-09-08 02:37:02 +00:00
Kurt Zeilenga
cd51428dbe
Add IDL debugging code from SuSE.
2001-09-07 21:58:31 +00:00
Dmitry Kovalev
358835218a
finish the prefious fixes... it is really hard to commit a truly good patch without even a chance to check if it is compilable ;)
2001-09-07 18:50:52 +00:00
Dmitry Kovalev
6bf69cbf39
some cosmetics and minor problems fixed, pointed out by Mei-Hui Su (c++-style comments, newlines etc.)
2001-09-07 13:04:11 +00:00
Kurt Zeilenga
ed9b7332fb
Add <limits.h>
2001-09-07 02:08:32 +00:00
Kurt Zeilenga
1b42a20565
Remove extensible filter #ifdef
2001-09-04 18:45:05 +00:00
Kurt Zeilenga
3889e1d955
Add some EINTR logic to back-shell. Assumes fgets() handles
...
such errors in a particular manner.
2001-09-02 00:10:57 +00:00
Kurt Zeilenga
a2ba804e47
Add general extensible matching support and integerBitAndMatch
...
and integerBitOrMatch enhancement (ITS#1302 + minor changes)
from Luke Howard <lukeh@padl.com>.
2001-09-01 17:10:43 +00:00
Kurt Zeilenga
2c9a238571
Allow dn.base=""
2001-09-01 05:01:31 +00:00
Kurt Zeilenga
ef7b181f8b
Open databases using WRCREAT not READER.
2001-09-01 05:00:27 +00:00
Kurt Zeilenga
a49392981a
There is no TLSProtocol option.
2001-08-31 16:48:30 +00:00
Mark Adamson
fac77083cc
Skip over the "dn:" prefix when passing a DN to dn_normalize().
2001-08-29 23:01:24 +00:00
Kurt Zeilenga
2f761834b2
Fix NEW_LGGING typo
2001-08-29 19:49:05 +00:00
Kurt Zeilenga
9a80d76f44
Minor rework of *text = textbuf fix
2001-08-28 21:43:00 +00:00
Kurt Zeilenga
f10028ba06
Apply ACLs to front end objects (root DSE, subschema) consistently
2001-08-28 20:28:34 +00:00
Stig Venaas
70f7e55344
Changed get_listener_addresses() to not use getaddrinfo() for PF_LOCAL
2001-08-26 11:03:27 +00:00
Mark Adamson
7378872731
Need to set error text pointer sooner in entry_schema_check(), or Debug() will SEGV
2001-08-15 15:27:26 +00:00
Pierangelo Masarati
b637967b95
fix malformed test
2001-08-04 16:46:03 +00:00