Howard Chu
6c1a786d6c
Fix previous commit, wrong if condition
2002-05-03 13:07:42 +00:00
Howard Chu
ed871b997c
Break up large SASL writes into units of SASL maxoutbuf size.
2002-05-03 13:04:55 +00:00
Howard Chu
931c4eb35f
For Cyrus 2, cannot free session_callbacks in ldap_int_sasl_open, must
...
wait until ldap_int_sasl_close because SASL doesn't copy our structure,
it uses it directly.
2002-05-03 12:10:47 +00:00
Pierangelo Masarati
033631f30a
s/LDAP_UNWILLING_TO_PERFORM/LDAP_ADMINLIMIT_EXCEEDED/ when search candidates exceed unckecked limit
2002-05-03 10:27:37 +00:00
Kurt Zeilenga
8c152396b9
Matched Values implementation (ITS#1776) based upon submission
...
form Mikhail Sahalaev <M.Sahalayev@pgr.salford.ac.uk>.
Further work needed:
add testxxx-matchedvalues
rework ldapsearch(1) portion of patch to generalize use of options
---
Copyright 2001, Mikhail Sahalaev, All rights reserved.
This software is not subject to any license of University Of
Salford.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice
is preserved.
2002-05-02 18:56:56 +00:00
Pierangelo Masarati
71aa1c5dc9
clarifications
2002-05-02 16:49:47 +00:00
Pierangelo Masarati
4f24ebbb8d
3rd step at updating docs by hallvard Furuseth (with minor changes in slapd-meta.5)
2002-05-02 16:35:16 +00:00
Howard Chu
b732d3ec55
Fix previous commit, only zero out v3 refer_cnt if we got a SEARCH_RESULT.
...
If we got a SEARCH_REFERENCE, we need to keep going...
2002-05-02 12:08:19 +00:00
Pierangelo Masarati
b9d74aba5f
broken berval after successful rewrite
2002-05-02 11:42:11 +00:00
Pierangelo Masarati
c7224dc31e
back-meta needs librewrite and back-ldap; automatically enable them
2002-05-02 09:06:12 +00:00
Pierangelo Masarati
2ca323d2b5
Fixes ITS#1786: dynamically growing number of tokens in config line
...
for both slapd and slurpd
Copyright 2002, John Morrissey (jwm at horde dot net), All rights reserved.
This is free software; you can redistribute and use it under the same terms
as OpenLDAP itself.
Applied with changes
2002-05-02 08:48:14 +00:00
Randy Kunkee
260331e622
Remove debugging fluff.
2002-05-02 08:14:01 +00:00
Randy Kunkee
1042e3f04c
Generate ldaptclerr.h correctly.
2002-05-02 08:11:41 +00:00
Howard Chu
d879fb351b
Added config keyword descriptions from ITS#966. Minor cleanup.
2002-05-01 20:24:56 +00:00
Pierangelo Masarati
4ad033a298
couple of fixes
2002-05-01 19:36:24 +00:00
Kurt Zeilenga
888a7c4efc
Error if ar(1) is missing. (ITS#1772)
2002-05-01 19:22:32 +00:00
Howard Chu
0bb46f937b
From Hallvard, with slight changes
2002-05-01 19:21:21 +00:00
Howard Chu
b3d0ab87aa
More cleanups for suffixmassage DNs
2002-05-01 19:05:09 +00:00
Howard Chu
7fae7fe155
Changed be_[n]suffix, be_[n]suffixAlias to BerVarray. No more bvec's anywhere.
2002-05-01 18:50:14 +00:00
Kurt Zeilenga
5b06af70bb
Patch: Perl backend sends bind result twice (ITS#1783)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
perl_back_bind() should not send LDAP_SUCCESS, the frontend does that.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
2002-05-01 18:10:14 +00:00
Pierangelo Masarati
c030dbfefd
massage dn-valued attributes also when compiled without --enable-rewrite
2002-05-01 17:53:32 +00:00
Pierangelo Masarati
c1edf76e20
use BerVarray for suffix_massaging stuff
2002-05-01 17:45:03 +00:00
Pierangelo Masarati
1aa96af216
second round at ITS#1749
2002-05-01 16:38:30 +00:00
Pierangelo Masarati
6feec86e5d
- trim check for real naming context already defined as suffix
...
- improve automatic massaging (prettify once)
- add (optimistic) automatic filter massaging
- cleanup of massaging stuff
2002-05-01 11:41:57 +00:00
Howard Chu
48fb754cc0
Added RFC 2459 PKCS9 emailAddress
2002-05-01 06:34:49 +00:00
Kurt Zeilenga
d82d018f20
add an RFC 2849 check... but behind #if 0 as I'm now thinking this
...
is not appropriate.
2002-05-01 04:40:26 +00:00
Kurt Zeilenga
96483c8dcd
cleanup before working on changes
2002-05-01 04:23:59 +00:00
Kurt Zeilenga
af02eee0d5
Reworking backend_check_restrictions for extensions
...
Should resolve ITS#1781.
2002-05-01 01:04:57 +00:00
Howard Chu
c9699c1072
Fix previous commit - must fully init newAVA
2002-04-30 14:43:05 +00:00
Howard Chu
f5fd4dc355
Added ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
...
UNIVERSALSTRING to UTF-8 format.
2002-04-30 13:57:24 +00:00
Howard Chu
b005540094
Added ldap_ucs_to_utf8s to convert ASN.1 T61STRING, BMPSTRING, and
...
UNIVERSALSTRING to UTF-8 format.
Rewrote ldap_X509dn2bv to check ASN.1 types and use above function.
2002-04-30 13:57:01 +00:00
Howard Chu
0f966d2fdb
Changed ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
...
in dn parameter and return a result code.
Changed dnX509peerNormalize as above. Added debug message on failure to
retrieve client DN.
2002-04-30 13:52:49 +00:00
Howard Chu
de3e81cebb
Changed ldap_pvt_tls_get_my_dn and ldap_pvt_tls_get_peer_dn to store result
...
in dn parameter and return a result code.
2002-04-30 13:50:56 +00:00
Pierangelo Masarati
22c45ec87b
couple of fixes
2002-04-29 20:36:04 +00:00
Pierangelo Masarati
d019bff7b8
First commit of Hallvard's backend documentation effort
...
Backend documentation patch, version 1
================
Most of this text is taken from OpenLDAP. The work of rewriting it
to manual pages is done by by Hallvard B. Furuseth and placed into
the public domain. This software is not subject to any license of
the University of Oslo.
================
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.
2002-04-29 20:24:29 +00:00
Pierangelo Masarati
6b8828ed28
handle trivial cases
2002-04-29 19:14:42 +00:00
Jong Hyuk Choi
5291b41336
pointer initialization
2002-04-29 16:42:41 +00:00
Pierangelo Masarati
d3058532c9
honor limits if below soft limit
2002-04-29 10:12:50 +00:00
Howard Chu
cef9fcf78b
Fix check for "anonymous" in sasl_getdn
2002-04-27 03:44:23 +00:00
Julius Enarusai
ed8f299245
ITS#1730: Misc typos in NEW_LOGGING code from Hallvard
2002-04-25 22:12:44 +00:00
Pierangelo Masarati
d2ee0b1758
fix off-by-one bug; use s/sprintf/snprintf/
2002-04-25 19:23:37 +00:00
Howard Chu
43167d0fa6
Fix ITS#1774, BDB keys need ulen and flags to be initialized because BDB
...
tries to retrieve both the key and the data.
2002-04-25 05:16:15 +00:00
Howard Chu
c7262c7599
Added rebind-as-user option; saves bind credentials and sets a rebind_proc
...
to allow chasing referrals using the same user's credentials.
2002-04-25 02:05:34 +00:00
Ralf Haferkamp
bef9945dff
- some code cleanups
...
- fix for the client caching code (cache is flushed after modifications
rather than removing only the changed entry)
The code was submitted by Jeff Costlow <j.costlow@f5.com> under the
following terms:
Copyright 2002, F5 Networks, Inc, All rights reserved.
This software is not subject to any license of F5 Networks.
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.
2002-04-23 15:28:11 +00:00
Kurt Zeilenga
3e3911247b
Remove lint.
2002-04-22 23:03:33 +00:00
Kurt Zeilenga
a532092d00
Update configure
2002-04-22 17:40:34 +00:00
Kurt Zeilenga
0ca5d06f77
Re: PRIVATE: Patch: Passwords (ITS#1740)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
2002-04-22 17:31:16 +00:00
Howard Chu
ccca59e3fe
ITS#1749 added some descriptions for fetch, rewrite, rlookups, modules,
...
ldbm api/types
2002-04-20 10:24:24 +00:00
Howard Chu
5de276fa25
ITS#1749 added maxderefdepth, suffiaxalias, TLSCACertificatePath,
...
ucdata-path, moduleload, modulepath. sasl-external-x509dn-convert has
been deleted from the code.
2002-04-20 10:06:23 +00:00
Howard Chu
e265b47181
Comment out "logfile", its code is behind #ifdef NEW_LOGGING in config.c.
2002-04-20 09:23:19 +00:00