Kurt Zeilenga
522cd72f43
Fix CRITICIAL typo
1999-07-07 17:49:15 +00:00
Kurt Zeilenga
51d1c90887
unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH
1999-07-05 06:26:26 +00:00
Kurt Zeilenga
a1665712f2
Fix LDAP_RANGE typo
1999-07-01 21:56:53 +00:00
Kurt Zeilenga
97bc107537
Add macros to support testing of error categories to ldap.h
...
Modify ldap_result to assert returned error is not an one reserved
for API use.
Modify frontend LDAP operation routines to return an error code.
The returned value will be used to determine if an unsolicited notification
should be sent to the client.
Need to review returned error codes. Namely some LDAP_PROTOCOL_ERROR
will like need to be changed (as they will cause unsolicited notifications).
1999-07-01 21:20:45 +00:00
Kurt Zeilenga
159067cc83
swap LDAP_STRONG_AUTH_NOT_SUPPORTED & LDAP_AUTH_METHOD_NOT_SUPPORTED
1999-07-01 04:37:46 +00:00
Kurt Zeilenga
8871b527d2
Add LDAP_CLIENT_ERROR macro.
1999-07-01 04:25:16 +00:00
Kurt Zeilenga
6f4d23667e
Add LDAP_TAG_LDAPCRED macro.
1999-07-01 04:21:53 +00:00
Kurt Zeilenga
9225707a06
Modify lutil_passwd to accept a third argument char** methods to
...
specific which methods may be used. This will facilate development
of a slapd config directive "passwordMethod ..." to specify which
methods should be allowed.
1999-06-29 22:24:53 +00:00
Kurt Zeilenga
f49cee0571
Add prototypes for strerror/strerror_r.
1999-06-29 02:58:14 +00:00
Kurt Zeilenga
2660d0b42f
Remove old U-Mich v3.0 and OLD_LDAP_* crud.
...
Leave only LDAPv2+ and LDAPv3.
1999-06-29 00:03:34 +00:00
Kurt Zeilenga
09a007c031
Fix up minor errors in prototypes to bring them in line with LDAP C API draft.
1999-06-28 22:13:56 +00:00
Kurt Zeilenga
5f28509311
detect write() and use HAVE_WRITE instead of
...
!defined( DOS ) && !defined( MACOS )
Add detection for read & recv/send for later use.
1999-06-28 04:11:41 +00:00
Kurt Zeilenga
ab10099fc1
Added support for "userPassword: {UNIX}uid". getpwnam("uid") is
...
used to fetch the pw_passwd which is than passwd to crypt().
getspnam() is used instead of getpwnam() when available.
Added configration detection of pw_passwd, shadow.h, getpwnam()
and getspnam().
1999-06-26 20:52:59 +00:00
Kurt Zeilenga
fcaddb60b4
Install lber_types.h
1999-06-25 14:41:10 +00:00
Bastiaan Bakker
5a470f8959
Merged dynamic module support patch (see ITS #196 ). To enable, run ./configure w
...
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00
Kurt Zeilenga
977292a967
Always implement Debug as lutil_debug().
1999-06-21 22:33:35 +00:00
Kurt Zeilenga
f97251a9d1
Add support for lber_types.h.nt and add a few NT specific feature macros.
1999-06-21 22:32:38 +00:00
Kurt Zeilenga
87149de771
Add lber_types.h to setup.dsp.
...
s/setup.exe/setup.txt/g
create workspace for testing purposes.
1999-06-19 01:53:15 +00:00
Kurt Zeilenga
669b8f4047
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
...
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends
1999-06-18 23:53:05 +00:00
Gary Williams
61bf5877b8
new project to copy files from *.h.nt to .h
1999-06-18 21:24:04 +00:00
Kurt Zeilenga
bbc568b21f
ldapconfig.h vs ldap_config.h changes
...
backout previous nt changes (actually, just don't include nt_svc.c)
1999-06-17 04:43:24 +00:00
Kurt Zeilenga
21e081dc5b
Separate autoconf generated values from "defaults".
...
ldap_defaults.h incorporates non-generated ldapconfig.h values.
ldap_config.h.in is new template for autoconf generated defaults
(namely directories and paths)
ldap_config.h.nt, NT template (must be manually copied)
s/<ldapconfig.h>/<ldap_defaults.h>/
s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
3c09414075
Fix bad LBER_INVALID macro
1999-06-15 17:35:31 +00:00
Julio Sánchez Fernández
fb422591a2
Matching rules.
1999-06-14 13:37:59 +00:00
Julio Sánchez Fernández
e9e0e613b2
Constification
1999-06-14 11:57:02 +00:00
Julio Sánchez Fernández
5e0f62e454
New ldap_syntax_free, ldap_attributetype_free and ldap_objectclass_free
...
that replace old static routines.
1999-06-13 23:31:35 +00:00
Juan Gomez
34f068f131
Drop support for alloca().
1999-06-11 18:56:28 +00:00
Kurt Zeilenga
da549e3a42
_SGI_MP_SOURCE errno/h_errno experiment
1999-06-11 00:07:10 +00:00
Kurt Zeilenga
f34c94e5d5
Disable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
...
Fix LDAP_MEMORY_DEBUG realloc size bug, thanks Alex.
1999-06-10 00:56:00 +00:00
Kurt Zeilenga
be991c81df
Add test for BeOS's closesocket
1999-06-09 00:10:26 +00:00
Kurt Zeilenga
5632c11bd2
Use LDAP_F/LDAP_P macros on library externs.
...
Fix install of ldap_schema.h to use $(srcdir)
1999-06-07 18:37:16 +00:00
Kurt Zeilenga
12ed7e46ef
Use LDAP_F and LDAP_P macros.
...
Fix LDAP_HI 0x377 vs 0377 bug.
1999-06-07 18:35:30 +00:00
Kurt Zeilenga
c12b24102a
rename LDAP_OPT_MATCHED_STRING to LDAP_OPT_MATCHED_DN.
1999-06-05 20:12:53 +00:00
Kurt Zeilenga
5f7f095b1c
Undo assert fix included in last commit.
...
Add extra AC_HTONL for win32 alpha.
1999-06-04 22:27:28 +00:00
Kurt Zeilenga
5cb35c2827
Add #define FD_SETSIZE 1024
1999-06-04 22:23:52 +00:00
Kurt Zeilenga
48c8aa035d
EXPERIMENTAL ldap_extended_operation() and ldap_parse_extended_result()
1999-06-04 00:34:04 +00:00
Kurt Zeilenga
0c8f1d240a
lber.h: added #include <stddef.h> conditional on LBER_SIZE_T_DEFINED
...
ldap.h: added #include <lber.h>
ldap.h: added tags for extended operations
1999-06-03 22:54:51 +00:00
Kurt Zeilenga
9fef42d3f8
Enable browsing info in MSVC debugging configurations.
...
Toy with dllimport/dllexport stuff (think I'll leave the real dll work to
somebody else).
Added ldap_strdup() wrapper of ber_strdup().
1999-06-03 18:24:22 +00:00
Kurt Zeilenga
6956207270
Remove <memory.h> from stdlib.h (mem* fns should be in string.h).
1999-06-03 00:45:50 +00:00
Kurt Zeilenga
5a8170253a
Add <ac/stdlib.h> to genericize memory allocators.
...
Remove memory.h/malloc.h inclusion from <ac/string.h>.
Need to s/<stdlib.h>/<ac/stdlib.h> everywhere.
1999-06-02 23:39:55 +00:00
Kurt Zeilenga
1f52f6e43e
Add ber_strdup(), remove ldap_int_strdup(), add LDAP_STRDUP macro
...
and ripple change through -lldap.
1999-06-02 22:28:22 +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
97fa2ea293
Remove NULL* macros (namespace).
1999-06-01 19:05:54 +00:00
Kurt Zeilenga
eab4a30a2e
Add ldap_memvfree(void** vector)
1999-06-01 19:02:10 +00:00
Kurt Zeilenga
89ffbead68
Move berval routines to memory.c.
1999-06-01 18:59:27 +00:00
Kurt Zeilenga
95b3c92df7
use 'int' instead of 'char' for balance factor.
...
(barely) hide more internals.
1999-05-31 20:44:05 +00:00
Kurt Zeilenga
f704f1c475
(barely) hide AVL internals
1999-05-31 20:40:42 +00:00
Kurt Zeilenga
322bb86fa4
#ifdef out non-reentrant prototypes.
...
Only testavl uses this interface.
1999-05-31 20:32:21 +00:00
Julio Sánchez Fernández
288c304aeb
Syntaxes.
1999-05-31 12:02:43 +00:00
Kurt Zeilenga
117d3275ac
Genericize byte types into autoconf namespace.
1999-05-31 05:39:10 +00:00