Commit Graph

15510 Commits

Author SHA1 Message Date
Kurt Zeilenga
62f4745bfc ITS#4679 cleanup
Note: the caller is expected to pass in a valid LDAP handle.  If not,
the assert will trigger to let him know his code is broken.
2006-09-21 20:02:55 +00:00
Howard Chu
a8e58e3eb4 Just include one or the other of poll.h or sys/poll.h 2006-09-21 18:00:01 +00:00
Howard Chu
bd1f3a7d8d ITS#4674 fix poll detection 2006-09-21 17:54:37 +00:00
Howard Chu
393e6e5ec0 Tweak prev commit, avoid referencing syncop when resetting qtask 2006-09-21 10:12:42 +00:00
Howard Chu
c1fad2d603 ITS#4658 propagate errors from syncprov_sendresp; drop qtask on errors.
Note: need a way to close the connection too.
2006-09-21 09:42:40 +00:00
Howard Chu
d6d31af4f0 send_search_reference should propagate errors 2006-09-21 09:28:49 +00:00
Luca Scamoni
fbed376e2d add support for "sambaPwdCanChange" 2006-09-21 09:17:05 +00:00
Howard Chu
db082f4b1d Fix prev commit 2006-09-20 20:22:59 +00:00
Howard Chu
f63f46f0b1 Use a single malloc for entry_decode instead of two - partially decode
the entry to get nvals first, so the size can be computed.
2006-09-20 02:43:47 +00:00
Pierangelo Masarati
cbc238721a typo in previous commit... 2006-09-17 22:24:41 +00:00
Pierangelo Masarati
036289f9c4 support for Solaris' /dev/poll (need to manually define SLAP_X_DEVPOLL; needs work yet) 2006-09-17 22:17:34 +00:00
Pierangelo Masarati
dd4d074068 reorganize select interface (ready for /dev/poll) 2006-09-17 22:09:50 +00:00
Pierangelo Masarati
35622ec494 detect, but don't use, Solaris' /dev/poll 2006-09-17 22:09:19 +00:00
Pierangelo Masarati
c0c089f4a4 make sure we don't interfere with frontend's entry when the suffix is empty (test027) 2006-09-17 16:45:24 +00:00
Pierangelo Masarati
7fd11ad679 minor cleanup 2006-09-17 16:44:40 +00:00
Kurt Zeilenga
7c68de27c8 Check opattrs add result 2006-09-16 17:20:29 +00:00
Kurt Zeilenga
2c4b2b5566 return structuralObjectClass errors
(likely need to be applied to other backends)
2006-09-16 11:48:52 +00:00
Pierangelo Masarati
2b242dee14 private database inherits monitoring from underlying one 2006-09-15 00:23:14 +00:00
Pierangelo Masarati
c92571680d also work with pcache 2006-09-15 00:16:55 +00:00
Pierangelo Masarati
f34d418ced more good looking error messages 2006-09-15 00:16:35 +00:00
Pierangelo Masarati
4add034d5d destroy exactly what needs to 2006-09-14 23:53:23 +00:00
Pierangelo Masarati
6fd9090a0d fix one-time leak 2006-09-14 22:50:07 +00:00
Howard Chu
f1457a8ce8 Additional fix for ITS#4673 2006-09-14 22:38:45 +00:00
Pierangelo Masarati
524a7bc27a by now, don't bail out if monitoring cannot be set up 2006-09-14 22:26:37 +00:00
Howard Chu
7fd2e65386 Fix invalid attributes in translucent_modify 2006-09-14 21:11:26 +00:00
Pierangelo Masarati
5bb325054e fix back-ldap monitoring 2006-09-14 19:56:34 +00:00
Pierangelo Masarati
40cabdc0bc handle errors 2006-09-14 19:55:52 +00:00
Pierangelo Masarati
67f3fd8078 monitor __ALL__ thread parameters 2006-09-14 18:55:02 +00:00
Pierangelo Masarati
107036a946 fix (temporarily) uninit'ed var 2006-09-14 14:58:00 +00:00
Howard Chu
242274d038 Remove obsolete SLAP_FILTER_DN definitions 2006-09-14 09:29:29 +00:00
Pierangelo Masarati
028a8af7df comment monitoring by now 2006-09-14 09:06:17 +00:00
Howard Chu
deea7b5530 MSVC compatibility 2006-09-14 08:06:49 +00:00
Howard Chu
e260fd1c2e MSVC compatiblity 2006-09-14 08:06:08 +00:00
Howard Chu
2cc356588e dirent emulation for MSVC 2006-09-14 08:01:05 +00:00
Howard Chu
8cf9982912 Portability cleanups 2006-09-14 07:58:02 +00:00
Howard Chu
3f4e196beb Portability cleanups 2006-09-14 07:29:46 +00:00
Howard Chu
811a90d5e1 Fix prev commit 2006-09-14 06:47:14 +00:00
Howard Chu
57c329a3af ITS#4606 errno is not per-thread on WIN32, always use WSAGet/SetLastError
(with notable exceptions: ignore tests for EINTR which winsock never sets)
2006-09-14 06:35:34 +00:00
Howard Chu
8585b7d6bb ITS#4606 fix sys_errlist detection on WIN32 / MSVC 2006-09-14 05:02:41 +00:00
Howard Chu
8c939e1905 ITS#4565 catch errors from slap_sasl_init / backend_init 2006-09-14 04:52:08 +00:00
Pierangelo Masarati
a87da913cd further cleanup 2006-09-14 01:07:18 +00:00
Pierangelo Masarati
6e18cdb5fd add basic monitoring support to back-ldap/slapo-chain (slapo-chain needs work) 2006-09-14 01:05:48 +00:00
Pierangelo Masarati
b890f60e36 minor cleanup 2006-09-14 01:05:02 +00:00
Pierangelo Masarati
1f257bf5ed URIs need to be between double quotes 2006-09-14 01:02:28 +00:00
Howard Chu
8e9651a598 Tweak ordered index check in check_vals 2006-09-14 00:31:18 +00:00
Howard Chu
18aac0e55e Cleanup prev commit 2006-09-14 00:14:27 +00:00
Howard Chu
543ae473c5 Forgot the OC delete handler 2006-09-14 00:09:46 +00:00
Howard Chu
9f054b648b Support dynamic add/delete of attributeTypes and objectClasses 2006-09-14 00:06:04 +00:00
Howard Chu
8e928dbb0b Use register_at / register_oc 2006-09-13 13:38:24 +00:00
Howard Chu
e04275ca04 Use register_at / register_oc 2006-09-13 13:26:56 +00:00