Commit Graph

658 Commits

Author SHA1 Message Date
Hallvard Furuseth
02cba98c0b Protect from sprintf buffer overrun in ldapsearch -f file "(cn=%100000s)" 2006-04-05 20:48:15 +00:00
Hallvard Furuseth
7c117e37da tool_bind(): Do not use pointer to out-of-scope variable (ITS#4434, ppolicy) 2006-04-04 03:20:33 +00:00
Hallvard Furuseth
581c1ff6c7 Cast ctype.h char arguments to unsigned char 2006-04-01 23:44:42 +00:00
Howard Chu
3f09968e5f cleanup 2006-03-31 13:09:42 +00:00
Kurt Zeilenga
40d75df606 Additional TXN changes (a work in progress) 2006-03-30 18:00:04 +00:00
Pierangelo Masarati
aeb20faf51 improve previous commit 2006-03-10 12:30:33 +00:00
Pierangelo Masarati
ee9c11dd08 don't pass uninitialized pointers around 2006-03-10 12:14:58 +00:00
Kurt Zeilenga
17c826f370 Add missing break, ugh. 2006-03-06 22:47:06 +00:00
Kurt Zeilenga
cafc204a13 fix prev commit 2006-03-06 22:32:11 +00:00
Kurt Zeilenga
d787d7692e Cleanup 2006-03-06 22:30:12 +00:00
Kurt Zeilenga
f45cf3002f Don't commit transactions if modify failed. 2006-03-06 22:25:11 +00:00
Kurt Zeilenga
d15ce4d967 Need to clear controls before ldap_txn_end_s call.
Provide proxy control in bind calls instead of via ldap_set_option()
2006-03-06 21:46:31 +00:00
Kurt Zeilenga
825ce79611 Initial and rough client-side implementation of the revised LDAP
Transactions specification.  A work in progress!  Comments welcomed.
2006-03-06 21:20:36 +00:00
Howard Chu
05655a202c ITS#4403 don't unbind a NULL ld. 2006-02-16 08:21:02 +00:00
Kurt Zeilenga
8c8ea049cb Macro cleanup 2006-02-16 05:01:29 +00:00
Luke Howard
cc475f4bbe Allow arbitrary exop data to be base64 encoded
Argument matches LDIF, ie <oid|oid:data|oid::b64data>
2006-02-11 00:51:08 +00:00
Luke Howard
97e214ac8d Fix previous commit 2006-02-10 15:18:45 +00:00
Luke Howard
da5c17aa1e Use : to separate OID/data in exop - will use :: for base64 encoding data 2006-02-10 08:11:53 +00:00
Luke Howard
074b1fa409 Allow passing string arguments to arbitrary extended operation 2006-02-09 05:29:45 +00:00
Luke Howard
4bae2b8db3 allow execution of arbitrary extended operations (right now there is no way
of passing data to them -- working on it)
2006-02-07 09:43:18 +00:00
Kurt Zeilenga
6fd5f89d8e Don't use C comments to comment out C code 2006-01-10 00:15:56 +00:00
Pierangelo Masarati
32a33fe678 add experimental, non-advertised support for obsolete version of proxyAuthz 2006-01-09 23:06:18 +00:00
Pierangelo Masarati
ade9272561 streamline server control requests 2006-01-09 23:00:28 +00:00
Pierangelo Masarati
8d93570cdf fix type specifier in format 2006-01-09 21:27:45 +00:00
Kurt Zeilenga
d8eace75a7 cleanup 2006-01-09 05:22:46 +00:00
Pierangelo Masarati
5640f6313a use new paged results control client API (ITS#4314) 2006-01-08 22:49:24 +00:00
Pierangelo Masarati
57ca537d0c rework control response handling 2006-01-08 19:51:28 +00:00
Pierangelo Masarati
6baeab011e paged results may not be the only control response 2006-01-07 16:52:33 +00:00
Pierangelo Masarati
24374846be fix copyright years 2006-01-06 18:25:22 +00:00
Pierangelo Masarati
339b9c371e rfc2589 support (ITS#4293) 2006-01-06 17:46:52 +00:00
Pierangelo Masarati
b1fb7f824d minor cleanup 2006-01-06 16:20:24 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Pierangelo Masarati
9db7874784 complain if new password is not returned when expected 2006-01-02 14:16:34 +00:00
Kurt Zeilenga
ff763d4730 return LDAP_NOT_SUPPORTED when SASL is not available 2005-12-21 22:56:45 +00:00
Kurt Zeilenga
57c7fe311e s/LDAP_OPERATIONS_ERROR/LDAP_LOCAL_ERROR/
as error is local (e.g., not a protocol result code).
2005-12-15 19:36:07 +00:00
Pierangelo Masarati
d71b24d0fd return the error code, much like the rest of the tools 2005-12-15 18:01:00 +00:00
Pierangelo Masarati
fcda57e90f use macros instead of numbers... 2005-12-13 20:11:26 +00:00
Kurt Zeilenga
a525a24eb5 Add dontUseCopy control to ldapcompare(1) and ldapsearch(1).
No slapd(8) support yet.
Also removed unnecessary #ifdefs
2005-11-26 06:31:05 +00:00
Kurt Zeilenga
4297ec242a clarify ALL 2005-11-25 07:27:38 +00:00
Pierangelo Masarati
d34fffcaf9 use lutil_ato*() whenever appropriate 2005-11-24 01:10:05 +00:00
Pierangelo Masarati
337e297faf add some friendly output of server control responses; please review 2005-11-23 01:18:18 +00:00
Pierangelo Masarati
78ce7e2d32 print control response (may need to condition with an arg switch?) 2005-11-22 14:29:38 +00:00
Pierangelo Masarati
165fb447be even better wording (according to RFC2849) 2005-11-20 22:31:07 +00:00
Kurt Zeilenga
210638e3c5 slightly better wording 2005-11-20 21:28:32 +00:00
Pierangelo Masarati
55349537ad warn if one uses "dn:" inside an entry during add (likely forgot the newline between two entries) 2005-11-20 19:10:13 +00:00
Pierangelo Masarati
1ce491e4f4 fix library checks; implement client side of "touch" modify (ITS#4183) 2005-11-20 14:17:37 +00:00
Kurt Zeilenga
2707ba1ddf Limit use of deprecated ldap_bind(3) to LDAPv2 KBIND 2005-11-18 00:18:53 +00:00
Pierangelo Masarati
81b28fe329 check reponse tags in ldapmodify; other functions rely on client library, which might need further work. Also, remove or silence all deprecated API calls 2005-11-16 21:50:51 +00:00
Pierangelo Masarati
af23be3675 silence warnings... 2005-11-14 21:47:17 +00:00
Kurt Zeilenga
be14ac9fed Add error number to tool_perror() output
Don't hardcode function name.
2005-11-10 03:23:04 +00:00