Howard Chu [Fri, 6 Aug 1999 13:16:26 +0000 (13:16 +0000)]
For dynamic modules, must explicitly zero BackendInfo structure in
init_module. Since it's a local var, you have no idea what kind of
garbage is sitting in important function pointers...
Kurt Zeilenga [Thu, 5 Aug 1999 02:25:19 +0000 (02:25 +0000)]
create SASL_LIBS to hold -lsasl
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
Kurt Zeilenga [Wed, 4 Aug 1999 18:29:59 +0000 (18:29 +0000)]
Provide set_nonblock code which acts upon ber_socket_t and use this
as in sockbuf_set_nonblock code. Allows -llber and -lldap to share
a common implementation.
Kurt Zeilenga [Tue, 3 Aug 1999 22:15:19 +0000 (22:15 +0000)]
Add multimaster replication support (ITS#170) based upon
updated patch submitted Philipp Klaus <ldapml@internet.access.ch>
Can be enabled using --enable-multimaster. TODO:
Replication test likely should be adjusted to test multimaster environment.
Kurt Zeilenga [Tue, 3 Aug 1999 19:27:22 +0000 (19:27 +0000)]
LDAP_OPT_NETWORK_TIMEOUT feature (ITS#239) from Lars Uffmann.
Needs a bit more work.
- global net/api timeouts are not inherited on session creation.
- need configure check for inet_aton() (coming soon)
- ioctl/fcntl portability issues (should share implementation
with lber routines)
Randy Kunkee [Tue, 3 Aug 1999 07:23:03 +0000 (07:23 +0000)]
Ldaptcl package version 1.2:
- Filter no longer a required controlArray member, defaults to objectclass=*.
- Sets errorCode with LDAP macro string value (better to test than the more
human readable values).
- Shorten minimum required characters for search scope definitions: now allows
"base", "one", and "sub". For the latter two, additional characters are
ignored.
- Now compiles successfully with -devel branch (though less tested).
- Client cache management code enabled for OpenLDAP versions <= 1.2.4. (This
code is relatively untested and feedback is welcome.)
- More installation cleanups to work easily as a dynamically loadable Tcl
package.
Remove obsolete 7th arg (opatts) from send_search_entry() calls.
Add missing arg (refs or ctrls) to send_ldap_result() calls.
NOTE: Did not implement referral/ldapcontrol support in back-tcl.
Kurt Zeilenga [Sat, 31 Jul 1999 03:23:26 +0000 (03:23 +0000)]
Add support for "foo:< http://localhost/path.
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
Kurt Zeilenga [Fri, 30 Jul 1999 23:00:02 +0000 (23:00 +0000)]
Enhance LDIF handling
ldapsearch:
use draft guidelines for determining when to use
-t only writes binary attributes to files
-tt writes all attributes to files
output now lists URL instead of path to such files
-T dir can be used to specify directory to create temp files in
-V urlprefix can be used to change the URL prefix
LDIF is now commented (can be disabled using -LL)
LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
put interface changed to allow caller to specify how to encode
put interface uses draft guidelines for determine when to base64 encode
wrapping kludged to match old off by one bug
Tests:
removed trailing space from some attributes (to avoid base64 encoding)
enabled -LLL in defines.sh (should sed output to remove
wrapping/comments/redundant separators)
Misc:
updated codes outputting LDIF to use new put interface
TODO:
handling of version attribute on input
handling of URLs on input (ie: fetch URL)
When recreating a database from an ldif file created by ldbmcat,
NEXTID would not be set to one higher than the highest number
used, but to one higher than the last entry in the ldif file.