Hallvard Furuseth
4d7138a45c
include ldap_pvt_thread.h, to verify func declarations against their definitinos
1999-03-06 06:24:15 +00:00
Hallvard Furuseth
b4fe591430
include <stdlib.h> to get atoi()
1999-03-06 06:20:13 +00:00
Hallvard Furuseth
d3f433a626
printf(%ld, pid) -> printf(%ld, (long)pid)
1999-03-06 06:17:44 +00:00
Hallvard Furuseth
bc44910534
Remove a few typos in comments
1999-03-06 06:13:23 +00:00
Hallvard Furuseth
c35f2086d8
Fix typo .size -> .dsize in ldbm_datum_free()
1999-03-06 04:25:50 +00:00
Hallvard Furuseth
9bef1a2bc1
Obey CTIME_R_RETURNS_INT
1999-03-06 04:23:17 +00:00
Ben Collins
caddcf8600
Moved 'key.flags = 0;' inside of DB2 defines, it isn't available in DB1
1999-03-06 04:15:18 +00:00
Kurt Zeilenga
553b601161
Move lber_get/set_option stuff to a private structure.
1999-03-06 02:36:21 +00:00
Kurt Zeilenga
588a458d78
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).
1999-03-06 00:57:25 +00:00
Juan Gomez
654f21b237
Implemented newSuperior handling.
1999-03-05 19:14:23 +00:00
Kurt Zeilenga
6cd7680586
Fix typo in configure.in with gethostbyname_r_nargs
1999-03-05 15:59:28 +00:00
Kurt Spanier
6da27229d9
1. Fix of ldbmcat segmentation fault bug (ITS#85 and #81 ).
...
2. Make ldbm_Env a failure-safe entity.
1999-03-05 11:24:42 +00:00
Kurt Spanier
3f76ee7a0b
Make dbEnv a private toy of back-bdb2.
1999-03-05 10:25:55 +00:00
Juan Gomez
3ba99a75ef
Added parameter newSuperior in preparation to support
...
LDAP v3 MODDN request.
1999-03-05 03:38:12 +00:00
Juan Gomez
07a5f765bb
Added parsing of newSuperior field for requests that
...
carry it. This in preparation to support LDAP v3 MODDN
request.
1999-03-05 03:37:49 +00:00
Juan Gomez
9fc5e8a409
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.
1999-03-05 01:33:32 +00:00
Juan Gomez
b41a79fe16
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
1999-03-05 01:28:38 +00:00
Hallvard Furuseth
3b5a5b792c
Remove spurious backslash-newlines
1999-03-05 01:21:44 +00:00
Hallvard Furuseth
a2ee841121
Change LDAP.ld_lberoptions to `short', to realign with BerElement.ber_options
1999-03-05 01:20:55 +00:00
Hallvard Furuseth
61174d1960
Cast char* argument to hh_to_c() to Byte*
1999-03-05 01:04:56 +00:00
Hallvard Furuseth
921158f6fc
Remove LDAP_P() from prototypes with 'Byte' arguments
1999-03-05 01:03:13 +00:00
Kurt Zeilenga
47032a4e91
Add mail500.m4 to source. Can be used to support sendmail
...
8.9 style configuration via MAILER(mail500).
1999-03-04 18:03:56 +00:00
Hallvard Furuseth
47093d0617
Protoize cnvt_str2int()
1999-03-04 13:51:14 +00:00
Hallvard Furuseth
d8ac5cabb4
Shut up gcc -Wparentheses
1999-03-04 13:22:06 +00:00
Hallvard Furuseth
94c6048f2f
Print entry ID with format %ld, not %d
1999-03-04 13:18:49 +00:00
Hallvard Furuseth
536aab01e4
Print tag with format %lu, not %d
1999-03-04 13:17:28 +00:00
Hallvard Furuseth
6f8c9a7890
Use HAVE_STDARG to choose between stdarg and varargs version of debug_printf.
1999-03-04 12:58:56 +00:00
Hallvard Furuseth
ac687014ec
K&R varargs branch of ldap_log_printf() was bogus
1999-03-04 12:55:59 +00:00
Kurt Zeilenga
bbc024fff9
Add comment concerning use of vendor 'cc' with empty CFLAGS with
...
same code (commented out).
1999-03-04 06:18:29 +00:00
Juan Gomez
00558f962b
Added the functions ldap_rename2() and ldap_rename2_s() to support LDAP
...
v3 MODDN (MODRDN) operation on the client side.
1999-03-04 03:16:29 +00:00
Juan Gomez
e46c2e494e
Added prototypes for ldap_rename2() and ldap_rename2_s(), which generate
...
a MODDN or MODRDN request depending on the newSuperior parameter.
1999-03-04 03:14:31 +00:00
Juan Gomez
728a1c6cd3
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)
1999-03-04 03:12:12 +00:00
Juan Gomez
34861cd15b
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.
1999-03-04 00:35:45 +00:00
Juan Gomez
943cfaf41a
Added get_next_substring(), rdn_attr_type(), and rdn_attr_value() which
...
are needed in the implementation of modrdn v3.
1999-03-04 00:31:19 +00:00
Kurt Zeilenga
ce6836dbed
Apply Hallvard's D4 pthread detection patch.
1999-03-03 23:32:00 +00:00
Juan Gomez
68a413a601
Made add_values(), delete_values(), and replace_values() so they can be
...
used in implementing modrdn v3.
1999-03-03 22:55:28 +00:00
Juan Gomez
cd90353f10
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.
1999-03-03 22:51:43 +00:00
Juan Gomez
ddf04f5900
Made add_values(), delete_values(), and replace_values() so they can be
...
used in implementing modrdn v3.
1999-03-03 22:00:16 +00:00
Juan Gomez
98c2a61313
Made add_values(), delete_values(), replace_values() so they can be used
...
for implementing modrdn v3.
1999-03-03 21:58:51 +00:00
Kurt Zeilenga
625efd9466
If rsaref is needed, add it to TLS_LIBS.
1999-03-03 21:50:02 +00:00
Hallvard Furuseth
5b83a959d2
Don't choke if gethostby{name,addr}_r's number of arguments differ
...
from what the current code can handle.
1999-03-03 21:34:49 +00:00
Kurt Zeilenga
8895f5d071
Add first cut of ctime_r return type test.
1999-03-03 21:32:22 +00:00
Kurt Zeilenga
b2e0e58a22
Add 'tests' target.
1999-03-03 21:31:12 +00:00
Hallvard Furuseth
69c00e27da
Posix Draft 4 (HAVE_PTHREADS_D4) fixes:
...
Use pthread_*attr_default.
Don't use a void return value from pthread_yield.
1999-03-03 21:21:40 +00:00
Hallvard Furuseth
3250aef49c
function pointers are incompatible with `void *'; remove NULL or replace with 0
1999-03-03 18:49:59 +00:00
Hallvard Furuseth
74f808f44c
Bugs with !HAVE_PTHREAD_KILL: include errno.h. Typo: sig should be signo.
1999-03-03 17:52:40 +00:00
Hallvard Furuseth
45bf79315e
Correct typo ldap_count_reference -> ldap_count_references
1999-03-03 17:45:15 +00:00
Hallvard Furuseth
722d4c4332
include <stdlib.h> to get malloc & co
1999-03-03 17:42:17 +00:00
Hallvard Furuseth
7bfd11cb4c
cast printf(%ld) argument from pid_t to long
1999-03-03 17:40:08 +00:00
Hallvard Furuseth
42fdd3766f
replace integer argument NULL with 0
1999-03-03 17:35:33 +00:00