]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Tue, 9 Mar 1999 20:21:55 +0000 (20:21 +0000)]
-lldap requires $(KRB_LIBS)
Hallvard Furuseth [Tue, 9 Mar 1999 08:40:36 +0000 (08:40 +0000)]
"const"ify some static arrays, and related parameters/variables
Juan Gomez [Tue, 9 Mar 1999 08:07:57 +0000 (08:07 +0000)]
Added support for deleteoldrdn.
Hallvard Furuseth [Tue, 9 Mar 1999 08:05:27 +0000 (08:05 +0000)]
Fix typo -lxttp => -lxtpp in HAVE_XTPP comment
Hallvard Furuseth [Tue, 9 Mar 1999 07:49:56 +0000 (07:49 +0000)]
Bugfix: Move handling of boolean options in front of invalue==NULL error check
Hallvard Furuseth [Tue, 9 Mar 1999 07:42:17 +0000 (07:42 +0000)]
Replace (int)LDAP_BOOL_GET(...) with LDAP_BOOL_GET(...)==LDAP_OPT_ON
Hallvard Furuseth [Tue, 9 Mar 1999 07:19:18 +0000 (07:19 +0000)]
Pass LDAP_OPT_<ON/OFF> instead of (void*)flag to ldap_set_option
Hallvard Furuseth [Tue, 9 Mar 1999 07:17:48 +0000 (07:17 +0000)]
Remove warning: Enclose initializer in {}.
Hallvard Furuseth [Tue, 9 Mar 1999 07:15:35 +0000 (07:15 +0000)]
Silence warnings: Remove unused variables. Enclose some initializers in in {}.
Hallvard Furuseth [Tue, 9 Mar 1999 06:59:33 +0000 (06:59 +0000)]
include lutil.h to get lutil_passwd()
Hallvard Furuseth [Tue, 9 Mar 1999 06:27:36 +0000 (06:27 +0000)]
Bugfix: Missing parens in `status = ldap_pvt_thread_create(...) != 0'
Hallvard Furuseth [Tue, 9 Mar 1999 05:56:13 +0000 (05:56 +0000)]
Use free instead of ber_bvecfree to free privately malloced data, by JR Heisey
Hallvard Furuseth [Tue, 9 Mar 1999 05:53:21 +0000 (05:53 +0000)]
Check for directory separator `\' in program name, by JR Heisey
Hallvard Furuseth [Tue, 9 Mar 1999 05:50:54 +0000 (05:50 +0000)]
Improve usage message and check, by JR Heisey
Hallvard Furuseth [Tue, 9 Mar 1999 01:59:49 +0000 (01:59 +0000)]
Integrate saucer in OpenLDAP build environment:
Add saucer/Makefile.in, add saucer to configure and top-level Makefile,
include "portable.h" and <ac/*.h>,
replace ldap_debug/lber_debug with ldap_set_option/lber_set_option.
Kurt Zeilenga [Tue, 9 Mar 1999 00:59:37 +0000 (00:59 +0000)]
LINE_WIDTH -> LDIF_LINE_WIDTH
Kurt Zeilenga [Tue, 9 Mar 1999 00:50:41 +0000 (00:50 +0000)]
Add LDIF_ to LINE_WIDTH
Juan Gomez [Tue, 9 Mar 1999 00:42:57 +0000 (00:42 +0000)]
Fixed type by changing rdn_type to new_rdn_type.
Kurt Zeilenga [Mon, 8 Mar 1999 23:14:43 +0000 (23:14 +0000)]
Don't install CFFILES in ldap_r.
Kurt Zeilenga [Mon, 8 Mar 1999 23:13:59 +0000 (23:13 +0000)]
Remove @DEFS@ from CPPFLAGS... we use portable.h unconditionally.
Kurt Zeilenga [Mon, 8 Mar 1999 23:01:23 +0000 (23:01 +0000)]
Use $TERMCAP_LIBS in readline test.
Kurt Zeilenga [Mon, 8 Mar 1999 22:19:48 +0000 (22:19 +0000)]
Add dcobject & uidobject auxilary object classes. Useful for
using dc naming components with structural object classes that
don't allow a 'dc' attribute.
Kurt Zeilenga [Mon, 8 Mar 1999 20:01:17 +0000 (20:01 +0000)]
Regenerate configure and friends.
Hallvard Furuseth [Mon, 8 Mar 1999 03:05:26 +0000 (03:05 +0000)]
Use ldap_<set/get>_option instead of poking into the LDAP structure
Kurt Zeilenga [Mon, 8 Mar 1999 02:31:03 +0000 (02:31 +0000)]
relocate LDAP_LIBPATH to front of LDFLAGS.
Kurt Zeilenga [Mon, 8 Mar 1999 01:48:45 +0000 (01:48 +0000)]
Add GNU readline detection. Needed for saucer enhancement (ITS#96).
Hallvard Furuseth [Mon, 8 Mar 1999 01:20:01 +0000 (01:20 +0000)]
Align with changes in build process:
LDLINK -> LTLINK, LDAP_LIBEXECDIR -> libexecdir. Add XSRCS and all-local-srv.
Hallvard Furuseth [Mon, 8 Mar 1999 00:39:46 +0000 (00:39 +0000)]
Align with code changes in liblber/libldap:
Replace LDAPMod with a new struct LDAPModList.
Rename lber_debug to lber_int_debug.
Juan Gomez [Sun, 7 Mar 1999 09:31:54 +0000 (09:31 +0000)]
Added software to add the new rdn as an attribute to the entry.
(First step towards full LDAPv2 support).
Juan Gomez [Sun, 7 Mar 1999 09:18:25 +0000 (09:18 +0000)]
Fixed typo in
conn->c_protocol == LDAP_VERSION3;
Kurt Zeilenga [Sun, 7 Mar 1999 03:18:51 +0000 (03:18 +0000)]
Relocate reentrant checks to before thread checks.
Change default to cc instead of gcc (experimental change).
Kurt Zeilenga [Sun, 7 Mar 1999 00:22:11 +0000 (00:22 +0000)]
Relocate reentrant function checks to before thread library checks.
Disable ctime_r() type check. Need better test.
Kurt Zeilenga [Sat, 6 Mar 1999 22:33:58 +0000 (22:33 +0000)]
Update error message for pthread_create() works failure.
Hallvard Furuseth [Sat, 6 Mar 1999 18:31:19 +0000 (18:31 +0000)]
Put the ATTR_BOOL option numbers in attrs.offset instead of attrs.data,
to avoid unportable casts of integers to pointers and back.
Kurt Zeilenga [Sat, 6 Mar 1999 17:11:35 +0000 (17:11 +0000)]
Change (int) invalue == (int) LDAP_OPT_ON to invalue == LDAP_OPT_ON.
Hallvard Furuseth [Sat, 6 Mar 1999 16:31:13 +0000 (16:31 +0000)]
Make block non-static and properly aligned
Hallvard Furuseth [Sat, 6 Mar 1999 16:29:05 +0000 (16:29 +0000)]
Remove unused variables
Kurt Zeilenga [Sat, 6 Mar 1999 07:52:33 +0000 (07:52 +0000)]
defined USE_NONBLOCK for now... need to implement configure detection.
rewrote sockbuf_buf_init macro not to expand its argument multiple times.
Hallvard Furuseth [Sat, 6 Mar 1999 06:33:34 +0000 (06:33 +0000)]
Remove unused variables
Hallvard Furuseth [Sat, 6 Mar 1999 06:24:15 +0000 (06:24 +0000)]
include ldap_pvt_thread.h, to verify func declarations against their definitinos
Hallvard Furuseth [Sat, 6 Mar 1999 06:20:13 +0000 (06:20 +0000)]
include <stdlib.h> to get atoi()
Hallvard Furuseth [Sat, 6 Mar 1999 06:17:44 +0000 (06:17 +0000)]
printf(%ld, pid) -> printf(%ld, (long)pid)
Hallvard Furuseth [Sat, 6 Mar 1999 06:13:23 +0000 (06:13 +0000)]
Remove a few typos in comments
Hallvard Furuseth [Sat, 6 Mar 1999 04:25:50 +0000 (04:25 +0000)]
Fix typo .size -> .dsize in ldbm_datum_free()
Hallvard Furuseth [Sat, 6 Mar 1999 04:23:17 +0000 (04:23 +0000)]
Obey CTIME_R_RETURNS_INT
Ben Collins [Sat, 6 Mar 1999 04:15:18 +0000 (04:15 +0000)]
Moved 'key.flags = 0;' inside of DB2 defines, it isn't available in DB1
Kurt Zeilenga [Sat, 6 Mar 1999 02:36:21 +0000 (02:36 +0000)]
Move lber_get/set_option stuff to a private structure.
Kurt Zeilenga [Sat, 6 Mar 1999 00:57:25 +0000 (00:57 +0000)]
MSVC5 cleanup...
lber: ifdef'ed out lber_..set_nonblock() function because it used ioctl's.
If it remains, it needs to be written to support various methods for
setting non-blocking. ioctls should probably be last choice. configure
could detect existance of fcntl(), ioctl(), etc.
bdb2:
added .dsp/.dsw files and did some basic cleanup (still needs work).
Juan Gomez [Fri, 5 Mar 1999 19:14:23 +0000 (19:14 +0000)]
Implemented newSuperior handling.
Kurt Zeilenga [Fri, 5 Mar 1999 15:59:28 +0000 (15:59 +0000)]
Fix typo in configure.in with gethostbyname_r_nargs
Kurt Spanier [Fri, 5 Mar 1999 11:24:42 +0000 (11:24 +0000)]
1. Fix of ldbmcat segmentation fault bug (ITS#85 and #81).
2. Make ldbm_Env a failure-safe entity.
Kurt Spanier [Fri, 5 Mar 1999 10:25:55 +0000 (10:25 +0000)]
Make dbEnv a private toy of back-bdb2.
Juan Gomez [Fri, 5 Mar 1999 03:38:12 +0000 (03:38 +0000)]
Added parameter newSuperior in preparation to support
LDAP v3 MODDN request.
Juan Gomez [Fri, 5 Mar 1999 03:37:49 +0000 (03:37 +0000)]
Added parsing of newSuperior field for requests that
carry it. This in preparation to support LDAP v3 MODDN
request.
Juan Gomez [Fri, 5 Mar 1999 01:33:32 +0000 (01:33 +0000)]
Rename
int add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
to
int bdb2i_add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
So that ldbm and db2 backends can coexist.
Juan Gomez [Fri, 5 Mar 1999 01:28:38 +0000 (01:28 +0000)]
Renamed
int add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
to
int bdb2i_add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
So that ldbm and db2 backend can coexist
Hallvard Furuseth [Fri, 5 Mar 1999 01:21:44 +0000 (01:21 +0000)]
Remove spurious backslash-newlines
Hallvard Furuseth [Fri, 5 Mar 1999 01:20:55 +0000 (01:20 +0000)]
Change LDAP.ld_lberoptions to `short', to realign with BerElement.ber_options
Hallvard Furuseth [Fri, 5 Mar 1999 01:04:56 +0000 (01:04 +0000)]
Cast char* argument to hh_to_c() to Byte*
Hallvard Furuseth [Fri, 5 Mar 1999 01:03:13 +0000 (01:03 +0000)]
Remove LDAP_P() from prototypes with 'Byte' arguments
Kurt Zeilenga [Thu, 4 Mar 1999 18:03:56 +0000 (18:03 +0000)]
Add mail500.m4 to source. Can be used to support sendmail
8.9 style configuration via MAILER(mail500).
Hallvard Furuseth [Thu, 4 Mar 1999 13:51:14 +0000 (13:51 +0000)]
Protoize cnvt_str2int()
Hallvard Furuseth [Thu, 4 Mar 1999 13:22:06 +0000 (13:22 +0000)]
Shut up gcc -Wparentheses
Hallvard Furuseth [Thu, 4 Mar 1999 13:18:49 +0000 (13:18 +0000)]
Print entry ID with format %ld, not %d
Hallvard Furuseth [Thu, 4 Mar 1999 13:17:28 +0000 (13:17 +0000)]
Print tag with format %lu, not %d
Hallvard Furuseth [Thu, 4 Mar 1999 12:58:56 +0000 (12:58 +0000)]
Use HAVE_STDARG to choose between stdarg and varargs version of debug_printf.
Hallvard Furuseth [Thu, 4 Mar 1999 12:55:59 +0000 (12:55 +0000)]
K&R varargs branch of ldap_log_printf() was bogus
Kurt Zeilenga [Thu, 4 Mar 1999 06:18:29 +0000 (06:18 +0000)]
Add comment concerning use of vendor 'cc' with empty CFLAGS with
same code (commented out).
Juan Gomez [Thu, 4 Mar 1999 03:16:29 +0000 (03:16 +0000)]
Added the functions ldap_rename2() and ldap_rename2_s() to support LDAP
v3 MODDN (MODRDN) operation on the client side.
Juan Gomez [Thu, 4 Mar 1999 03:14:31 +0000 (03:14 +0000)]
Added prototypes for ldap_rename2() and ldap_rename2_s(), which generate
a MODDN or MODRDN request depending on the newSuperior parameter.
Juan Gomez [Thu, 4 Mar 1999 03:12:12 +0000 (03:12 +0000)]
Added client-side support for MODDN request by adding a new switch to
ldapmodrdn so that it can take the newparent parameter. (Check -s option)
Juan Gomez [Thu, 4 Mar 1999 00:35:45 +0000 (00:35 +0000)]
Added prototypes for rdn_attr_type() and rdn_attr_value(), which are
utility functions added to support the modrdn v3 implementation.
These parse and rdn of the form "attribute_type = attribute_value"
returning "attribute_type" and "attribute_value" respectively.
Juan Gomez [Thu, 4 Mar 1999 00:31:19 +0000 (00:31 +0000)]
Added get_next_substring(), rdn_attr_type(), and rdn_attr_value() which
are needed in the implementation of modrdn v3.
Kurt Zeilenga [Wed, 3 Mar 1999 23:32:00 +0000 (23:32 +0000)]
Apply Hallvard's D4 pthread detection patch.
Juan Gomez [Wed, 3 Mar 1999 22:55:28 +0000 (22:55 +0000)]
Made add_values(), delete_values(), and replace_values() so they can be
used in implementing modrdn v3.
Juan Gomez [Wed, 3 Mar 1999 22:51:43 +0000 (22:51 +0000)]
Added LDAP_TAG_NEWSUPERIOR tag and a brief description about tag
construction which may be useful later when adding new tags. This
in preparation to support moddn v3.
Juan Gomez [Wed, 3 Mar 1999 22:00:16 +0000 (22:00 +0000)]
Made add_values(), delete_values(), and replace_values() so they can be
used in implementing modrdn v3.
Juan Gomez [Wed, 3 Mar 1999 21:58:51 +0000 (21:58 +0000)]
Made add_values(), delete_values(), replace_values() so they can be used
for implementing modrdn v3.
Kurt Zeilenga [Wed, 3 Mar 1999 21:50:02 +0000 (21:50 +0000)]
If rsaref is needed, add it to TLS_LIBS.
Hallvard Furuseth [Wed, 3 Mar 1999 21:34:49 +0000 (21:34 +0000)]
Don't choke if gethostby{name,addr}_r's number of arguments differ
from what the current code can handle.
Kurt Zeilenga [Wed, 3 Mar 1999 21:32:22 +0000 (21:32 +0000)]
Add first cut of ctime_r return type test.
Kurt Zeilenga [Wed, 3 Mar 1999 21:31:12 +0000 (21:31 +0000)]
Add 'tests' target.
Hallvard Furuseth [Wed, 3 Mar 1999 21:21:40 +0000 (21:21 +0000)]
Posix Draft 4 (HAVE_PTHREADS_D4) fixes:
Use pthread_*attr_default.
Don't use a void return value from pthread_yield.
Hallvard Furuseth [Wed, 3 Mar 1999 18:49:59 +0000 (18:49 +0000)]
function pointers are incompatible with `void *'; remove NULL or replace with 0
Hallvard Furuseth [Wed, 3 Mar 1999 17:52:40 +0000 (17:52 +0000)]
Bugs with !HAVE_PTHREAD_KILL: include errno.h. Typo: sig should be signo.
Hallvard Furuseth [Wed, 3 Mar 1999 17:45:15 +0000 (17:45 +0000)]
Correct typo ldap_count_reference -> ldap_count_references
Hallvard Furuseth [Wed, 3 Mar 1999 17:42:17 +0000 (17:42 +0000)]
include <stdlib.h> to get malloc & co
Hallvard Furuseth [Wed, 3 Mar 1999 17:40:08 +0000 (17:40 +0000)]
cast printf(%ld) argument from pid_t to long
Hallvard Furuseth [Wed, 3 Mar 1999 17:35:33 +0000 (17:35 +0000)]
replace integer argument NULL with 0
Hallvard Furuseth [Wed, 3 Mar 1999 17:32:26 +0000 (17:32 +0000)]
cast printf(%s) argument from void* to char*
Hallvard Furuseth [Wed, 3 Mar 1999 17:30:55 +0000 (17:30 +0000)]
Remove untrue /*NOTREACHED*/: return 0 on EOF from stdin
Hallvard Furuseth [Wed, 3 Mar 1999 17:02:10 +0000 (17:02 +0000)]
function pointers are incompatible with `void *'; remove NULL or replace with 0
Bart Hartgers [Wed, 3 Mar 1999 16:38:56 +0000 (16:38 +0000)]
Added support in liblber and libldap for partial reads, i.e. situations in
which only part of a LDAPMessage is available on a socket.
The server-code seemed to handle this correctly already, so I didn't touch
it.
My apologies for the hack in ber_get_next :-).
Hallvard Furuseth [Wed, 3 Mar 1999 16:02:00 +0000 (16:02 +0000)]
function pointers are incompatible with `void *'; remove NULL or replace with 0
Hallvard Furuseth [Wed, 3 Mar 1999 15:57:57 +0000 (15:57 +0000)]
function pointers are incompatible with `void *'; remove `!= NULL' from tests.
Hallvard Furuseth [Wed, 3 Mar 1999 15:46:50 +0000 (15:46 +0000)]
include lber-int.h to get lber_pvt_* declarations
Hallvard Furuseth [Wed, 3 Mar 1999 15:45:06 +0000 (15:45 +0000)]
ber_scanf returns LBER_ERROR, not -1, on failure.
Hallvard Furuseth [Wed, 3 Mar 1999 15:39:57 +0000 (15:39 +0000)]
Declare lber_pvt_sb_* functions from io.c in lber-int.h
Hallvard Furuseth [Wed, 3 Mar 1999 15:35:29 +0000 (15:35 +0000)]
Back out previous change; it was an accidental commit
Hallvard Furuseth [Wed, 3 Mar 1999 15:25:44 +0000 (15:25 +0000)]
Declare lber_pvt_sb_* functions from io.c in lber-int.h