Commit Graph

2096 Commits

Author SHA1 Message Date
Howard Chu
d75c35e9de Use hardcoded Unicode data 2004-05-31 01:58:13 +00:00
Howard Chu
688cadf099 Use hardcoded Unicode data tables 2004-05-31 01:54:27 +00:00
Howard Chu
cc4d5c10df ITS#3123 make sure ldap_int_sasl_mutex is init'd before it is used 2004-05-21 10:53:30 +00:00
Howard Chu
6c2bc1de5d Updated to 3.2.0 2004-05-20 03:08:58 +00:00
Howard Chu
d557ceda8f Add special cases for Unicode 3.2.0 2004-05-20 02:52:22 +00:00
Kurt Zeilenga
5deea2b617 ITS#3134: support DNSname style wildcards in common name
(This is not consistent with RFC 3280 or RFC 2830, but consistent
with current practices.)
Based upon patch submitted by Quanah Gibson-Mount <quanah@stanford.edu>.
2004-05-19 02:47:30 +00:00
Howard Chu
9da35acf44 Fix ITS#3139, empty output buffer when sb_sasl_write fails 2004-05-14 08:03:25 +00:00
Pierangelo Masarati
f195b20a1f always hexpair escape special chars (databases must be rebuilt) 2004-05-07 22:29:10 +00:00
Pierangelo Masarati
7969841074 allow LDAPv2 DN to be enclosed in <> 2004-05-07 22:28:52 +00:00
Howard Chu
e5d1b3134c Fix for ITS#1181 from Mark Adamson @ CMU.edu 2004-05-06 23:58:13 +00:00
Kurt Zeilenga
781c2d02a1 fix Compare bug in liblber/memory.c (ITS#3116) 2004-04-26 23:16:45 +00:00
Kurt Zeilenga
7cfc2d1f37 back out last change 2004-04-25 04:46:45 +00:00
Kurt Zeilenga
b0830a744f Fail if default context is already initialized 2004-04-25 04:37:19 +00:00
Kurt Zeilenga
ba749eb798 Updated string error handling 2004-04-25 01:09:40 +00:00
Kurt Zeilenga
62da0b6738 AC_STRERROR_R 2004-04-25 00:19:06 +00:00
Howard Chu
affe835984 NUL-terminate alloc'd berbuf (ITS#3086) 2004-04-15 10:25:14 +00:00
Howard Chu
e607e1daad ITS#2920 allow oid macro in ditcontentrule 2004-04-08 21:51:50 +00:00
Kurt Zeilenga
b3fdf881c3 ITS#3072: remove extraneous assignment 2004-04-08 20:20:36 +00:00
Howard Chu
efdeee929d Revert previous commit, didn't solve anything. Probably made things worse. 2004-04-08 12:40:49 +00:00
Kurt Zeilenga
6abba139bb Hide if SIZEOF_WCHAR_T < 4. 2004-04-08 08:54:49 +00:00
Howard Chu
715d087cd3 Fix attributions 2004-04-08 03:05:16 +00:00
Kurt Zeilenga
859e282780 ITS#3065: fix vector handling to ensure its free()able 2004-04-07 18:58:32 +00:00
Kurt Zeilenga
1634811465 Use BER_BVNULL 2004-04-07 01:11:32 +00:00
Howard Chu
62d050a0bd ITS#2982 ok, we should NULL out lc after all... 2004-03-25 12:15:52 +00:00
Howard Chu
d831315024 ITS#2982 be sure to use nextlc when calling try_read1msg 2004-03-25 09:54:23 +00:00
Howard Chu
cbabd269a5 ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Howard Chu
cee3acea09 Fix prev commit 2004-03-17 09:59:03 +00:00
Howard Chu
650837742a Restore NT4 compatibility, avoid W2K-only API 2004-03-17 05:06:04 +00:00
Kurt Zeilenga
38025e96d5 New T_SRV fix 2004-03-17 04:45:56 +00:00
Pierangelo Masarati
c9fae6c942 fix file name 2004-03-16 18:02:38 +00:00
Howard Chu
ef691ae867 Renamed ppcontrol.c to ppolicy.c 2004-03-16 17:44:34 +00:00
Howard Chu
1dc6c053c1 Hide code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:48:21 +00:00
Howard Chu
de5a77c8a2 Rename ppcontrol.c to ppolicy.c 2004-03-16 01:39:04 +00:00
Howard Chu
2b86ace653 ldap_parse_passwordpolicy_control takes a single LDAPControl* arg now,
use ldap_find_control to find it. Added ldap_passwordpolicy_err2text().
2004-03-15 23:53:37 +00:00
Kurt Zeilenga
647df2b9cb Start of client-side LDAP tranactions (non-working)
and lots of cleanup (hence the commit)
(ldapmodify will need much more work for transactions)
2004-03-14 23:32:00 +00:00
Kurt Zeilenga
af9e1583a7 Add prototypes for grouping functions
Add ldap_find_control()
2004-03-14 00:57:44 +00:00
Howard Chu
27d0e14a12 Cleanup comments, copyright 2004-03-13 09:13:11 +00:00
Howard Chu
3810fa18d8 Added PasswordPolicy control 2004-03-12 21:22:32 +00:00
Pierangelo Masarati
daa29805ad define error codes for lutil_passwd* funcs 2004-03-12 20:07:41 +00:00
Pierangelo Masarati
1d1cd21814 allow '$' as action prefix instead of '%'; backward compatibility is preserved 2004-03-10 19:21:39 +00:00
Pierangelo Masarati
14f2ebe1d3 '=' must be escaped (and escapable by '\') according to RFC2253 and draft-ietf-ldapbis-dn-XX (ITS#3009; must have slipped thru some changes long time ago...) 2004-03-09 20:43:27 +00:00
Howard Chu
c558bd49bc ITS#2992 Windows fixes from Alexey Melnikov 2004-03-05 12:24:06 +00:00
Pierangelo Masarati
8aedfad3bb improve previous commit 2004-03-05 10:53:35 +00:00
Howard Chu
127cdb6432 ITS#2996 make sure T_SRV is defined for both places it is referenced 2004-03-05 10:35:21 +00:00
Pierangelo Masarati
df312502ac append trailing slash to AD canonical if DN is exactly a domain (ITS#3000) 2004-03-05 10:33:43 +00:00
Howard Chu
f3f78e8a1f ITS#2997 change MAXTHREADS to LDAP_MAXTHR 2004-03-04 15:35:29 +00:00
Howard Chu
6362951d6e ITS#2993 fix prev commit 2004-03-03 15:58:57 +00:00
Howard Chu
8bac3b4ff7 Pass result berval to lutil_passwd_hash instead of returning it. 2004-03-02 21:59:24 +00:00
Pierangelo Masarati
99c7f5318a really minor cleanup 2004-02-28 12:04:33 +00:00
Pierangelo Masarati
55ae6e4c91 intercept errors from maps 2004-02-28 12:04:06 +00:00
Howard Chu
9c6428b29e Deleted Kerberos and Netscape support 2004-02-26 03:10:53 +00:00
Howard Chu
6cedc94c63 ITS#2944, #2956 - revert maxbuf patch from ITS#2184
Still need to think about interoperability with other versions, vendors...
2004-02-24 16:25:39 +00:00
Howard Chu
75af144930 Fix mutex deadlock obtaining msgid 2004-02-13 02:47:53 +00:00
Howard Chu
f8d54b4e87 Fix prev EBCDIC commit 2004-02-04 22:53:17 +00:00
Howard Chu
9f3b0d60f9 Fix EBCDIC conversion for syslog() 2004-02-03 03:58:38 +00:00
Howard Chu
77dc2c479f ITS#2899 NS-MTA-MD5 password len is exactly 64 bytes. 2004-01-25 10:39:32 +00:00
Howard Chu
690f0111e9 ITS#2894 - search refs that are the immediate result of another search
ref are associated with the parent req instead of the original req, to
prevent infinite loops.
2004-01-25 10:30:10 +00:00
Howard Chu
02a6301f22 ITS#2926 from igor@ipass.net, slightly modified 2004-01-24 03:33:44 +00:00
Ralf Haferkamp
0b907a37c5 fixed format string 2004-01-19 16:56:15 +00:00
Kurt Zeilenga
1d933bf8ec Minor tweak to last commit 2004-01-17 19:11:20 +00:00
Howard Chu
54f38330ef define HFIXEDSZ if it's missing. Not all platforms have it. 2004-01-17 01:54:14 +00:00
Howard Chu
a6b1dfd1c8 Fix ldap_pvt_thread_self, GetCurrentThread() returns a constant, not a
unique value.
2004-01-15 09:59:11 +00:00
Kurt Zeilenga
c3674e92f9 Fix text == NULL bugs in last commit 2004-01-09 04:48:40 +00:00
Kurt Zeilenga
c8408d3c6a ITS#2906: report invalid userPassword schemes, clarify documentation 2004-01-09 04:11:57 +00:00
Pierangelo Masarati
fde8af364d remove (unnecessary) c++ style comments (ITS#2908) 2004-01-08 16:20:32 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
afb520a6e9 LDAP_SCOPE SUBORDINATE implementation 2003-12-30 01:34:05 +00:00
Kurt Zeilenga
2775c8d4a8 Update no-op control to return LDAP_NO_OPERATION instead of LDAP_SUCCESS.
(back-sql needs to be updated)
2003-12-29 23:31:39 +00:00
Kurt Zeilenga
fcad25da47 Misc code cleanup 2003-12-29 22:25:43 +00:00
Pierangelo Masarati
3994dc645a allow to set max passes per rule 2003-12-29 18:02:49 +00:00
Pierangelo Masarati
c860ba6a23 fix, clarify and document previous commit 2003-12-29 17:06:43 +00:00
Pierangelo Masarati
8b797f70e2 allow user-defined return codes from rewriteRules 2003-12-29 16:14:47 +00:00
Pierangelo Masarati
748e144a16 allow '%' escape; treat anything else as error 2003-12-29 15:10:59 +00:00
Pierangelo Masarati
e9314574aa allow memory ownership specification when using (session- wide) variables 2003-12-27 18:48:06 +00:00
Pierangelo Masarati
43f5b50319 fix memory ownership 2003-12-27 17:52:07 +00:00
Kurt Zeilenga
4590651cf9 Revert #if 0 2003-12-21 08:25:55 +00:00
Kurt Zeilenga
46053f84a6 Clean up LDAP Sync result codes 2003-12-17 21:09:28 +00:00
Kurt Zeilenga
271fff13de Sync with HEAD 2003-12-17 17:55:27 +00:00
Kurt Zeilenga
4d29df5bd1 Add LDAP_DEPRECATED macro
Need to remove use of deprecated functions.
2003-12-14 02:47:42 +00:00
Howard Chu
39eb55b5f4 ITS#2869 fix decode length checks again 2003-12-11 13:24:06 +00:00
Kurt Zeilenga
430b67aa60 Change API error codes to negative numbers so as not to clash
with newly assigned protocol result codes.
2003-12-11 05:26:32 +00:00
Kurt Zeilenga
14b170ce20 More blind s/unsigned long/ac_uint4/ changes 2003-12-09 21:57:34 +00:00
Kurt Zeilenga
96cb99aa54 s/unsigned long/ac_uint4/ 2003-12-08 18:08:29 +00:00
Kurt Zeilenga
fbba83b20f notices and acknowledgements 2003-12-08 17:41:40 +00:00
Howard Chu
7fedf13e02 ITS#2494 sort entries ahead of everything else 2003-12-07 11:15:22 +00:00
Kurt Zeilenga
4383fcd566 Fix liblunicode issues on systems where sizeof(long) > 4.
Code still lacks portability (alignment/padding, required ac_uint2/4 types)
Should resolve ITS#2632, ITS#2660, ITS#2784
2003-12-07 08:29:07 +00:00
Kurt Zeilenga
c5f83acf6e cleanup 2003-12-07 05:12:36 +00:00
Howard Chu
f01c60dd66 ITS#2538 plug leak 2003-12-07 04:48:50 +00:00
Luke Howard
98481ec449 Use gmtime_r() if HAVE_GMTIME_R is defined (need to add autoconf check) 2003-12-06 05:48:29 +00:00
Kurt Zeilenga
6264225bb9 zap libldbm 2003-12-04 23:42:05 +00:00
Howard Chu
3152932e96 Moved ldbm into back-ldbm. No more libldbm. 2003-12-04 22:38:54 +00:00
Howard Chu
dc19332bb9 Don't init SASL library until we actually want a SASL session 2003-12-03 01:59:33 +00:00
Kurt Zeilenga
a379dd4faf Misc cleanup 2003-11-30 01:07:47 +00:00
Hallvard Furuseth
51f1b8ccd7 Avoid /* inside comments. 2003-11-29 17:29:44 +00:00
Pierangelo Masarati
a0e158c7a3 clarify comments 2003-11-29 11:10:16 +00:00
Pierangelo Masarati
044d46aa29 naming cleanup && more leaks fixed 2003-11-29 11:09:52 +00:00
Kurt Zeilenga
f9ba11f543 Add acknowledgements 2003-11-27 00:33:55 +00:00
Kurt Zeilenga
85013a9d98 acknowledgements and notices 2003-11-26 22:51:15 +00:00
Kurt Zeilenga
74c7e200b3 From liblavl 2003-11-26 22:32:36 +00:00