Kurt Zeilenga
40fa9d36ce
s/Id/OpenLDAP/ in RCSids
1999-08-30 08:08:00 +00:00
Kurt Zeilenga
23be50047c
Add experimental OpenLDAP RCSid
1999-08-30 08:02:39 +00:00
Kurt Zeilenga
878d489ea9
Do not overwrite charray argument if charray_add realloc fails.
...
Caller is required to call ldap_charray_free as needed.
1999-08-30 01:24:33 +00:00
Kurt Zeilenga
93c7bccde4
Update description of 2.0 items in preparation for posting to -devel.
1999-08-30 01:01:07 +00:00
Kurt Zeilenga
9826f704b5
Back out to simple sock_errno sock_errstr macros and use WSAGetErrorString
...
instead of WSAGetLastErrorString to preserve errno like semantics.
1999-08-29 23:33:35 +00:00
Kurt Zeilenga
5333a58018
Add RCS ID again...
1999-08-29 23:29:08 +00:00
Howard Chu
3925d53ccd
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
1999-08-29 23:09:27 +00:00
Kurt Zeilenga
657959b04d
Add RCS Id to "generic" headers (experimental)
1999-08-29 20:35:22 +00:00
Kurt Zeilenga
32aa582abe
Make sock_errstr expect an error value instead of relying on current
...
errno.
1999-08-29 20:32:34 +00:00
Kurt Zeilenga
580447be5b
Fix Debug() with too few arguments.
1999-08-29 20:13:33 +00:00
Kurt Zeilenga
ae28af1383
Update a few comments
1999-08-29 20:11:23 +00:00
Howard Chu
74543e6c68
Defined tcp_read and tcp_write. Use them in daemon.c
1999-08-29 04:01:16 +00:00
Howard Chu
193d30bf84
In previous commit - change strerror() to STRERROR().
...
Use strerror() if available.
1999-08-29 02:59:29 +00:00
Howard Chu
801bac51c9
per Hallvard's advice: fixed definition of sock_errstr().
1999-08-29 02:54:58 +00:00
Howard Chu
35a3c5017f
Define sock_errno() and sock_errstr() for Unix and winsock.
1999-08-29 01:56:51 +00:00
Howard Chu
9a58202116
Define strerror() if it doesn't exist.
1999-08-29 01:56:00 +00:00
Howard Chu
d75975edf8
Use sock_errno() and sock_errstr() in socket debug messages.
...
Use a UDP socket connected to itself to allow signals to terminate the
select() in slapd_daemon_task().
1999-08-29 01:51:45 +00:00
Howard Chu
a60406860f
Use strerror()
1999-08-29 01:50:12 +00:00
Hallvard Furuseth
ac09c64f5c
Fix fprintf format args
1999-08-29 00:26:44 +00:00
Hallvard Furuseth
66704f67b9
Catch \ at end of filter
1999-08-28 22:15:16 +00:00
Hallvard Furuseth
4d94092995
Remove 'cast away const'
1999-08-28 22:14:21 +00:00
Hallvard Furuseth
635a666359
Fix typo in filter_value_unescape()
1999-08-28 22:06:52 +00:00
Kurt Zeilenga
1ee09a4d09
Add RCS Id (experimental)
1999-08-28 06:00:46 +00:00
Kurt Zeilenga
0afcadc4dd
Remove misplaced asserts. connection_resched changes connection state
...
to UNUSED without holding connections mutex. It's not safe for
connection_init to check connection state until after acquires the
c_mutex.
1999-08-27 19:31:42 +00:00
Kurt Zeilenga
d420fdf784
If filenm is "" or ":", skip it
1999-08-27 18:23:58 +00:00
Kurt Zeilenga
5a8254fa45
Remove lint from awk script (trailing ;)
...
Improve regex to allow detection of : inside of filenames.
Skip files with ':' in name
Fix noslash 'next' vs 'continue' bug
1999-08-27 17:51:40 +00:00
Kurt Zeilenga
9bf50242c3
Plug ber leakage:
...
result was leaking ber's in some error cases. ber_flush now called
with no freeing so that caller of send_ldap_ber() can free its own ber.
c->c_currentber was also being leaked if connection was destory
current when a PDU input was outstanding.
Fixed ber_flush to free ber upon write only to file.
1999-08-27 05:45:53 +00:00
Hallvard Furuseth
2330f1466d
Plug memory leaks (free output from ldif_parse_line)
1999-08-27 03:21:43 +00:00
Kurt Zeilenga
03ea068193
Disable removal of subtree indices upon delete. This allows
...
modrdn to run, but masks the underlying subtree index bug (which
I haven't found yet).
Apply modrdn/dn2id changes to BDB2.
1999-08-26 22:43:08 +00:00
Kurt Zeilenga
4c19272651
Assert ID != NOID when fetching from the datastore.
...
Add additional abandon point to modrdn.
test005-modrdn still shows error. Likely in dn2id, index, or idl codes.
1999-08-26 21:00:22 +00:00
Kurt Zeilenga
60033b38ac
Use NULL pointer to indicate values need not be freed instead of
...
relying on developer selecting the right goto label.
1999-08-26 19:12:15 +00:00
Kurt Zeilenga
c71fcf58fa
Remove use of uninitialized variable.
1999-08-26 19:10:28 +00:00
Kurt Zeilenga
bc1186bfb1
Fix "database fubar" crash
1999-08-26 19:09:40 +00:00
Kurt Zeilenga
a40b1f3126
Backout delete before add rdn index change.
1999-08-26 01:48:47 +00:00
Kurt Zeilenga
e455a7d486
Defer updating dn2id until after rdn checks... (test005 still broken)
1999-08-26 01:33:57 +00:00
Kurt Zeilenga
ed3df0a729
Delete old rdn before adding new rdn.
1999-08-26 01:07:24 +00:00
Kurt Zeilenga
68744ced8d
fix dn2id delete bug... breaks modrdn.
1999-08-26 00:51:27 +00:00
Kurt Zeilenga
406f33eb12
This fixes dn2id delete bug... but breaks modrdn.
1999-08-26 00:48:24 +00:00
Kurt Zeilenga
05532e03f9
Update test005-modrdn to handle success without entries
1999-08-26 00:22:05 +00:00
Kurt Zeilenga
cc3615314b
Defer addition until we have some basic UTF-8 routines
1999-08-25 21:27:39 +00:00
Kurt Zeilenga
170b97ef54
Clarify -enable-dns and "LDAPD" as being an X.500-to-LDAP gateway
1999-08-25 18:32:28 +00:00
Kurt Zeilenga
af17a9f7ad
Add dn.c
1999-08-25 06:52:28 +00:00
Kurt Zeilenga
d08e16cb85
Fix NEEDS typo in the right place
1999-08-25 06:44:18 +00:00
Kurt Zeilenga
5c63fd55b5
Implement ldap_dn_normalize and friends. Should be used by clients
...
to validate input dn's BEFORE sending dn's to server.
Also fixed getfilter to use REG_EXTENDED|REG_NOSUB. (and fixed one
case where REG_BASIC was still used).
s/strdup/LDAP_STRDUP/
Added ldap_pvt_str2lower/upper
1999-08-25 06:44:08 +00:00
Kurt Zeilenga
7ee686dbb4
Fix NEEDS typo
1999-08-25 06:31:56 +00:00
Kurt Zeilenga
0211b35d8d
s/.h.nt/.nt/ to allow for better NMAKE processing
1999-08-24 23:47:11 +00:00
Kurt Zeilenga
95ef9e8627
Prepare to add ldap_dn_*() routines from slapd.
1999-08-24 23:45:52 +00:00
Gary Williams
f8a3a664fc
LDAP_P is only for prototypes, remove from function def
1999-08-24 18:42:11 +00:00
Kurt Zeilenga
46802eee03
Add REG_NOSUB as we only need matched results.
1999-08-24 04:33:34 +00:00
Kurt Zeilenga
78e4cb57aa
Fix ManageDSAit OID (had extra .16)
1999-08-24 04:22:23 +00:00