Randy Kunkee
a9097044ea
Remove global_backendsyncfreq code (code has been pushed down into back-ldbm).
2001-06-28 18:02:46 +00:00
Randy Kunkee
d492880870
Add sync_daemon to daemon.c, enabled by global configuration
...
backendsyncfreq <seconds>. Setting this automatically enables
dbnosync (because the synchronizer takes care of it).
2001-06-22 08:38:58 +00:00
Kurt Zeilenga
af2ab5f0a5
Make sure we yield() on a failed accept()
2001-05-10 17:39:10 +00:00
Kurt Zeilenga
d523048634
Fix have inet_ntop bug
2001-05-09 23:41:16 +00:00
Kurt Zeilenga
be26f1a9f7
Fix typos
2001-05-04 22:50:51 +00:00
Kurt Zeilenga
383391b460
detect and use fcntl (for BSD/OS)
...
detect inet_ntop (for MacOSX)
2001-05-03 05:53:34 +00:00
Kurt Zeilenga
3fdbff6923
SLP updates
2001-05-02 19:44:21 +00:00
Gary Williams
7c53c9ba1c
fix windows-specific logging line
2001-02-02 14:49:35 +00:00
Kurt Zeilenga
fa21f7fe86
Fix IP= port numbers
2001-01-24 00:08:15 +00:00
Gary Williams
f49fd8a98e
fix format
2001-01-17 16:35:53 +00:00
Kurt Zeilenga
8a22a0e0d0
SLP extension derived from patch provided by Caldera Systems.
...
Copyright 2000, Caldera Systems, Inc All rights reserved.
This software is not subject to any license of Caldera Systems, Inc
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself
2001-01-16 22:18:33 +00:00
Gary Williams
ffcdc6d11d
More new logging (Behind NEW_LOGGING)
2001-01-15 19:17:29 +00:00
Kurt Zeilenga
04e2da58ed
ITS#895: gai_strerror fix
2000-11-24 05:30:52 +00:00
Kurt Zeilenga
9e7accb034
This patch replaces gai_strerror with AC_GAI_STRERROR in daemon.c and also
...
uses AC_GAI_STRERROR to report getaddrinfo failures in os-ip.c
-- Stig Venass
2000-10-19 18:05:11 +00:00
Kurt Zeilenga
2dbd6c6d0e
remove lint
2000-10-18 00:35:09 +00:00
Kurt Zeilenga
a865220fd8
Bump listeners to 10
2000-10-17 06:36:22 +00:00
Kurt Zeilenga
1fb923e6e2
Replace last commit with Stig's improved version
2000-10-16 21:45:35 +00:00
Kurt Zeilenga
820965a412
ITS#839: getaddrinfo portability fix from Gabar Gombas
2000-10-16 20:32:39 +00:00
Kurt Zeilenga
fc227a8816
Remove cpp lint
2000-10-16 20:04:42 +00:00
Kurt Zeilenga
16fcdec8df
Import Stig reorganized daemon.c + style changes
2000-10-12 21:59:08 +00:00
Julio Sánchez Fernández
bdf3ec2fb3
Remove lint.
2000-10-09 19:11:46 +00:00
Kurt Zeilenga
5c66902abb
Fix typo
2000-10-02 14:10:51 +00:00
Kurt Zeilenga
fcc86b2456
Check for shutdown after successful select()
2000-09-30 05:34:34 +00:00
Kurt Zeilenga
b7b075ba75
Remove unneeded getpeername call (use accept() from).
...
cleanup #ifdef, localize variables, and misc changes.
2000-09-23 20:39:52 +00:00
Kurt Zeilenga
aa5b7d4d52
Restrict keepalive/nodelay setsockopt to IP streams
2000-09-23 19:14:40 +00:00
Kurt Zeilenga
bbae507a8f
Set TCP_NODELAY and SO_KEEPALIVE after every accept() as some accept()
...
implementations do not create new socket with all properties of
listening socket.
2000-09-21 19:08:17 +00:00
Mark Adamson
bf1ee530ea
Implementation of SASL authorization.
2000-09-21 17:32:54 +00:00
Kurt Zeilenga
434b0738dd
Don't check fd_sets until after we check fd < dtblsize
2000-09-18 19:01:21 +00:00
Kurt Zeilenga
d4a89d30f8
Minor IPv6 changes (ITS#716) suggested by Stig Venass <venaas@uninett.no>
2000-09-06 19:03:33 +00:00
Kurt Zeilenga
1c328aa9c7
Minor typedef and other clean ups
2000-08-26 01:14:05 +00:00
Kurt Zeilenga
60c474a4a0
ITS#681: Fix for problems with IPv6 and ACLs
...
from Stig Venaas <venaas@uninett.no>
---
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-08-24 18:34:48 +00:00
Kurt Zeilenga
f286380c82
Check for IP using != AF_LOCAL instead of = AF_INET
2000-08-17 04:22:36 +00:00
Kurt Zeilenga
5b856458a2
s/SAFEMEMCPY/AC_MEMCPY/
...
Use AC_FMEMCPY where appropriate (-llber)
2000-07-28 01:07:07 +00:00
Kurt Zeilenga
3ad45a0662
Clean up WSAENOTSOCK code (no functional change)
2000-07-25 20:04:23 +00:00
Kurt Zeilenga
cd5aed0bbe
Use sigaction to set SA_RESTART (if appropriate).
...
Portability of this code needs to tested.
2000-07-22 00:37:51 +00:00
Kurt Zeilenga
27f674a926
Share function declarations between varients
2000-07-21 22:47:46 +00:00
Kurt Zeilenga
3c91b7e05a
Clarify message logged upon host_access() failure
2000-07-18 03:12:55 +00:00
Kurt Zeilenga
5fc22599e2
Update SASL code to reuse context through life of session.
...
Replace 'negotiated' with 'interactive' bind
Add hooks for SASL/EXTERNAL
Disable SASL security layers
Rework SASL command line and config file parameters
2000-07-13 22:54:38 +00:00
Kurt Zeilenga
1f1993989a
s/enable-unix/enable-local/
...
s/LDAP_PF_UNIX/LDAP_PF_LOCAL/
s/AF_UNIX/AF_LOCAL/
s/PF_UNIX/PF_LOCAL/
2000-07-09 21:49:36 +00:00
Kurt Zeilenga
8670bb6ba2
Add missing sockerr call
2000-06-26 05:23:33 +00:00
Kurt Zeilenga
5f20cf1ed5
Modify ldapsearch(1) significantly. Now handles LDAPv3 search
...
references, extended results, and extended partial results. LDIF
extended to support these new features and reported version 2.
-L now limits output to LDIFv1 for compatibility reasons. No
-L is now LDIFv2. Old alternative form is no longer supported.
Use LDAP_TMPDIR (in ldap_config.h) instead of hardcoded /tmp
Use LDAP_FILE_URI_PREFIX (in ldap_config.h) instead of hardcoded
file://tmp/
2000-06-25 00:35:17 +00:00
Kurt Zeilenga
ec426532b2
Reworked thread code to better support thread-library specific
...
r/w locks and thread pools. Hide internal structures (using
pthread'ish technics). Place common code in threads.c. Move
no-thread code to thr_stub.c. Move thread pool code to tpool.c.
Removed setconcurrency call from initializer, added 'concurrency'
directive to slapd. Tested code under pthreads, pth, and no-threads.
2000-06-13 02:42:13 +00:00
Kurt Zeilenga
1ef14875db
Thought I fixed these errors previously... oh well.
2000-06-10 23:06:08 +00:00
Mark Valence
3cad129608
Removed active_threads count and associated mutex/cond. Replaced with
...
ldap_pvt_thread_pool_backload() as needed. All tests run OK on pthre
ads (linux), cthreads, NT threads, and Pth.
2000-06-10 06:40:03 +00:00
Kurt Zeilenga
55dba4395f
Update PF_INET6 and PF_UNIX detection, both default to auto
2000-06-09 23:09:51 +00:00
Kurt Zeilenga
140a579e32
Additional IPv6 changes from Stig Venaas
...
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.
Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-06-09 17:00:22 +00:00
Kurt Zeilenga
bb9d8a0f20
Initialize peername with EOS.
2000-06-08 23:12:52 +00:00
Mark Valence
7ec6a4363f
Use thread pool for operation threads.
2000-06-07 19:27:33 +00:00
Kurt Zeilenga
60d6c13d73
Use ldap_pvt_url_scheme2tls() to test for ldaps://
2000-06-07 17:50:58 +00:00
Mark Valence
185641cb12
ldap_is_ldaps_url takes a char *. Is there a better fix, since the ur
...
l is already parsed?
2000-06-07 17:28:01 +00:00