Commit Graph

1441 Commits

Author SHA1 Message Date
Kurt Zeilenga
fa6fec3c9c Implement "quick" shutdown (similiar in behavior to shutdown
prior to connection management changes).  No "normal" (wait
for pending operations to complete) shutdown mode (yet).
Changes:
 Add connections_destroy() implementation to connections.c.
 Move connections_init() call to slap_daemon().
 Add connections_destroy() call to slap_daemon().
 Add connections_shutdown() implementation to connections.c.
	calls connection_closing()/connection_close() for each
	"in use" connection.
 Add connections_shutdown() call to slap_daemon_task().
1999-04-23 22:50:28 +00:00
Kurt Zeilenga
866f82409c Should clear the write flag upon closing. 1999-04-23 20:47:32 +00:00
Kurt Zeilenga
8082760c0c Update state to closing early. 1999-04-23 20:34:09 +00:00
Kurt Zeilenga
3e05f28963 Modify connection_closing() to abandon operations and wake blocked writer.
Modify send_result to return if connection state is closing.
Modify do_abandon() to remove abandon'ed operation if pending.
1999-04-23 20:22:18 +00:00
Kurt Zeilenga
06b5db46eb Backout last change 1999-04-23 20:11:15 +00:00
Kurt Zeilenga
2a537d1463 More sh portability changes 1999-04-21 06:09:19 +00:00
Kurt Zeilenga
2a92589ecd sh portability changes 1999-04-21 05:59:01 +00:00
Kurt Zeilenga
835eff719a Fix magic for 4.2BSD systems. 1999-04-21 05:47:01 +00:00
Kurt Zeilenga
7ba980f0f6 Modify slapd set user/group support to use -u/-g instead -U/-G.
Moved -u (udp) to -c (connectionless).  Connectionless is depreciated
and undocumented.
Added tests for set{,e}{u,g}id to configure.  Use existance of
setuid/setgid to enable feature.  Use seteuid/setegid only if
they exist.
Fixed minor minor leak of username/groupname if specificied
more than once.  (This should actually be an error)
1999-04-21 00:40:20 +00:00
Kurt Zeilenga
82348ef0d0 Remove libtool --version-info warnings. 1999-04-20 22:11:02 +00:00
Julio Sánchez Fernández
9abff49932 Make it honor attrs and attrsonly 1999-04-20 12:17:14 +00:00
Juan Gomez
a88bf50b31 Updates index for rdn attribute type avoiding the 'dissapearing entry'
problem reported in IT78. Index files will still be stale if the modrdn
uses deleteoldrdn.
1999-04-20 03:36:00 +00:00
Kurt Zeilenga
58afabdf00 EXPERIMENTAL: Disable cache saving and loading. 1999-04-20 01:43:01 +00:00
Julio Sánchez Fernández
2b82bc2d63 The Root DSE does not depend on SLAPD_CONFIG_DN and friends.
Added a comment for supportedSASLMechanism to root_dse.c
1999-04-19 20:02:24 +00:00
Julio Sánchez Fernández
01385acc2a Beginning of ROOT DSE support 1999-04-19 18:21:53 +00:00
Julio Sánchez Fernández
bb7a0b816e Move declaration of st 1999-04-19 17:56:48 +00:00
Gary Williams
532fb0961f honor the maxkids variable on NT 1999-04-19 17:13:14 +00:00
Kurt Spanier
f1e7ffb176 Delayed backend lock release to replog entry after successful add(). 1999-04-19 10:47:03 +00:00
Kurt Zeilenga
3041aafc2c Protect listener_tid from being killed after the listener has exited. 1999-04-17 05:21:30 +00:00
Kurt Zeilenga
2813272234 Wrap stat() st_blksize use behind HAVE_ST_BLKSIZE 1999-04-17 03:28:20 +00:00
Kurt Zeilenga
c10bb54be0 Fix typo in write select. Fix errors in WINSOCK handling.
Add test listener no-thread_create experiment (behind ifdef).
1999-04-16 18:56:42 +00:00
Kurt Zeilenga
a3f1e5c4c9 Warn users not to much with paths in ldapconfig.h 1999-04-14 19:36:47 +00:00
Gary Williams
6bfc4ec022 adjust projet settings 1999-04-14 17:10:56 +00:00
Gary Williams
2948d34f0a adjust project settings 1999-04-14 17:08:31 +00:00
Gary Williams
84f84c28b8 I moved slap_shutdown after the waitforkids. I also wait for each process to complete before returning from fork_child since I had two lockups on my NT box. 1999-04-14 16:56:23 +00:00
Gary Williams
a899d9e356 delete spurious project sha_test 1999-04-14 15:41:53 +00:00
Gary Williams
80aeab1723 get rid of unreferenced variable tmp 1999-04-14 15:41:19 +00:00
Gary Williams
e24a4ee074 get rid of unreferenced variable deleteoldrdn 1999-04-14 15:15:25 +00:00
Gary Williams
d2ab3f1d5d get rid of unreferenced variables metaph and newm 1999-04-14 15:13:59 +00:00
Gary Williams
8656d441ff put conditions on i, buf2 and c so we don't get unreferenced variable warnings 1999-04-14 15:13:10 +00:00
Gary Williams
af423fd393 fix Release configuration 1999-04-14 15:12:19 +00:00
Gary Williams
3a1aba86ab put conditions on hp so we don't get unreferenced variable warning 1999-04-14 15:11:57 +00:00
Gary Williams
f9ab18a57b lose unreferenced variable rc 1999-04-14 15:11:04 +00:00
Gary Williams
5ccc8b5ab9 fix typo on destroy 1999-04-14 15:02:38 +00:00
Gary Williams
deea9c42a5 set up Release configuration 1999-04-14 15:00:17 +00:00
Gary Williams
0667d29905 update project settings 1999-04-14 14:20:02 +00:00
Gary Williams
e86ffc71f1 add result.c 1999-04-14 14:18:42 +00:00
Gary Williams
4ced2ec95d remove result.c 1999-04-14 14:18:26 +00:00
Gary Williams
579b8cc7c4 add mimic.c(this time with the actual change) 1999-04-14 14:14:20 +00:00
Gary Williams
e6f09030e4 add mimic.c 1999-04-14 14:13:06 +00:00
Gary Williams
c8f24043e5 if WIN32, add starttime 1999-04-14 14:12:49 +00:00
Gary Williams
1a7acaa945 fix arg loop, move starttime to mimic.c 1999-04-14 14:11:56 +00:00
Gary Williams
25474efe94 move starttime to mimic.c, change exit to return 1999-04-14 14:10:09 +00:00
Kurt Zeilenga
2ee58372bb Add cache redesign project. 1999-04-14 03:07:41 +00:00
Kurt Zeilenga
48e73426cb Add basic gmodule detection for SLAPD_MODULES.
Cleanup perl detection.
1999-04-14 01:33:01 +00:00
Kurt Zeilenga
a3f9a59e4b Add XXX comment to cache modified from underneath kludge. 1999-04-13 22:41:14 +00:00
Gary Williams
12cd6ddfb1 add libslapd,ldif2 tools projects 1999-04-13 21:41:56 +00:00
Gary Williams
8059d1bee9 move most files to libslapd to make linking ldif tools easier 1999-04-13 21:41:25 +00:00
Gary Williams
a85ba4f2fc new project file 1999-04-13 21:40:44 +00:00
Kurt Zeilenga
d1cbc97c80 Add '-n' and '-s' to ldif2ldbm manpage (ITS$59). 1999-04-13 21:35:21 +00:00