Commit Graph

566 Commits

Author SHA1 Message Date
Kurt Zeilenga
acd57577f4 s/DEFAULT_DIRSEP/DIRSEP/ 1999-06-03 01:03:52 +00:00
Kurt Zeilenga
21c70857f1 s/<stdlib.h>/<ac/stdlib.h>/ 1999-06-03 00:37:44 +00:00
Kurt Zeilenga
f472d3abcf No anonymous unions. 1999-06-02 22:40:58 +00:00
Kurt Zeilenga
bed6465529 Make first argument of *_get_option const (experimental).
Make _MOD_SOFTADD 0x1000 to minimize chance of conflict with legit changes
to API spec.
Fix memory leak in ldap_mods_free() and minor memory allocator issues.
1999-06-02 21:38:48 +00:00
Kurt Zeilenga
c10742a7b5 Add prototype for at_add(). 1999-06-02 21:29:45 +00:00
Kurt Zeilenga
e44c8504f3 value_normalize can change the length of value. Fixed
use in index_add_value(), but should modify value_normalize
to use a struct berval * instead of a char* pointer...
1999-06-02 20:29:35 +00:00
Kurt Zeilenga
12176a0af9 Update Release/SRelease include paths 1999-06-02 04:08:50 +00:00
Kurt Zeilenga
14b04f4d0b Fix -ULDAP_DEBUG lint. 1999-06-02 03:09:40 +00:00
Kurt Zeilenga
fea91d7ad2 Used pre-normalized len of e_dn instead of just using e_ndn (and it's len). 1999-06-02 00:09:18 +00:00
Kurt Zeilenga
6d6e0dde91 Shouldn't need <sys/stat.h>. 1999-06-01 18:57:34 +00:00
Julio Sánchez Fernández
ae4c85b84f Fudge oc_kind on synthesized objectclasses so that they are STRUCTURAL
instead of ABSTRACT.
1999-05-31 15:17:42 +00:00
Kurt Zeilenga
4c14412929 Remove lint. 1999-05-31 05:39:51 +00:00
Julio Sánchez Fernández
21577a0966 Some definition reordering to satisfy dependencies. 1999-05-30 00:08:59 +00:00
Julio Sánchez Fernández
ae481022f9 Oops, fp_parse_line tokenizes in place, so we need to take a copy of
input before letting fp_parse_line ruin it.
1999-05-30 00:07:40 +00:00
Julio Sánchez Fernández
663d7e8627 Lose previously commented out old code.
Robustness fixes.
Fixed error reporting of non-existing attribute superior.
1999-05-30 00:05:24 +00:00
Kurt Zeilenga
fbc0bd013e Minor adjustments to better handle NT vs UNIX. 1999-05-29 18:57:23 +00:00
Kurt Zeilenga
4e5ed2dffc Changed lc_conn to be a pointer to a BerElement to aid in state management.
Added validation to exposed opaque data structures (BerElement, Sockbuf,
and LDAP).  Added macros BER_VALID, SOCKBUF_VALID, LDAP_VALID.
Added ber_pvt_ber_bytes() and ber_pvt_ber_remaining() macros to hide
some ber internals.  These really should be handled by ber_get_option().
1999-05-28 19:33:05 +00:00
Julio Sánchez Fernández
a97e3e94e6 Provide (and use) #define shortcuts
Really kill global_oc & global_at
Publish schema through LDAP (really, it's there at last :-)
1999-05-28 18:56:47 +00:00
Julio Sánchez Fernández
7f357399cf First step in new schema support. 1999-05-28 14:27:07 +00:00
Kurt Zeilenga
a0d2b3c5a0 Apply string literal strdup fix to BDB2. 1999-05-27 23:06:53 +00:00
Kurt Zeilenga
0ce6ddb80c Make a copy of "dn" to avoid modification of string literal. 1999-05-27 23:04:28 +00:00
Kurt Zeilenga
2d1cf97a56 move connection_close call from connection_input to connection_resched
to avoid accessing c_conn_state after close.
1999-05-27 06:22:59 +00:00
Kurt Zeilenga
5936f97edc Make connection_first/next/done reentrant. 1999-05-27 05:52:38 +00:00
Kurt Zeilenga
f9219d3368 remove redundant memset 0 of connection entry after calloc. 1999-05-27 02:44:13 +00:00
Kurt Zeilenga
1ee8cc51a8 Add comment concerning connections mutex. Need to analysis
locking requires and possibly restructure locking.
1999-05-27 02:29:18 +00:00
Kurt Zeilenga
77cc20be52 Lock (connections_mutex) should be acquired by caller. 1999-05-27 02:16:39 +00:00
Kurt Zeilenga
b458560a9e Add assert( s != NULL ) 1999-05-27 01:36:38 +00:00
Kurt Zeilenga
ce71f6f0dc Update main comment. 1999-05-26 22:25:45 +00:00
Julio Sánchez Fernández
6a66967eef Fix compilation errors, mod declared as LDAPMod, but used inconsistently
as LDAPMod (but incorrectly).  Please review this change, I am not sure
I understood what was intended.
1999-05-26 19:33:23 +00:00
Juan Gomez
cafd83f168 Relocated nis schema. 1999-05-26 18:37:30 +00:00
Juan Gomez
4bb24d506a Mirror modrdn special case fix to db2. 1999-05-26 12:29:54 +00:00
Juan Gomez
d45daae091 Fix name typo 1999-05-26 12:27:06 +00:00
Juan Gomez
335f9f8f32 Make bdb2i_modify_internal() public. 1999-05-26 12:22:10 +00:00
Juan Gomez
14a02c40c0 Make bdb2i_back_modify_internal() public so it can be reused from
modrdn.
1999-05-26 12:19:31 +00:00
Juan Gomez
128f31dc3c Added fix to allow modrdn whose new rdn was already an attr value. 1999-05-26 11:59:54 +00:00
Juan Gomez
c5c91399ab Again mirroring LDAMP_MOD_SOFTADD changes.... 1999-05-26 11:54:39 +00:00
Juan Gomez
0512d17f07 Mirroring changes related to indexing to db2 backend...
someone better comes up with a solution for this replication soon!
1999-05-26 11:51:49 +00:00
Juan Gomez
03740bd1f4 Added support for LDAP_MOD_SOFTADD. 1999-05-26 11:45:17 +00:00
Juan Gomez
5a16e3b9e9 Fixed index file naming bug and added support for LDAP_MOD_SOFTADD. 1999-05-26 11:41:14 +00:00
Juan Gomez
25f64385ca Add LDAP_MOD_SOFTADD const. 1999-05-26 11:30:18 +00:00
Juan Gomez
5b272f193f Added include <ac/time.h> needed for struct timeval... 1999-05-26 10:45:51 +00:00
Howard Chu
587837717b Obsolete file. Oops. 1999-05-26 02:52:37 +00:00
Howard Chu
967d1dcb2d For ITS#157: Added LDAP backend for slapd, which also required adding
LDAP_OPT_MATCH_STRING to ldap.h and libldap/options.c.
1999-05-26 02:35:20 +00:00
Howard Chu
31a0c4a917 For ITS#158: keep mixed-case backend suffix in addition to upcased suffix. 1999-05-25 21:40:40 +00:00
Kurt Zeilenga
1a7d72e629 setsockopt( SO_KEEPALIVE ) on the listen() socket. Will be
inherited on accept().
1999-05-24 22:20:34 +00:00
Kurt Zeilenga
42c5a40b78 Implement keep alives. Probably should be a configuration option. 1999-05-24 21:57:26 +00:00
Kurt Zeilenga
84b0693eee Remove empty else and other minor cleanup. 1999-05-23 00:26:47 +00:00
Kurt Zeilenga
22d98c85c3 ldap.h:
added comments
 removed LDAP_MAX_ATTR_LEN
 removed LDAP_COMPAT* from <ldap.h> but not code.
 move LDAP_DEFAULT_REFHOPCOUNT to ldap-int.h
 added experimental options macros
 added LDAP_CONTROL_REFERRALS macros
libldap:
 Replace ld_attrbuffer with per use allocated attributed.
 ldap_first/next_attribute attributes now must be freed (as per draft).
 unifdef -DLDAP_API_FEATURE_X_OPENLDAP_V2_REFERRALS
1999-05-22 06:11:48 +00:00
Kurt Zeilenga
6b45dde2e6 Removed too much LINT. 1999-05-22 00:31:36 +00:00
Kurt Zeilenga
e05688d25e Remove LINT. 1999-05-21 23:15:47 +00:00