Commit Graph

724 Commits

Author SHA1 Message Date
Hallvard Furuseth
9dcef9bc80 Cleanup (add prototypes) 2007-06-10 22:06:28 +00:00
Hallvard Furuseth
93fbb87545 Give OperationBuffer normal struct members instead of using
LBER_ALIGNED_BUFFER(OPERATION_BUFFER_SIZE), as discussed in ITS#4078.
Add a corresponding SyncOperationBuffer in overlays/syncprov.c.
2007-05-18 23:54:26 +00:00
Pierangelo Masarati
978c3609e0 allow array of more generic syntaxes 2007-05-16 09:13:14 +00:00
Hallvard Furuseth
bbc719ca56 ITS#4948: '#if <undefined macro>' -> '#ifdef' warning cleanup 2007-05-09 18:17:10 +00:00
Howard Chu
a2405e0a7e Axe slurpd / replog support 2007-04-06 00:21:02 +00:00
Howard Chu
63bef22335 Cleanup conditional arg in prev commit 2007-03-31 00:40:22 +00:00
Howard Chu
c6df30118f ITS#4893 fix prev commit 2007-03-25 12:18:06 +00:00
Howard Chu
7426ab07fc ITS#4893 define LDAP_PF_LOCAL_SENDMSG in <ac/socket.h> if a message must
be sent to transmit client credentials. Buffer the message data.
2007-03-25 04:40:22 +00:00
Pierangelo Masarati
639d678592 cleanup struct declarations 2007-03-20 01:07:10 +00:00
Howard Chu
06212e9de9 Plug leaks 2007-02-16 02:22:24 +00:00
Howard Chu
e28627f1e2 Added "slapd" rewrite map handler, connection_fake_init2 to use existing
tmpmemctx without reinitializing
2007-02-14 08:51:47 +00:00
Howard Chu
59d4b38a7c syncinfo_free must be able to free multiple syncinfos 2007-02-13 14:35:53 +00:00
Howard Chu
f2355e91e0 Unconditionalize gmtime_mutex, always use it when calling lutil_csnstr 2007-02-11 13:52:55 +00:00
Howard Chu
9381fc42a5 Add overlay hooks for entry_get_rw / entry_release_rw 2007-02-06 04:18:14 +00:00
Howard Chu
250cbd286a Optimization: send sid in cookie to avoid getting our changes sent
back to us.
2007-02-05 23:10:22 +00:00
Howard Chu
fffaea79eb Preliminary multi-context support for syncrepl. Passes all single-master
tests, needs multi-master testing.
2007-02-05 04:50:07 +00:00
Howard Chu
51549d2e5d Add olcServerID for configuring serverID portion of CSN 2007-02-04 00:02:38 +00:00
Pierangelo Masarati
f5d26ed730 add helper (and cleanup) 2007-01-27 14:12:59 +00:00
Pierangelo Masarati
53d6d3c957 streamline group attr specification/diagnostics 2007-01-11 20:41:43 +00:00
Howard Chu
a2e299eb22 ITS#4799 remove kerberos / kbind 2007-01-10 00:23:28 +00:00
Howard Chu
a6a8fb514b Add TLS context configuration 2007-01-08 23:36:24 +00:00
Howard Chu
1cc1f9b18a Make syncrepl inherit default TLS settings from main slapd config (except
for reqcert, default demand)
2007-01-08 20:16:45 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
03dbc30deb Use temporary AttributeDescriptions to prevent unbounded growth 2006-12-26 04:51:08 +00:00
Howard Chu
3bf226382e ITS#3707 preserve filter input, allow (and ignore) undefined attributes 2006-12-25 23:30:45 +00:00
Pierangelo Masarati
9edb2d518e plug rootDSE info one-time leak 2006-12-24 10:51:07 +00:00
Howard Chu
45fbb173b7 Pass op to slap_mods_check() 2006-12-24 06:55:02 +00:00
Howard Chu
6020a6d81d ITS#4337 implement modrdn for back-config 2006-12-24 00:56:37 +00:00
Howard Chu
b79d63516d Rewrite attrs_dup with attrs_alloc.
Add new entry_dup_bv that dups an entry in a single malloc. Leave it
unused for now; faster but consumes more heap.
2006-11-30 06:03:56 +00:00
Howard Chu
2a9afa55a7 Avoid unnecessary calls to oc_bvfind 2006-11-27 19:59:59 +00:00
Pierangelo Masarati
de254abb27 destroy cached groups after identity change (ITS#4760) 2006-11-24 11:43:47 +00:00
Howard Chu
4b6a3e8b6d Convert schema parsers to ConfigArgs so they can pass errors back to clients 2006-11-15 01:18:37 +00:00
Pierangelo Masarati
b6525c14d9 missing decl 2006-10-15 18:03:25 +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
4add034d5d destroy exactly what needs to 2006-09-14 23:53:23 +00:00
Howard Chu
18aac0e55e Cleanup prev commit 2006-09-14 00:14:27 +00:00
Howard Chu
9f054b648b Support dynamic add/delete of attributeTypes and objectClasses 2006-09-14 00:06:04 +00:00
Howard Chu
5342ce61dd Add register_at / register_oc helpers. 2006-09-13 12:48:45 +00:00
Howard Chu
eaf976d56c Fix typo from 1.667 2006-09-13 05:32:42 +00:00
Pierangelo Masarati
8eb455e7b2 add sb_version to slap_bindconf;
rework slap_client_connect() and slap_discover_feature() accordingly
2006-09-11 00:52:43 +00:00
Pierangelo Masarati
c3f9d68027 re-enable "-d '?'" as a means to list what loglevels are available (ITS#4666) 2006-09-08 18:10:53 +00:00
Pierangelo Masarati
70624690c3 add attr_normalize*() helper (please holler if I missed any obvious alternative) 2006-09-06 09:06:50 +00:00
Pierangelo Masarati
35f8b9c9f5 release authz resources at shutdown 2006-09-04 07:20:59 +00:00
Pierangelo Masarati
0d2e2772d5 move req2op selection into a helper 2006-09-04 07:17:34 +00:00
Howard Chu
78172aa0cf Entry/Attribute struct caching, to minimize malloc fragmentation
Note: this breaks LDAP_COMP_MATCH and SLAP_ZONE_MALLOC. But they
were probably broken already anyway.
2006-08-29 01:43:23 +00:00
Howard Chu
69fa2d9f93 Move ber_sockbuf_free() to slapd_remove() to avoid using AC_SOCKET_INVALID 2006-08-18 23:54:24 +00:00
Pierangelo Masarati
c458df6441 add bverb_to_mask() API 2006-08-17 16:10:17 +00:00
Howard Chu
7036e2bb89 Delete curcsn arg to slap_get_commit_csn, redundant with op->o_csn 2006-08-15 08:51:49 +00:00
Pierangelo Masarati
cc84163f30 factor connection code out of syncrepl 2006-08-04 19:20:59 +00:00
Hallvard Furuseth
ce44bdbc37 Constify slapd_slp_attrs (assigned a const char* in main.c:slapd_opt_slp()) 2006-05-25 16:32:43 +00:00