Randy Kunkee
11eafc253c
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.
1999-08-03 07:23:03 +00:00
Hallvard Furuseth
f7fe39e5f2
s/*vlenp = NULL;/*vlenp = 0;/
1999-08-03 04:02:16 +00:00
Hallvard Furuseth
a9f6fc35f7
Grow buffer[] declaration to make space for " $ " separators
1999-08-03 03:58:49 +00:00
Kurt Zeilenga
f90ed5aef8
Add a little SASL framework and remove old X-DIGEST-MD5 hardcode.
...
This code is not called (yet).
1999-08-03 02:37:42 +00:00
Hallvard Furuseth
79fb44b129
Replace NULLBER with NULL
...
Replace `lber_int_debug = ...' with `ber_set_option( ... )'
1999-08-03 02:31:29 +00:00
Hallvard Furuseth
0310b8b048
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.
1999-08-03 01:38:43 +00:00
Kurt Zeilenga
8a0b9e8a3b
Add HAVE_CYRUS_SASL define
1999-08-03 00:50:52 +00:00
Kurt Zeilenga
6f51f4d671
Add detection for Cyrus SASL library.
...
Improve detection of FreeBSD FetchURL library.
1999-08-02 23:35:03 +00:00
Kurt Zeilenga
97683ac5fd
ldap_perror: don't print matched DN or error text if length is zero.
1999-08-02 20:03:50 +00:00
Kurt Zeilenga
c73f17fd6e
Add -dn as a synonym for -dnt.
1999-08-02 17:19:05 +00:00
Kurt Zeilenga
a847e20589
multiline separator: s/"$"/" $ "/
1999-08-02 17:10:29 +00:00
Kurt Zeilenga
236be7f5a7
Fix --enable-dns compilation problems.
1999-08-02 07:41:29 +00:00
Kurt Zeilenga
538048dac2
Disable connectionless support until someone implements
...
a UDP listener.
1999-08-02 07:40:15 +00:00
Hallvard Furuseth
8a9b9292de
Change unsigned long cast of offset to size_t in ldap_build_filter()
1999-08-02 05:51:04 +00:00
Hallvard Furuseth
8743c05359
Change 'unsigned long len' to ber_len_t in get_filter()
1999-08-02 05:29:35 +00:00
Hallvard Furuseth
2da4fca5c3
Fix format %x -> %lx in des_string_to_key
1999-08-02 05:25:17 +00:00
Hallvard Furuseth
a9871d7402
Fix bitmasks '0xhh << n' to '(masked type)0xhh << n'
1999-08-02 01:55:48 +00:00
Hallvard Furuseth
2d4f915de9
Remove unsigned long: Change to ber_len_t or ber_tag_t.
...
Remove sizeof(long).
Change ber_getnint to return ber_len_t instead of ber_tag_t.
1999-08-02 01:50:08 +00:00
Hallvard Furuseth
6ae8c7e5cf
Fix ber_put_int_or_enum to do its bit fiddling with unsigned values
1999-08-02 01:38:00 +00:00
Hallvard Furuseth
576956ceb0
Finish s/lber_bprint/ber_bprint/ renaming
1999-08-02 01:20:48 +00:00
Hallvard Furuseth
294d9f99b2
Print ldap_err2string(error number) instead of just error number
1999-08-02 01:13:39 +00:00
Hallvard Furuseth
67ff28bf52
Include <ac/stdlib.h> instead of <stdlib.h>
1999-08-01 22:42:34 +00:00
Hallvard Furuseth
e7738c2df7
s/LDAP_CONST/const/ in ldap_pvt_asser() prototype
1999-08-01 21:41:46 +00:00
Hallvard Furuseth
eaf331f4aa
Use $SLURPD_DEBUG
1999-08-01 21:33:37 +00:00
Hallvard Furuseth
e259fc72e0
Define EXIT_SUCCESS and EXIT_FAILURE if necessary
1999-08-01 21:18:38 +00:00
Hallvard Furuseth
b10d32ab18
Add missing LDAP_CONST in ber_pvt_assert() prototype
1999-08-01 21:08:14 +00:00
Hallvard Furuseth
d716086a2d
Delete spurious 7th arg (of 8) to send_search_entry()
1999-08-01 20:31:03 +00:00
Hallvard Furuseth
d945144131
s/unsigned long/ber_len_t/ in typedef BERTranslateProc
1999-08-01 20:29:11 +00:00
Hallvard Furuseth
8a97fb0201
Cast ber_read() arg to char*
1999-08-01 20:27:03 +00:00
Hallvard Furuseth
a49590eab7
Missed an instance of s/struct attrinfo/AttrInfo/
1999-08-01 20:25:15 +00:00
Hallvard Furuseth
c34a8d8f5e
Kill lber_debug
1999-08-01 20:23:35 +00:00
Hallvard Furuseth
894b74d730
Use ber_set_option() instead of setting lber_debug
1999-08-01 20:22:26 +00:00
Hallvard Furuseth
d5840e809f
Always include <stdlib.h>, to avoid massive breakage when !STDC_HEADERS.
...
If someone really lacks stdlib.h, they should introduce HAVE_STDLIB_H.
1999-08-01 18:44:32 +00:00
Kurt Zeilenga
d35191a20a
Clarify that some files may come with additional restrictions.
1999-08-01 18:38:12 +00:00
Hallvard Furuseth
5d42c1d022
Align with ldif2id2children.c: s/int vlen;/ber_len_t vlen;/
1999-08-01 17:54:09 +00:00
Hallvard Furuseth
79cb528e7e
s/getopt() != -1/getopt() != EOF/
1999-08-01 15:35:53 +00:00
Hallvard Furuseth
e3d164d10e
Simplify and speed up a bit by removing CHAR64LONG16.
1999-08-01 11:16:53 +00:00
Kurt Zeilenga
a2d948f9f2
Add openldap-VERSION.tgz comment
1999-08-01 06:00:18 +00:00
Kurt Zeilenga
6fb50094d8
Experimental fix to ITS#179 fix.
1999-07-31 03:37:40 +00:00
Kurt Zeilenga
48d5465ab7
Add support for "foo:< http://localhost/path .
...
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
1999-07-31 03:23:26 +00:00
Kurt Zeilenga
9160692ab1
Remove "const" error... and add prototype for yet unimplemented
...
ldif_fetch_url().
1999-07-31 02:17:26 +00:00
Kurt Zeilenga
3f566efb94
remove .lo and .core on "make clean"
1999-07-31 01:11:33 +00:00
Kurt Zeilenga
07b734035d
Kludge ldapmodify to accept "version: 1" in LDIF input.
1999-07-31 00:35:30 +00:00
Kurt Zeilenga
b73b0c6158
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)
1999-07-30 23:00:02 +00:00
Julio Sánchez Fernández
18393e882c
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.
1999-07-30 18:53:23 +00:00
Julio Sánchez Fernández
3a1aab088d
IDs in the LDIF input were not being used in id2children creation.
1999-07-30 18:37:00 +00:00
Kurt Zeilenga
8f267f7f71
Add echo...
1999-07-30 01:16:21 +00:00
Kurt Zeilenga
95dfc02cac
Fix opendlap typo
1999-07-30 01:01:17 +00:00
Kurt Zeilenga
b06ca56d42
Fix mkrelease
1999-07-30 00:57:35 +00:00
Kurt Zeilenga
428faea410
Clarify loop break.
1999-07-29 23:05:15 +00:00