Commit Graph

2804 Commits

Author SHA1 Message Date
Howard Chu
0991e22550 Fixed the LDAP_F macro.
See README 1.27 log
1999-10-28 07:28:53 +00:00
Howard Chu
ff2908ffb8 For Mingw32, added declarations for snprintf and vsnprintf 1999-10-28 07:27:28 +00:00
Howard Chu
21a51c0628 Added LDAP_SIGUSR macros for NT 1999-10-28 07:27:00 +00:00
Howard Chu
c1b8c1b88b Added LDAP_DIRSEP macro for NT 1999-10-28 07:26:44 +00:00
Howard Chu
a01f3099c3 Fixes for NT support:
Remove macros already in Windows headers: strdup, FD_SETSIZE
  Set HAVE_SNPRINTF and HAVE_MEMORY_H to reflect NT environment
  Moved LDAP_DIRSEP macro to ldap_config.h.in
  Moved LDAP_SIGUSR macros to ac/signal.h
1999-10-28 07:26:25 +00:00
Howard Chu
dbabbeeccc Added macros for Mingw32 support.
See README 1.27 log
1999-10-28 07:24:39 +00:00
Howard Chu
5d4eda1770 For Mingw32, include stdlib.h to test for sys_errlist
See README 1.27 log
1999-10-28 07:23:45 +00:00
Howard Chu
9c46eee39b Added support for Mingw32
See README 1.27 log
1999-10-28 07:23:03 +00:00
Howard Chu
a57a9abe6d New files added for Mingw32 support.
See README 1.27 log
1999-10-28 07:22:10 +00:00
Howard Chu
0db4dcecb0 Specifies the symbols that slapd must export, for Mingw32 support
See README 1.27 log
1999-10-28 07:20:07 +00:00
Howard Chu
dd89498e85 Fix misc syntax warnings and/or bugs.
See README 1.27 log
1999-10-28 07:18:48 +00:00
Howard Chu
74d93ac2f8 Fix Winsock-related warning and/or bugs.
See README 1.27 log
1999-10-28 07:17:08 +00:00
Howard Chu
adaecb2a9f Added stubs function, for dummy references to exported symbols.
See README 1.27 log
1999-10-28 07:15:17 +00:00
Howard Chu
f68db53909 Fix Winsock-related warnings and/or bugs.
See README 1.27 log
1999-10-28 07:14:25 +00:00
Howard Chu
2395c6c23c Added line to #include "ldap_pvt.h". Part of Mingw32 support.
See README 1.27 log.
1999-10-28 07:13:33 +00:00
Howard Chu
8efb675f3e Added numsubordinates operational attribute 1999-10-28 07:09:30 +00:00
Kurt Zeilenga
aa23b21baf Add comment containing possible dn attributetype specification. 1999-10-28 01:00:11 +00:00
Mark Valence
a50cd075db Changes to make TLS work on Windows 1999-10-27 22:40:05 +00:00
Kurt Zeilenga
554f5b7aea Fix up comments. 1999-10-27 22:00:29 +00:00
Kurt Zeilenga
8d821f3904 Really fix gettimeofday usage. 1999-10-27 21:53:41 +00:00
Kurt Zeilenga
68a569c738 Don't use sig_atomic_t.
Comment upon synchronization issue.
Fix gettimeofday usage.
1999-10-27 21:50:49 +00:00
Kurt Zeilenga
c52dc059e6 In fallback mode, use value of buffer to improve quality of hash. 1999-10-27 19:42:27 +00:00
Kurt Zeilenga
f804da9bef Port to NT. 1999-10-27 04:41:38 +00:00
Kurt Zeilenga
3fbee54fa5 Remove lint 1999-10-27 04:40:56 +00:00
Howard Chu
448fc0e99a For LDAPV2 results, make sure Referrals are appended to any error text
instead of replacing it.
1999-10-27 04:36:10 +00:00
Kurt Zeilenga
491dc61df6 Didn't mean to commit #undef URANDOM_DEVICE 1999-10-27 00:29:10 +00:00
Kurt Zeilenga
241799c9e3 Make sure rdata differs for each program. 1999-10-27 00:08:31 +00:00
Kurt Zeilenga
9e0958d5bc Rework counter code in fallback. 1999-10-26 23:54:39 +00:00
Kurt Zeilenga
58e10c7417 Add a fallback based upon Phil Karn's "practical randomness" idea. 1999-10-26 23:41:09 +00:00
Kurt Zeilenga
d0ad0cf228 Minor cleanup. 1999-10-26 23:04:44 +00:00
Kurt Zeilenga
3d064b73c5 Fix compilation errors. 1999-10-26 23:00:30 +00:00
Kurt Zeilenga
bdca662249 Add lutil_entropy(). Currently only supports /dev/urandom or
Linux equivs.  Should be extended to support other quality
sources of entropy.  Should be extended to support a reasonable fallback.
1999-10-26 22:57:39 +00:00
Kurt Zeilenga
7db89cb1c0 Use $$ and other oddities. 1999-10-26 22:52:53 +00:00
Kurt Zeilenga
0ec43c31ba Add more shortcircuits (for $$ cases) 1999-10-26 22:29:47 +00:00
Randy Kunkee
f4f48b1a80 Implement timeout, caching (for OpenLDAP) and sorting during searches.
Known bug: cache enabled is known to cause Tcl to abort upon exit.
1999-10-26 22:13:08 +00:00
Kurt Zeilenga
3261f219a3 Add support for Root DSE ACLs.
Add "users" shorthand (dn="^.+$")
Add regex short circuiting for common dn regexs.
1999-10-26 03:19:41 +00:00
Kurt Zeilenga
f4a0699311 Add macros to compute base64 encode/decode lengths. 1999-10-25 01:44:47 +00:00
Kurt Zeilenga
92238e52ae All text messages to be returned with LDAPv2 search results when
no referrals need to be returned.
1999-10-25 00:00:23 +00:00
Kurt Zeilenga
06eb390586 Make accessmask2str reentrant. 1999-10-21 23:19:22 +00:00
Kurt Zeilenga
5cb377302b Add simple test for additive acl. 1999-10-21 23:17:17 +00:00
Kurt Zeilenga
2644018bc2 Add basic flow control tests 1999-10-21 21:23:43 +00:00
Kurt Zeilenga
5e459c4cf8 Use implicit 'by * none' and =rs 1999-10-21 21:16:18 +00:00
Kurt Zeilenga
3d765d6108 Additional changes to improve logic and logging. Still buggy. 1999-10-21 20:29:52 +00:00
Kurt Zeilenga
3f9ba7e05a Minor acl optimizations. 1999-10-21 18:48:16 +00:00
Kurt Zeilenga
873c8f213b More acl parsing fixes... and print fixes. 1999-10-21 18:44:26 +00:00
Kurt Zeilenga
9c5b7aa29d Fix parsing of descrete attributes. 1999-10-21 18:27:23 +00:00
Kurt Zeilenga
f6829ee903 Initial commit of new ACL engine. Engine supports descrete access
privs, additive/substractive rules, and rule continuation.  Existing
rules that use 'defaultaccess none' should be 100% compatible.  Rules
that rely other defaultaccess settings will require addition of
explicit clauses granting the access.
Needs additional testing and tuning of logs
1999-10-21 17:53:56 +00:00
Kurt Zeilenga
10e886a601 Hack to free seqorset when ber_free(ber, 1) is called. 1999-10-21 17:52:33 +00:00
Kurt Zeilenga
64e8eeaa95 Slight modification to last commit to cast %ld args to long 1999-10-20 00:25:04 +00:00
Kurt Zeilenga
d306bb1114 Remove lint caused by recent header changes. 1999-10-20 00:19:47 +00:00