Commit Graph

1173 Commits

Author SHA1 Message Date
Juan Gomez
f8a0a67e5f Fixed a bug related to the deallocation of memory for new_dn and new_ndn,
They must not be deallocated since they are used by the cache entry.
1999-03-10 22:17:54 +00:00
Juan Gomez
63f5f5b4a3 Defined LDAPMODRDN in preparation to add tests for LDAP v2 modrdn. 1999-03-10 21:08:21 +00:00
Hallvard Furuseth
5dd9d6502b Silence some warnings of unused variables and comparing signed with unsigned 1999-03-09 23:30:52 +00:00
Hallvard Furuseth
727fae81ed "const"ify some static arrays and related function parameters 1999-03-09 23:19:07 +00:00
Hallvard Furuseth
80b641486b Declare functions before use. Change some functions to return void. 1999-03-09 23:06:14 +00:00
Hallvard Furuseth
ca91e9f189 Protoize CMDTABLE.func() 1999-03-09 22:55:24 +00:00
Hallvard Furuseth
555e23dd43 Add readline support. Change prompt to "saucer dn=CURRENT-DN> ". 1999-03-09 22:50:06 +00:00
Hallvard Furuseth
973c830d32 Fix previous changes: //comment -> /*comment*/ 1999-03-09 22:24:50 +00:00
Kurt Zeilenga
04769d5b82 -lldap requires $(KRB_LIBS) 1999-03-09 20:21:55 +00:00
Hallvard Furuseth
b6d85256e7 "const"ify some static arrays, and related parameters/variables 1999-03-09 08:40:36 +00:00
Juan Gomez
c2a0632e63 Added support for deleteoldrdn. 1999-03-09 08:07:57 +00:00
Hallvard Furuseth
6de5ba2834 Fix typo -lxttp => -lxtpp in HAVE_XTPP comment 1999-03-09 08:05:27 +00:00
Hallvard Furuseth
083455be6b Bugfix: Move handling of boolean options in front of invalue==NULL error check 1999-03-09 07:49:56 +00:00
Hallvard Furuseth
26f257f40d Replace (int)LDAP_BOOL_GET(...) with LDAP_BOOL_GET(...)==LDAP_OPT_ON 1999-03-09 07:42:17 +00:00
Hallvard Furuseth
f7b4f5e9d7 Pass LDAP_OPT_<ON/OFF> instead of (void*)flag to ldap_set_option 1999-03-09 07:19:18 +00:00
Hallvard Furuseth
a8711b282e Remove warning: Enclose initializer in {}. 1999-03-09 07:17:48 +00:00
Hallvard Furuseth
5ef648a109 Silence warnings: Remove unused variables. Enclose some initializers in in {}. 1999-03-09 07:15:35 +00:00
Hallvard Furuseth
ead12e1cda include lutil.h to get lutil_passwd() 1999-03-09 06:59:33 +00:00
Hallvard Furuseth
d3aa0e7129 Bugfix: Missing parens in `status = ldap_pvt_thread_create(...) != 0' 1999-03-09 06:27:36 +00:00
Hallvard Furuseth
95f6547963 Use free instead of ber_bvecfree to free privately malloced data, by JR Heisey 1999-03-09 05:56:13 +00:00
Hallvard Furuseth
ce9d86a278 Check for directory separator `\' in program name, by JR Heisey 1999-03-09 05:53:21 +00:00
Hallvard Furuseth
3cfa89c3d1 Improve usage message and check, by JR Heisey 1999-03-09 05:50:54 +00:00
Hallvard Furuseth
a24b0c1c70 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.
1999-03-09 01:59:49 +00:00
Kurt Zeilenga
e5ab61cb3a LINE_WIDTH -> LDIF_LINE_WIDTH 1999-03-09 00:59:37 +00:00
Kurt Zeilenga
53fc115b6f Add LDIF_ to LINE_WIDTH 1999-03-09 00:50:41 +00:00
Juan Gomez
b9f9b8805a Fixed type by changing rdn_type to new_rdn_type. 1999-03-09 00:42:57 +00:00
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