Commit Graph

2211 Commits

Author SHA1 Message Date
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
Kurt Zeilenga
bd9323efc3 Use LDAP_P in prototype for ldap_pvt_inet_aton 1999-08-04 18:27:15 +00:00
Gary Williams
b1701d24e1 if urls is NULL, default to ldap:/// 1999-08-04 18:26:19 +00:00
Gary Williams
a1c9d88e49 don't force debug to 65535 1999-08-04 18:13:46 +00:00
Hallvard Furuseth
023e18fb4a s/return 0/return EXIT_SUCCESS/ in main(), #include <ac/stdlib.h> to get EXIT_* 1999-08-04 06:05:05 +00:00
Hallvard Furuseth
c0a0028c43 Align somewhat with ldif2ldbm: Obey HAVE_SYS_PARAM_H, cast strcasecmp to AVL_CMP 1999-08-04 05:53:50 +00:00
Hallvard Furuseth
48b63d4f16 Factor out ldif2* intialization to ldif2common.c 1999-08-04 05:49:36 +00:00
Hallvard Furuseth
1f57e67d51 Silence libtool if `make -s' is running 1999-08-04 03:42:31 +00:00
Kurt Zeilenga
1fe5f59027 Add sasl.c 1999-08-04 00:44:02 +00:00
Kurt Zeilenga
b3ce9d497c non-blocking connect needs special handling under Winsock. 1999-08-04 00:40:03 +00:00
Kurt Zeilenga
b67eb8e2be Don't have time to finish SASL right now... this is a work in progress
but is safely tucked away behind --with-cyrus-sasl.
1999-08-04 00:11:22 +00:00
Kurt Zeilenga
1e7812f238 Forced commit: last log message incorrect.
Change was to support __res_search in -lbind
1999-08-03 23:25:22 +00:00
Kurt Zeilenga
354d49fb9a List supportedSASLmechanisms based upon what sasl_listmech() returns. 1999-08-03 23:23:05 +00:00
Kurt Zeilenga
ecb9c3b3fb 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.
1999-08-03 22:15:19 +00:00
Kurt Zeilenga
ecbb75f930 Update the sleep to 10 seconds (last commit only changed the echo) 1999-08-03 21:47:35 +00:00
Kurt Zeilenga
64be0a23bb 5 seconds just isn't long enough 1999-08-03 21:46:44 +00:00
Kurt Zeilenga
10591cb47d Update default access usage comment. 1999-08-03 21:35:53 +00:00
Kurt Zeilenga
643091f1f7 change order of tag and err in logging (only). Does not effect encoding. 1999-08-03 20:28:16 +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
32ba884d8a Addition to previous log: Also killed 2-digit year numbers in the example. 1999-08-03 10:57:04 +00:00
Hallvard Furuseth
882d7444a0 s/OpenLDAP-bugs/OpenLDAP-its/ 1999-08-03 10:08:49 +00:00
Hallvard Furuseth
b7e5d904b9 Replace @umich bugreport/support addresses with @openldap 1999-08-03 10:07:58 +00:00
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