Kurt Zeilenga
96a5f20d41
Don't install CFFILES in ldap_r.
1999-03-08 23:14:43 +00:00
Kurt Zeilenga
cb9667b527
Remove @DEFS@ from CPPFLAGS... we use portable.h unconditionally.
1999-03-08 23:13:59 +00:00
Kurt Zeilenga
5302491e94
Use $TERMCAP_LIBS in readline test.
1999-03-08 23:01:23 +00:00
Kurt Zeilenga
0b9c3953f2
Add dcobject & uidobject auxilary object classes. Useful for
...
using dc naming components with structural object classes that
don't allow a 'dc' attribute.
1999-03-08 22:19:48 +00:00
Kurt Zeilenga
6570ec368c
Regenerate configure and friends.
1999-03-08 20:01:17 +00:00
Hallvard Furuseth
dc165a16b9
Use ldap_<set/get>_option instead of poking into the LDAP structure
1999-03-08 03:05:26 +00:00
Kurt Zeilenga
e45fa7e3e7
relocate LDAP_LIBPATH to front of LDFLAGS.
1999-03-08 02:31:03 +00:00
Kurt Zeilenga
8d3f492698
Add GNU readline detection. Needed for saucer enhancement (ITS#96).
1999-03-08 01:48:45 +00:00
Hallvard Furuseth
718faec29d
Align with changes in build process:
...
LDLINK -> LTLINK, LDAP_LIBEXECDIR -> libexecdir. Add XSRCS and all-local-srv.
1999-03-08 01:20:01 +00:00
Hallvard Furuseth
b6c16f861e
Align with code changes in liblber/libldap:
...
Replace LDAPMod with a new struct LDAPModList.
Rename lber_debug to lber_int_debug.
1999-03-08 00:39:46 +00:00
Juan Gomez
23b3217b66
Added software to add the new rdn as an attribute to the entry.
...
(First step towards full LDAPv2 support).
1999-03-07 09:31:54 +00:00
Juan Gomez
845bf15d89
Fixed typo in
...
conn->c_protocol == LDAP_VERSION3;
1999-03-07 09:18:25 +00:00
Kurt Zeilenga
c0c673485b
Relocate reentrant checks to before thread checks.
...
Change default to cc instead of gcc (experimental change).
1999-03-07 03:18:51 +00:00
Kurt Zeilenga
9e71e09bac
Relocate reentrant function checks to before thread library checks.
...
Disable ctime_r() type check. Need better test.
1999-03-07 00:22:11 +00:00
Kurt Zeilenga
df1672bd02
Update error message for pthread_create() works failure.
1999-03-06 22:33:58 +00:00
Hallvard Furuseth
3f65f687e5
Put the ATTR_BOOL option numbers in attrs.offset instead of attrs.data,
...
to avoid unportable casts of integers to pointers and back.
1999-03-06 18:31:19 +00:00
Kurt Zeilenga
2c06d0da09
Change (int) invalue == (int) LDAP_OPT_ON to invalue == LDAP_OPT_ON.
1999-03-06 17:11:35 +00:00
Hallvard Furuseth
509a927fcd
Make block non-static and properly aligned
1999-03-06 16:31:13 +00:00
Hallvard Furuseth
3277a27b10
Remove unused variables
1999-03-06 16:29:05 +00:00
Kurt Zeilenga
94fea2a17e
defined USE_NONBLOCK for now... need to implement configure detection.
...
rewrote sockbuf_buf_init macro not to expand its argument multiple times.
1999-03-06 07:52:33 +00:00
Hallvard Furuseth
984bdfa605
Remove unused variables
1999-03-06 06:33:34 +00:00
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