Commit Graph

2467 Commits

Author SHA1 Message Date
Hallvard Furuseth
5b6c6b5855 Fix SAFEMEMCPY bug from revision 1.32 in idl_insert() 1999-09-03 11:01:18 +00:00
Kurt Zeilenga
5bb08cba85 Backout rev 1.37 change which was committed by mistake. 1999-09-03 05:31:43 +00:00
Hallvard Furuseth
5c9f3b6755 Plug memory leaks when modrdn failure. Fix Typo in debug message. 1999-09-03 05:12:24 +00:00
Howard Chu
0963a783b0 Fix extraneous call to ldap_msgfree. 1999-09-02 12:08:43 +00:00
Hallvard Furuseth
76a94de251 Fix: obey be->be_readonly. Also add & obey global_readonly. 1999-09-02 10:39:51 +00:00
Kurt Zeilenga
d429ac3e53 Add missing * in last commit 1999-09-02 08:40:22 +00:00
Hallvard Furuseth
7cb866642d Fix Debug printf format 1999-09-02 08:11:54 +00:00
Hallvard Furuseth
c09a2c63e7 Cleanup:
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00
Hallvard Furuseth
1886192447 Fix str2lower() -> ldap_pvt_str2lower() 1999-09-02 07:43:31 +00:00
Hallvard Furuseth
06c3e9a0d2 Fix ber_pvt_sb_udp_set_dst() argument 1999-09-02 07:41:58 +00:00
Hallvard Furuseth
1ced9c02cf Fix typo in lutil_debug_file() 1999-09-02 07:40:25 +00:00
Hallvard Furuseth
65ab890317 Add ldap_rename() and ldap_rename_s() prototypes 1999-09-02 07:38:06 +00:00
Hallvard Furuseth
b290faf0db Remove unused vars/function 1999-09-02 07:36:17 +00:00
Hallvard Furuseth
cc2278b36a Axe <varargs.h> support: Don't use LDAP_P() on varargs prototype.
Also fix debug_printf macro when !LDAP_DEBUG: It did not take arguments.
1999-09-02 06:19:21 +00:00
Hallvard Furuseth
85e79b1348 Axe <varargs.h> support. Assume STDC C translator is available
to build OpenLDAP.
1999-09-02 06:14:23 +00:00
Kurt Zeilenga
d0deb9b489 Add OpenLDAP RCS id and copyright 1999-09-02 00:56:32 +00:00
Kurt Zeilenga
41e57c041f Add OpenLDAP RCS id 1999-09-02 00:52:43 +00:00
Kurt Zeilenga
6b80f345a4 Fix idl_insert_key() return codes. 1999-09-01 18:30:13 +00:00
Kurt Zeilenga
f252bde681 if/else clause was reversed and attr->values used where values
should have been.
1999-09-01 07:29:07 +00:00
Hallvard Furuseth
8bbaca258f Fix uninitialized variable 1999-09-01 06:54:33 +00:00
Kurt Zeilenga
5b8d286d40 Fix idle timeout code. 1999-09-01 06:37:46 +00:00
Hallvard Furuseth
7b88ccd954 Fix uninitialized variables 1999-09-01 05:44:16 +00:00
Hallvard Furuseth
aa516d3e80 include ac/string.h 1999-09-01 05:28:52 +00:00
Kurt Zeilenga
f5c2ba7c3e Fix last commit. Should not have deleted assignment to p away. 1999-09-01 05:28:29 +00:00
Hallvard Furuseth
553b40e6f8 Initialize rc 1999-09-01 05:14:42 +00:00
Kurt Zeilenga
683ea591f7 pipe(2) needs unistd.h 1999-08-31 17:51:04 +00:00
Kurt Zeilenga
1459ab3495 Add comment concerning with it's acceptable to use pipe(2) 1999-08-31 17:24:32 +00:00
Kurt Zeilenga
0197ec6f04 Remove use of quipu object classes 1999-08-31 17:09:17 +00:00
Kurt Zeilenga
0307dd3b38 Use pipe(2) if descriptors are selectable. 1999-08-31 17:01:10 +00:00
Kurt Zeilenga
ac8b5468aa Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use. 1999-08-31 16:47:42 +00:00
Kurt Zeilenga
b509dd4d8c sockpair cleanup including:
provide prototype in lutil.h
use LBER_SOCKET_T instead of int in prototype.  (didn't use
	ber_socket_t so all of lber.h wouldn't have be dragged in)
rename signal handlers, use RETSIGTYPE, and make SIGHUP wake
rename fd to sd to reflect descriptor must be usable as a socket.
renamed sel_exit_fds to wake_sds to reflect current use
improve readability of sockpeer.c including removing obtuse goto.
1999-08-31 05:18:06 +00:00
Howard Chu
0319dcad17 Use lutil_pair(), WAKE_LISTENER now uses this socket. 1999-08-31 03:26:35 +00:00
Howard Chu
c057653881 Added lutil_pair() 1999-08-31 03:25:23 +00:00
Kurt Zeilenga
85a3baa8ff Shouldn't need to restall signal handler outside of handler. 1999-08-31 01:44:33 +00:00
Kurt Zeilenga
188ad48057 do_admin should reinstall handler on called signal number and
not assume LDAP_SIGUSR2
1999-08-31 01:41:52 +00:00
Kurt Zeilenga
bd36de108f Add OpenLDAP RCS Id 1999-08-31 01:17:01 +00:00
Kurt Zeilenga
fed44d4972 Add some basic detection of restartable syscalls, sigaction,
socketpair.  Use dependent on useful detection is.
1999-08-31 00:58:22 +00:00
Hallvard Furuseth
6632e41ee8 Export ldap_pvt_<find_wildcard,filter_value_unescape>() from libldap.
Use them in slapd/str2filter.c.
1999-08-31 00:44:49 +00:00
Hallvard Furuseth
10bbb7c9ff Typo in debug message 1999-08-31 00:40:07 +00:00
Gary Williams
6db0228171 validate object class before checking required and allowed 1999-08-30 14:19:53 +00:00
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