Kurt Zeilenga
eea46a1bb4
Fix tid vs thread typo
1999-08-17 00:10:43 +00:00
Hallvard Furuseth
6147119dc8
Add ldap_*2name() in <include,libldap>/schema, use them in slapd/schema
1999-08-16 02:59:11 +00:00
Hallvard Furuseth
e5e91d94aa
Add missing newline and EOF
1999-08-16 02:40:00 +00:00
Kurt Zeilenga
83abd65d49
Add extensible filter support to -lldap. Need to implement server
...
side (which most is dependent upon having matching rule support).
1999-08-07 18:54:49 +00:00
Kurt Zeilenga
0fe5da0f9a
Fix filter escapes. ITS#247
1999-08-07 04:48:16 +00:00
Kurt Zeilenga
e0691dfbc0
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
1999-08-05 02:25:19 +00:00
Kurt Zeilenga
0a8f4c0458
base64 encode userPassword
1999-08-05 00:30:45 +00:00
Kurt Zeilenga
dce3f6e5bc
Add copyright notices
1999-08-04 23:57:27 +00:00
Kurt Zeilenga
3820b35870
Use -llber set_nonblock implementation.
...
Use ldap_int_tblsize instead of s+1 in select.
Need to eliminate all to read(2).
1999-08-04 18:32:38 +00:00
Kurt Zeilenga
7275861039
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.
1999-08-04 18:29:59 +00:00
Gary Williams
b1701d24e1
if urls is NULL, default to ldap:///
1999-08-04 18:26:19 +00:00
Kurt Zeilenga
b3ce9d497c
non-blocking connect needs special handling under Winsock.
1999-08-04 00:40:03 +00:00
Kurt Zeilenga
2b79ff2c48
Initial inet_aton() detection.
1999-08-03 20:02:44 +00:00
Kurt Zeilenga
1b41dfbce0
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)
1999-08-03 19:27:22 +00:00
Julio Sánchez Fernández
4f92977f33
Needs ldap_config.h to get LDAP_DIRSEP
1999-08-03 19:04:02 +00:00
Kurt Zeilenga
59c8a88c2f
Needs <ac/stdlib.h> for EXIT_*
1999-08-03 18:41:55 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
f7fe39e5f2
s/*vlenp = NULL;/*vlenp = 0;/
1999-08-03 04:02:16 +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
236be7f5a7
Fix --enable-dns compilation problems.
1999-08-02 07:41:29 +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
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
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
8a97fb0201
Cast ber_read() arg to char*
1999-08-01 20:27:03 +00:00
Hallvard Furuseth
894b74d730
Use ber_set_option() instead of setting lber_debug
1999-08-01 20:22:26 +00:00
Hallvard Furuseth
e3d164d10e
Simplify and speed up a bit by removing CHAR64LONG16.
1999-08-01 11:16:53 +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
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
Kurt Zeilenga
428faea410
Clarify loop break.
1999-07-29 23:05:15 +00:00
Kurt Zeilenga
5695d59007
Ignore lines that begin with "#".
1999-07-29 18:39:32 +00:00
Kurt Zeilenga
c881940100
relocate wsa error to -llutil
1999-07-27 00:36:58 +00:00
Kurt Zeilenga
b217a4fc51
Remove lint, remove YEAR_PEDANTIC macro, update comment.
1999-07-27 00:36:33 +00:00
Kurt Zeilenga
b9764fff76
Back out paralyzing changes.
1999-07-24 21:40:58 +00:00
Howard Chu
61d0ffd135
Minor changes to support parallel make: Eliminate for-loops for building
...
subdirectories; add explicit dependencies for subdirs that need them.
1999-07-24 08:25:48 +00:00
Kurt Zeilenga
de67e6d327
Fix leak of default filter.
1999-07-23 22:02:57 +00:00
Kurt Zeilenga
eb4c486b90
Update RFC comments
1999-07-23 21:56:21 +00:00
Kurt Zeilenga
5fea91c3ec
Accept ldap://foo:port (ie: no trailing '/')
1999-07-23 21:54:18 +00:00
Julio Sánchez Fernández
9cdd2c2037
ldap_url_parse was fundamentally broken. It would quit before
...
time, skipping the filter, for instance. Also, we were parsing
twice the scope and the filter. I think this change is right,
but could use more eyeballs...
1999-07-23 20:36:11 +00:00
Randy Kunkee
6bef298437
Remove extra code (non-functional change, just produces warning on OSF4.0e).
1999-07-23 00:56:56 +00:00
Kurt Zeilenga
d147e609d2
Implement TCP_NODELAY on both client and server side.
1999-07-22 21:49:35 +00:00
Kurt Zeilenga
42304b7ada
Fix control parsing and controls free routine.
1999-07-22 04:47:58 +00:00
Kurt Zeilenga
933908f72f
ACL CHANGES:
...
by <who> <access> changed to by <who>+ <access> (joined with AND)
added peername=<regex> sockname=<regex> url=<regex>
removed addr=<regex> (use peername instead).
replace dn_upcase with str2upper and str2lower. Use where needed.
1999-07-21 20:54:23 +00:00
Kurt Zeilenga
17eb202732
Unhex url extensions.
1999-07-21 20:44:40 +00:00
Julio Sánchez Fernández
5f53b747a5
Partial support for a new option to help debug TLS connections,
...
not yet user-settable. Defaults "on" for now.
Partial support for temporary RSA keys, skeleton for DH.
Add call to X509V3_add_standard_extensions() on init, mod_ssl
does this too, but I am unsure about what it does.
Move management of client CA certificates to a new routine, since
it is going to get more complex than the current code.
1999-07-21 19:18:08 +00:00