Kurt Zeilenga
0181892175
Change o_private from int to void*. Use it to hold a pid_t (and hope it fits).
...
Have forkandexec() return pid_t instead of int.
1999-01-26 04:32:26 +00:00
Kurt Zeilenga
321354ecff
Add lber_pvt.h with prototypes of lber_pvt_log_print{,f}.
...
Ripple name change through -llber & -lldap.
Update -lldif to use lber_pvt_log_printf() instead of Debug.
1999-01-26 01:21:35 +00:00
Kurt Zeilenga
7eec267436
Add lber_log_print support to libldap.
...
Redefine Debug macro to call ldap_log_printf(NULL, lvl, fmt, ...)
Should replace each Debug statement with direct call to ldap_log_printf
passing LDAP session if available.
1999-01-26 00:27:51 +00:00
Kurt Zeilenga
f988fdbec1
add ldap_cdef'ing.
1999-01-26 00:04:01 +00:00
Kurt Zeilenga
d7079a10c3
Add support for LBER_OPT_LOG_PRINT_FN option.
1999-01-25 22:55:00 +00:00
Kurt Zeilenga
01cd11c308
Move install.sh to install-sh. install.sh name may cause problems
...
with some 'make' programs that have a rule to create 'install' from
it there is no 'Makefile'. (per autoconf 2.12).
1999-01-25 02:30:58 +00:00
Kurt Zeilenga
b83ae3b434
Add pidfile/argsfile options to default slapd.conf.
1999-01-24 21:20:00 +00:00
Kurt Zeilenga
4a38390906
Update docs with references to appropriate FAQ-O-Matic pages.
1999-01-24 02:11:45 +00:00
Kurt Zeilenga
a31de60768
Minor cleanup of various detections...
1999-01-24 01:33:22 +00:00
Kurt Zeilenga
941087a09d
Forgotten commit of string rearrangement.
1999-01-24 01:32:04 +00:00
Kurt Zeilenga
a928abeb9e
incorrect args to tcpd statslog
1999-01-24 01:29:23 +00:00
Kurt Zeilenga
97a6648832
Forgot to add new string.c.
1999-01-24 01:07:52 +00:00
Kurt Zeilenga
6c0fc8b1b5
Real fix for FreeBSD 4.
1999-01-23 20:39:45 +00:00
Kurt Zeilenga
0e32729854
Add support for Freebsd 4.x (and greater)
1999-01-23 20:29:02 +00:00
Kurt Zeilenga
29b1e1f0ba
dn_parent(" ") should be NULL.
1999-01-23 19:34:02 +00:00
Kurt Zeilenga
4194c3ee85
If dn2id returns ID but id2entry returns NULL, log it.
...
Assume entry was deleted from underneath the dn2entry call, hence
processing is same as if NOID had been returned.
1999-01-23 19:33:53 +00:00
Kurt Zeilenga
4863d98084
Remove configure's wait3 test as we don't care about the rusage.
...
Rewrite all child waits to use wait4 (for consistency only).
1999-01-23 04:03:43 +00:00
Kurt Zeilenga
7c2bcc4e12
Add LDAP_API_FEATURE_X_OPENLDAP to imply this implementation
...
has OpenLDAP extensions. (This may be defined on non-OpenLDAP
implmentations that implement features of our API).
The extensions implied by this flag are TBD.
1999-01-23 03:39:06 +00:00
Kurt Zeilenga
a2cf39ce4a
Add memory handling todo.
1999-01-22 20:46:57 +00:00
Kurt Zeilenga
637c0a8301
Use strtok_r() instead of strtok(). Remove strtok mutex!
1999-01-22 04:46:54 +00:00
Kurt Zeilenga
ddb0752b8f
Move libldap/strdup.c to string.c.
...
libldap/string.c will hold various string.h replacements.
Removed liblutil/strdup.c
Moved ldap_pvt_strtok to string.c.
Moved prototype of ldap_pvt_strtok to <ac/string.h>.
Added #define strtok_r ldap_pvt_strtok (if strtok_r doesn't exist).
1999-01-22 04:33:29 +00:00
Kurt Zeilenga
2a7794de09
Fix minor typo in lthread.h (which was copied into ldap_pvt_thread.h).
1999-01-22 03:48:31 +00:00
Kurt Zeilenga
0f17fac37d
Implement NEXTID chunking. Obtain IDs in chunks of size
...
SLAPD_NEXTID_CHUNK. Code protects NEXTID file to ensure
its equal to or greater than nextid. Updated on close
to actual nextid. next_id_save() could be called periodically
if desired. Default chunk size is 32. Define to 1 to disable
chunking.
1999-01-22 02:26:19 +00:00
Kurt Zeilenga
5389e40ba5
initialize nextid with NOID not -1.
1999-01-22 01:53:39 +00:00
Kurt Zeilenga
2318ea0fd6
Don't return nextid on failed add operations for safety.
1999-01-22 01:51:53 +00:00
Kurt Zeilenga
149d0d8b82
That last error message did not apply to actual changes committed
...
for this file. Changes were to NULL the conn->c_dn and conn->c_cdn
after anonymous binds. Previously they were left to old values.
Backends should do the same.
1999-01-22 01:44:46 +00:00
Kurt Zeilenga
5bfb3ac221
nextid cleanup in preparation to disable next_id_return().
1999-01-22 01:40:39 +00:00
Kurt Zeilenga
ecdf9a354d
Entry must be locked before adding it to the cache.
...
This removes a race condition upon the entry.
1999-01-22 00:27:50 +00:00
Kurt Zeilenga
7cd4e05a27
Add support for FreeBSD -kthread (kernel pthreads)
1999-01-21 22:25:33 +00:00
Kurt Zeilenga
6edeeeffd4
During cleanup always unlock root_mutex if rootlock is true
...
(don't make it conditional on p == NULL)
1999-01-21 22:20:03 +00:00
Kurt Zeilenga
695ad44694
Place the arg and pid files into the test-* directories.
1999-01-21 18:08:33 +00:00
Kurt Spanier
68a8798594
Definition of slapd pid and args files as slapd.conf general parameters;
...
introduction of pid/agrs parameters to the test-suite slapd.conf files;
creation of sub-directory test/var for storage of pid/args files during test;
update of the slapd and slapd.conf man pages.
(The change reduces dependency on ldapconfig.h, since SLAPD_PIDEXT
and SLAPD_ARGSEXT are deleted from the code.)
1999-01-21 15:53:54 +00:00
Kurt Zeilenga
127ec9c46c
Fix c_cdn typo. Ouch.
1999-01-21 02:25:09 +00:00
Kurt Zeilenga
09421a74db
Add c_protocol to slap_conn to track protocol version used by client.
...
Is initialized to 0 (unknown) and then set to 2 or 3 on bind. Should
also be 0->3 if a special (or any) operation occurs before the bind.
1999-01-21 02:21:39 +00:00
Kurt Zeilenga
7662b7ea7e
Add some server side projects.
1999-01-21 01:18:13 +00:00
Kurt Zeilenga
b3d383bbf5
*** empty log message ***
1999-01-21 01:12:35 +00:00
Kurt Zeilenga
52ca931b70
ignore SIGPIPE
1999-01-20 22:01:14 +00:00
Kurt Zeilenga
eed7408e7e
Update ldap_first_attribute/ldap_next_attribute to handle
...
BerElement argument per latest IETF ldapext draft c api spec.
That is, caller is solely responsible for freeing the BerElement
allocated and returned by ldap_first_attribute.
Update man pages accordingly.
Update applications accordingly.
1999-01-20 20:21:38 +00:00
Kurt Zeilenga
19a17982c6
suffixes need to be stored in normalized uppercase format
1999-01-20 05:43:33 +00:00
Kurt Zeilenga
f9b416ea7c
ndn & strcasecmp cleanup
1999-01-20 03:05:35 +00:00
Kurt Zeilenga
ed0ae4ef14
Don't use initializers for auto vars.
1999-01-20 01:00:12 +00:00
Kurt Zeilenga
0503205c93
suffixAlias will return a normalized uppercase DN if input is normalized
...
and uppercase. (aliased_dn are stored in normalized uppercase format).
1999-01-19 19:29:11 +00:00
Kurt Zeilenga
0daa8c1f06
Recode suffixAlias to implement simple check to see if part to aliased
...
is at a DNSEPARATOR. Moved DNSEPARATOR macro from dn.c to slap.h
1999-01-19 19:26:09 +00:00
Kurt Zeilenga
029069d84a
Removed o_suffix and o_suffixalias as they were 1) leaked and 2) unused
...
(suffixAliasing only maps input dn's, not output dn).
1999-01-19 18:54:19 +00:00
Kurt Zeilenga
3efaabe560
Don't allow suffixAliases were alias and aliased dn our the same.
1999-01-19 18:39:20 +00:00
Kurt Zeilenga
47d0c970d4
use dn_normalize_case().
1999-01-19 18:25:21 +00:00
Kurt Zeilenga
a837feacc2
uppercase that ndn.
1999-01-19 18:18:53 +00:00
Kurt Zeilenga
48bdf4258c
Need to uppercase e_ndn.
1999-01-19 18:17:29 +00:00
Kurt Zeilenga
8c501c28a2
Need to upper case the new_ndn.
1999-01-19 18:16:12 +00:00
Kurt Zeilenga
0e142b42f3
Update support for dn vs ndn. Build new dn from e->e_dn not frontend
...
provided dn (which is normalized and uppercased). This preserved
the trailing portion of the dn.
1999-01-19 18:13:30 +00:00