Commit Graph

80 Commits

Author SHA1 Message Date
Kurt Zeilenga
8e5699e60f fix confused comment 2006-08-17 00:26:25 +00:00
Kurt Zeilenga
423a93019f Misc RFC reference updates 2006-06-21 07:09:39 +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
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
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
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
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
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
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
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
Pierangelo Masarati
1a28cc1c64 don't perror when not required 2005-11-05 12:23:17 +00:00
Kurt Zeilenga
7c8d854e19 ITS#4147 fix
Should replace all ldap_perror calls with tool_perror calls to
avoid use of deprecated function.
2005-11-05 00:53:19 +00:00
Hallvard Furuseth
a286d07109 Plug memory leaks 2005-08-01 03:44:52 +00:00
Pierangelo Masarati
f6f6ecb4f3 fix previous commit (ITS#3905) 2005-07-31 23:15:08 +00:00
Pierangelo Masarati
4971ea14bb silence warnings 2005-07-25 20:46:38 +00:00
Kurt Zeilenga
40f0e3a77d move ManageDIT behind LDAP_DEVEL 2005-06-03 20:58:09 +00:00
Kurt Zeilenga
8ac304ee4c Add client-side ManageDIT control support
(to be used to 'manage' DIT entries).
2005-05-13 03:00:04 +00:00
Pierangelo Masarati
dd41b05ef9 cleanup usage 2005-05-06 12:54:01 +00:00
Kurt Zeilenga
46445759e4 Improve error messages 2005-04-25 19:58:48 +00:00
Pierangelo Masarati
4a223061ed allow abandon/cancel for all tools 2005-04-19 21:21:51 +00:00
Kurt Zeilenga
c57f440118 ITS#3620: Initial Unbind control fix
A better fix would be to use the _ext interface
Also add and use a tool_destroy() function (to destroy SASL/TLS contexts).
2005-04-01 23:29:02 +00:00
Pierangelo Masarati
5339c69620 use / as separator 2005-01-27 23:56:48 +00:00
Pierangelo Masarati
c6a1f24186 add support for Chaining Behavior control (<draft-sermersheim-ldap-chaining>, a work in progress) 2005-01-25 16:11:26 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Kurt Zeilenga
e983616d75 More NEW_LOGGING removal 2004-10-19 01:40:38 +00:00
Kurt Zeilenga
50dd91de39 Fix typo in error message 2004-09-20 04:41:19 +00:00
Pierangelo Masarati
42a6406bfb fix URI parsing error code 2004-07-05 12:03:39 +00:00
Pierangelo Masarati
ff49d18a40 improve client parsing - first step 2004-06-18 08:30:46 +00:00
Howard Chu
dfd400df24 Just set ppolicy control in tool_bind() 2004-05-14 19:28:42 +00:00
Kurt Zeilenga
e32c872664 Be consistent with element separators. 2004-03-17 20:50:35 +00:00
Howard Chu
12258ab798 Fix prev commit 2004-03-16 03:54:09 +00:00
Howard Chu
79994bad5d Clean up Bind ppolicy diagnostics 2004-03-16 02:59:03 +00:00
Howard Chu
2f86087e56 Hide password policy code behind #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST 2004-03-16 01:47:16 +00:00