Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
af23be3675
silence warnings...
2005-11-14 21:47:17 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Pierangelo Masarati
6c01508f0c
cleanup needed for tool mode compatibility (may need work)
2004-04-13 16:49:12 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
d0868eae95
Various changes
...
- SyncRepl support in back-ldbm
- back-ldbm functions return LDAP return codes for internal operations (callback)
- subentry code copy from back-bdb
- Misc udpates
2003-07-15 00:55:58 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Hallvard Furuseth
2bcb48361d
Remove casts of AVL function pointers.
2002-12-14 22:25:52 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00
Kurt Zeilenga
41138a8ca7
cleanlup
2002-03-24 02:15:17 +00:00
Kurt Zeilenga
0eac91fcc7
Entry rwlock is no longer needed as concurrency is managed
...
by the giant rwlock.
2002-01-29 20:05:55 +00:00
Howard Chu
26e327f32e
Fix some debug statements
2002-01-06 07:21:06 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
affa8f5a65
More struct berval conversions
2002-01-01 13:31:20 +00:00
Howard Chu
185ff129b5
Change struct berval * to struct berval in various structures
2001-12-29 15:01:10 +00:00
Howard Chu
975a5e9a24
Added dnPretty2/dnNormalize2 using preallocated destination berval
2001-12-29 04:48:00 +00:00
Kurt Zeilenga
699a092967
More dn_normalize -> dnNormalize changes
2001-12-28 07:41:52 +00:00
Kurt Zeilenga
fdc0dd7d6a
Fix some NEW_LOGGING errors
2001-10-05 21:49:04 +00:00
Kurt Zeilenga
3a2f9e84ba
Fix typo
2001-07-22 03:25:45 +00:00
Pierangelo Masarati
9ee9f1e0e1
Reworked again the caching in case of failure.
...
Now operations that set the status of an entry to CREATING (add.c, modrdn.c)
need to set it to COMMIT, by calling cache_entry_commit, before returning
the entry itself, otherwise the entry is removed from the cache
and its private data is freed.
Should fix crashes due to add failures as in ITS#1245
2001-07-21 10:53:06 +00:00
Pierangelo Masarati
aec4430d59
Reworked API of nextid; e_private gets destroyed separately from the entry in case add fails (should fix ITS#1245)
2001-07-20 09:50:28 +00:00
Pierangelo Masarati
b0a60a5d3d
added function cache_find_entry_ndn2id that avoids an unnecessary call to dn_normalize; now dn2id calls this function, while the original function has been left as a wrapper
2001-07-11 08:41:42 +00:00
Gary Williams
3281138bcf
fix format for new logging
2001-01-17 17:01:19 +00:00
Kurt Zeilenga
a56c161bdb
Misc code cleanup.
2000-06-10 22:39:30 +00:00
Kurt Zeilenga
e5ebc553ac
Rework URI parser to provide true scheme not proto/properties.
...
Plus more pthread rwlock code
2000-06-07 01:09:40 +00:00
Kurt Zeilenga
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Kurt Zeilenga
7a0b0b2bbf
In preparation for adding dn_rewrite()...
...
s/dn_normalize/dn_validate/
s/dn_normalize_case/dn_normalize/
1999-09-24 01:46:37 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Kurt Zeilenga
2a74677799
const'fication
1999-08-20 19:00:44 +00:00
Kurt Zeilenga
e1630c79cd
unifdef -DSLAP_CLEANUP
1999-08-19 18:55:01 +00:00
Kurt Zeilenga
9c3ed0310b
Add copyright notices.
1999-08-06 23:07:46 +00:00
Kurt Zeilenga
68d561a97b
Add limited LDAP_INVALID_DN_SYNTAX support. dn_normalize{,_case}() now returns
...
NULL does not meet basic syntax rules.
1999-07-22 17:14:42 +00:00
Kurt Zeilenga
170836751a
Namespace changes
...
added slap_ and ldbm_ to many structures
added typedefs to many structures
used typedefs
New main.c argument parsing with ldap url support (replacing -a address).
New sockaddr_in handling and support for multiple listeners.
1999-07-19 19:40:33 +00:00
Hallvard Furuseth
786bbe4fc1
enclose macro arguments in ()
1999-04-30 00:35:27 +00:00
Kurt Zeilenga
ad35a9d4a6
Add trace message when found entry is busy.
1999-04-11 22:16:30 +00:00
Hallvard Furuseth
59e7798448
Fix typo ldap_pvt_thread_mutex_lock -> ldap_pvt_thread_mutex_unlock
1999-04-11 19:36:19 +00:00
Kurt Zeilenga
f16846eb15
Apply LDBM cache changes (c_mutex streamlining) to BDB2 and back.
1999-04-10 04:28:02 +00:00
Kurt Zeilenga
0317638cf6
Addition streamlining of code behind c_mutex.
1999-04-10 01:35:19 +00:00
Kurt Zeilenga
f34bd50e30
Streamline code during finds to reduce contention on c_mutex.
...
Move Debug messages outside of c_mutex. Other LDBM cache codes
also should be streamlined. Resultant approaches should then
be applied to back-bdb2.
1999-04-09 18:33:52 +00:00
Hallvard Furuseth
d9d11a315f
ifdef SLAP_CLEANUP: close db files, free memory, some other cleanup before exit
1999-04-06 01:55:11 +00:00
Kurt Zeilenga
cf4371d108
Backout last change... finish my first coke... try again later...
1999-04-05 18:30:56 +00:00
Kurt Zeilenga
66164a1b58
Share unlock and return between true and false paths.
1999-04-05 18:21:31 +00:00
Hallvard Furuseth
dae494e45d
Delay free(e.e_ndn) in cache_find_entry_dn2id() to after "goto try_again"
1999-04-05 18:01:11 +00:00
Kurt Zeilenga
e46877f89f
cache: implement try_again loop if cache entry is not ready.
...
id2entry: when an error occurs attempting to insert fetched
entry into cache, check to see if entry was added by another
thread. If so, return the entry added by the other thread.
The concurrency tests now run without the dreaded "no such object"
error messages!
1999-04-02 19:09:59 +00:00
Hallvard Furuseth
3277a27b10
Remove unused variables
1999-03-06 16:29:05 +00:00
Kurt Zeilenga
4e160e83b6
Replace IFP() with appropriate full prototypes:
...
AVL_CMP, AVL_DUP, AVL_FREE, AVL_APPLY.
Apply casts as needed.
Change data pointer from caddr_t to void *.
1999-03-02 00:32:59 +00:00
Kurt Zeilenga
a8a05cbe48
Update NT port with support for -lldap_r and -lldbm.
...
Also add initial slapd .dsw/.dsp files. Still needs work (mainly syslog).
1999-03-01 22:37:05 +00:00