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
Pierangelo Masarati
cff53d4867
allow tools to syslog
2006-05-24 17:57:13 +00:00
Kurt Zeilenga
153e81817f
ITS#4414: SLP attributes support from Peter Marschall
2006-04-27 19:36:40 +00:00
Hallvard Furuseth
c044d32262
slap_loglevel_get() prototype
2006-04-13 22:16:17 +00:00
Kurt Zeilenga
eb9a3c1876
unifdef -DSLAP_ACL_HONOR_DISCLOSE
...
unifdef -DSLAP_ACL_HONOR_MANAGE
unifdef -DSLAP_OVERLAY_ACCESS
unifdef -DSLAP_ORDERED_PRETTYNORM
unifdef -DSLAP_AUTHZ_SYNTAX
Move LDAP_COLLECTIVE_ATTRIBUTES, LDAP_COMP_MATCH, and LDAP_SYNC_TIMESTAMP
back behind LDAP_DEVEL (as these either too experimental or not yet
implemented).
2006-04-12 05:53:26 +00:00
Howard Chu
c6d0edc3b7
Use TLS context stuff in syncrepl
2006-04-07 02:57:39 +00:00
Howard Chu
76bf5d4c76
Use new TLS SSL_CTX support
2006-04-07 01:25:46 +00:00
Howard Chu
daec2febfb
ITS#4476 revert connection_write processing back into main thread
2006-04-06 04:34:37 +00:00
Pierangelo Masarati
51e1ab59cd
streamline handling of simple bind by global overlays (ITS#4454)
2006-03-26 23:03:43 +00:00
Kurt Zeilenga
8ac8d70a55
TXN protocol element parsers (without any backend support)
...
Misc cleanup
2006-03-07 00:48:14 +00:00
Kurt Zeilenga
d2d1eb786b
Improved bignum detection/use
2006-02-10 08:21:02 +00:00
Howard Chu
bf81549c88
Prefer long long to BIGNUM or GMP
2006-02-09 07:48:19 +00:00
Howard Chu
0ef7742328
Reparse unknown debug flags after config is read to allow use
...
of dynamically registered debug levels
2006-02-02 08:30:56 +00:00
Howard Chu
51c5916149
ITS#4364 add filter_dup, don't use str2filter to dup filters.
2006-01-23 20:53:52 +00:00
Howard Chu
b85926a2c1
ITS#4339 attributeoptions patch from Ralf Haferkamp @ SuSE
2006-01-13 16:42:34 +00:00
Pierangelo Masarati
1a217516f0
allow control handlers to be replaced
2006-01-11 19:36:18 +00:00
Howard Chu
3e682cdac4
Propagate local errors up, fix test045
2006-01-11 07:37:42 +00:00
Pierangelo Masarati
a54ca7a6ce
factor ACI code out of slapd; now it can only use dynacl layer
2006-01-06 17:12:35 +00:00
Pierangelo Masarati
45cda82eb1
allow load_extop to replace an existing handler (not by default, though)
2006-01-06 17:08:54 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
8e7e8c4d04
allow modules to register callbacks for dynamic data in root DSE
2006-01-02 08:57:56 +00:00
Luke Howard
b6fffd1417
Add orr_modlist member to request structure, containing a list of
...
modifications to be applied by the backend atomically with a modify
RDN request.
Handle updating of RDN values in frontend.
Code that calls a backend's be_modrdn should call slap_modrdn2mods(op, rs)
before invoking the backend and cleanup with slap_mods_free( op->orr_modlist, 1 ).
See do_modrdn() for an example.
2006-01-01 09:23:24 +00:00
Pierangelo Masarati
4a86a767ab
more unparsing buffer overflow cleanup
2005-12-20 15:33:50 +00:00
Pierangelo Masarati
81bafb9935
fix potential overflow in syncrepl_unbind() and related helpers
2005-12-20 14:31:16 +00:00
Pierangelo Masarati
3517bdf260
revert previous commit(s); clarify usage of "-s" in slapd(8).
2005-12-20 08:20:16 +00:00
Pierangelo Masarati
662cb94e06
helper to destroy modrdn modifications...
2005-12-06 22:54:51 +00:00
Howard Chu
bb1984eb3e
Fix mod delete by ordered index
2005-12-05 11:46:56 +00:00
Pierangelo Masarati
84bb488ec2
allow to register (and expose) a supported feature
2005-11-27 23:17:57 +00:00