Howard Chu
eb25111b9a
Revert rev 1.92, AI_ADDRCONFIG is not a legal flag for getaddrinfo
2004-08-15 23:15:55 +00:00
Pierangelo Masarati
30fed3f1c9
cleanup error codes
2004-07-24 11:15:13 +00:00
Howard Chu
0b9cc398e2
ITS#3250 don't call select unnecessarily
2004-07-24 03:13:29 +00:00
Pierangelo Masarati
f0505795c0
cleanup...
2004-07-18 21:32:38 +00:00
Hallvard Furuseth
06d3b9a9e3
ldap_url_parse_ext(): Kill duplicate init + pointless free(NULL) of lud_filter.
2004-07-18 04:12:24 +00:00
Pierangelo Masarati
8e5d04d2a8
allow unescaped equals, according to draft-ietf-ldapbis-dn (ITS#3229)
2004-07-10 10:48:41 +00:00
Kurt Zeilenga
ecebe3d051
basic poll(2) implementation for connect(2) (needs work)
...
Need to deal with selectinfo...
2004-07-09 19:29:46 +00:00
Kurt Zeilenga
f0bd9b3a5b
Mark areas needed poll(2) support with HAVE_POLL.
2004-07-09 17:50:22 +00:00
Pierangelo Masarati
42a6406bfb
fix URI parsing error code
2004-07-05 12:03:39 +00:00
Pierangelo Masarati
74773777c4
fix extended matching when rule is missing (ITS#3216)
2004-07-03 11:28:47 +00:00
Kurt Zeilenga
b6bd7296ac
cleanup last commit, add commit
2004-06-30 22:36:47 +00:00
Kurt Zeilenga
03ec37823c
Avoid high-level retry on low-level error as that implies a
...
re-sasl_encode() of the input. sasl_encode() may be stateful.
2004-06-30 22:30:09 +00:00
Jong Hyuk Choi
3fb0648079
revert the ITS#3139 change for now
2004-06-30 17:51:06 +00:00
Pierangelo Masarati
dd5a27c1f6
log error string
2004-06-30 16:25:40 +00:00
Pierangelo Masarati
76bab2b6df
typo in comment
2004-06-30 16:24:07 +00:00
Kurt Zeilenga
1ded030427
fix last commit
2004-06-29 17:48:19 +00:00
Kurt Zeilenga
a593343aa5
ITS#3212: sasl_encode/decode type conflict fix
2004-06-29 17:46:30 +00:00
Pierangelo Masarati
ad48d85ce5
fix ITS#3208
2004-06-28 20:55:04 +00:00
Kurt Zeilenga
3484ddff18
cleanup
2004-06-22 20:20:47 +00:00
Pierangelo Masarati
175ce7960d
improve parsing - first step
2004-06-18 08:36:30 +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
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
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
Howard Chu
e607e1daad
ITS#2920 allow oid macro in ditcontentrule
2004-04-08 21:51:50 +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
Kurt Zeilenga
e323437c6a
cleanup for release engineering
2004-03-18 01:06:39 +00:00
Kurt Zeilenga
38025e96d5
New T_SRV fix
2004-03-17 04:45:56 +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
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
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
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
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
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
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
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
Howard Chu
7fedf13e02
ITS#2494 sort entries ahead of everything else
2003-12-07 11:15:22 +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
Kurt Zeilenga
f7f171ed40
Add ACKNOWLEDGEMENT and fix initial copyright date
2003-11-26 07:53:40 +00:00
Kurt Zeilenga
159de0f135
Updated notices and acknowledgements
2003-11-26 07:16:36 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
aba062ee36
(re)Add BIND4 support for NetBSD
2003-11-21 18:56:52 +00:00
Howard Chu
838c2d774e
Fix GSSAPI connections to localhost
2003-11-10 20:58:29 +00:00
Stig Venaas
6c08d96597
use AI_ADDRCONFIG if possible to not lookup AAAA when no IPv6 addresses are configured
2003-10-29 14:49:35 +00:00
Luke Howard
bb6f9f4c53
Back out previous commit - files apart from test.c
2003-10-18 16:01:16 +00:00
Luke Howard
32a9ad1be8
ITS#2777 - fix previous commit
2003-10-18 15:59:58 +00:00
Luke Howard
2ce26dc96e
Possible fix for ITS#2777 - getline() conflict when _GNU_SOURCE is
...
defined. I simply renamed it to get_line(). (Probably this will
conflict with something else...)
2003-10-18 15:56:32 +00:00
Kurt Zeilenga
9184c3a18c
Fix linking --with-cyrus-sasl and --without-tls
2003-10-17 04:27:32 +00:00
Howard Chu
11453007c2
ITS#2770 - delete bogus maxbuf checks on sasl_read
2003-10-16 18:56:02 +00:00
Kurt Zeilenga
3e6a44ee47
Don't use compat features unnecessarily.
2003-10-15 03:39:05 +00:00
Kurt Zeilenga
e8c4add1a3
Use macro instead of sizeof
...
- p += sizeof(HEADER);
+ p += NS_HFIXEDSZ;
2003-10-15 03:30:15 +00:00
Kurt Zeilenga
4f003dbdaf
mv ldap_int_get_controls to ldap_pvt_get_controls
2003-10-12 08:14:28 +00:00
Hallvard Furuseth
bdac96f929
#include <ac/unistd.h>, to get geteuid() and getegid().
2003-09-29 14:04:48 +00:00
Jong Hyuk Choi
8693f3361d
didn't compile without cyrus-sasl
2003-09-25 01:00:34 +00:00
Howard Chu
38a406c8ab
ITS#2717, use default SASL_MECH if none was provided.
...
Note that the mech stored in the void *defaults structure is useless
because we can't look inside the structure, and the mech list is needed
as input to the SASL library, before any callbacks are called. It seems
the mech doesn't belong in the *defaults struct, and/or it should be
visible and not opaque.
2003-09-22 23:50:33 +00:00
Howard Chu
8f3d3cf3c9
Revert rev 1.90 ITS#2484 patch; Cyrus 1.5 is no longer supported.
2003-09-20 00:33:42 +00:00
Howard Chu
1881ae872f
ITS#2729 fix typos
2003-09-19 00:49:33 +00:00
Howard Chu
6f632af413
ITS#2484, set sasl_maxbuf to SASL_MAX_BUFF_SIZE if it was negotiated
...
as zero.
2003-09-14 05:19:45 +00:00
Howard Chu
10811b6f51
Clarify/standardize library version mismatch error messages
2003-09-12 00:54:21 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Kurt Zeilenga
7c9a2f46b9
preliminary modify/increment client side code
2003-07-30 10:21:57 +00:00
Kurt Zeilenga
cc637cd53c
Fix lock release bug
...
Fix logging messages (thanks Kent)
2003-07-28 20:25:44 +00:00
Kurt Zeilenga
ca6820c42e
Add Internet Society copyright notices
2003-07-07 05:14:03 +00:00
Kurt Zeilenga
973ffd6f98
Fix RFC reference
2003-07-07 05:01:31 +00:00
Jong Hyuk Choi
262f8bf11f
LCUP primitive routines removed
2003-06-27 17:39:48 +00:00
Jong Hyuk Choi
881718ba5b
fix a comment
2003-06-23 14:10:18 +00:00
Kurt Zeilenga
4bf037cfaa
Add ldapAssertionFailed result code
2003-06-10 02:24:26 +00:00