Commit Graph

664 Commits

Author SHA1 Message Date
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
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
Kurt Zeilenga
5a654472f5 Provide unique error message for ldap_parse_extended_result 2005-10-29 23:42:12 +00:00
Howard Chu
059e7c62ce ITS#4101 fgets leaves NL in input buffer 2005-10-25 21:37:37 +00:00
Pierangelo Masarati
1ca8defe9b improve previous commit 2005-10-01 15:27:16 +00:00
Pierangelo Masarati
2821dcb04c allow to inject whatever control doesn't need response handling 2005-10-01 15:11:58 +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
Hallvard Furuseth
d49a477702 Cleanup 2005-07-31 18:05:51 +00:00
Hallvard Furuseth
262f199bb2 Silence warning 2005-07-27 08:33:59 +00:00
Pierangelo Masarati
4971ea14bb silence warnings 2005-07-25 20:46:38 +00:00
Hallvard Furuseth
2bdc980a4b Remove spurious cvalue=NULL printf argument. 2005-07-17 11:49:27 +00:00
Hallvard Furuseth
a043d4d356 Fix typo: Scope "base" was only matched properly on 32-bit hosts. 2005-07-17 11:47:00 +00:00
Hallvard Furuseth
a4e0331f89 Silence "unused label" warning 2005-07-14 19:11:48 +00:00
Kurt Zeilenga
40f0e3a77d move ManageDIT behind LDAP_DEVEL 2005-06-03 20:58:09 +00:00
Kurt Zeilenga
edac9abcfe Fix client-side ManageDIT control 2005-05-13 18:35:55 +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
Howard Chu
476547e7c1 Pick up strutct timeval definition 2005-05-05 23:04:49 +00:00
Kurt Zeilenga
efe91e52f4 Move $STRIP to top.mk, expand use. 2005-04-30 03:48:25 +00:00
Kurt Zeilenga
46445759e4 Improve error messages 2005-04-25 19:58:48 +00:00
Kurt Zeilenga
e7462c7bda Add <ac/time.h> for 'struct timeval' 2005-04-22 17:45:09 +00:00
Pierangelo Masarati
90b46ed931 fix previous commit (was causing failure of test028) 2005-04-21 00:47:50 +00:00
Pierangelo Masarati
4a223061ed allow abandon/cancel for all tools 2005-04-19 21:21:51 +00:00
Pierangelo Masarati
448fa12bc1 enable abandon/cancel in ldapsearch (ITS#3670) 2005-04-19 18:07:27 +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
Howard Chu
0af48a3d64 Add code to aid in testing Abandon/Cancel processing 2005-02-18 02:40:06 +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
69fcf8cbd6 Cleanup notices 2005-01-21 19:38:13 +00:00
Howard Chu
3605b86e1d ITS#3415 use symlink for ldapadd 2005-01-12 02:46:34 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Pierangelo Masarati
ae8bafea44 why scan with {im} when the value need sbe copied? moreover, cookie must be freed after use 2004-12-20 23:02:17 +00:00
Jong Hyuk Choi
5fc9d55c74 improve ldapdelete to handle subentries (ITS#3385) 2004-11-10 03:51:05 +00:00
Kurt Zeilenga
e983616d75 More NEW_LOGGING removal 2004-10-19 01:40:38 +00:00
Pierangelo Masarati
e739f5a09a advertize LDAP_SCOPE_SUBORDINATE support 2004-10-03 21:12:25 +00:00
Kurt Zeilenga
50dd91de39 Fix typo in error message 2004-09-20 04:41:19 +00:00
Kurt Zeilenga
e0a9ea2f50 Move MSVC port to the Attic 2004-09-04 04:37:41 +00:00
Kurt Zeilenga
e29381da53 Fix typo 2004-08-28 02:30:18 +00:00
Pierangelo Masarati
284ca3ecf0 ldapsearch doesn't handle correctly setting paged results size to 0 to abort 2004-08-24 09:17:10 +00:00
Pierangelo Masarati
01a1eec957 fix ITS#3257 2004-07-25 23:05:29 +00:00
Pierangelo Masarati
42a6406bfb fix URI parsing error code 2004-07-05 12:03:39 +00:00
Pierangelo Masarati
db85e423d2 fix response output 2004-06-21 18:40:20 +00:00
Pierangelo Masarati
52e8543b7b parse page control only in case of succes... 2004-06-21 16:46:41 +00:00
Kurt Zeilenga
0b3f8c2303 Add LDAP_MAXINT macro
Add additional error checks
Fix a few typos and cleanup
2004-06-18 20:14:28 +00:00
Pierangelo Masarati
671e3c7651 allow max for time/size limits 2004-06-18 19:47:53 +00:00
Pierangelo Masarati
ff49d18a40 improve client parsing - first step 2004-06-18 08:30:46 +00:00
Kurt Zeilenga
d8dc230a25 Fix a limit typo
Use 0 not maxint when 'none' is selected.
2004-06-18 07:18:27 +00:00
Kurt Zeilenga
43b9b587fd Remove extra sequence 2004-05-15 22:14:12 +00:00
Howard Chu
dfd400df24 Just set ppolicy control in tool_bind() 2004-05-14 19:28:42 +00:00
Pierangelo Masarati
bbbe0db326 helper for unlimited time/size limits request 2004-05-07 17:43:22 +00:00
Kurt Zeilenga
fb57a33ced cleanup 2004-04-09 19:48:02 +00:00
Pierangelo Masarati
b641adad8c do not prompt for next page in case of search failure 2004-04-09 10:26:30 +00:00
Kurt Zeilenga
44349f4ac6 Further refine last commit 2004-04-05 15:40:07 +00:00
Kurt Zeilenga
f6d2bd8846 Fix last commit 2004-04-05 15:38:50 +00:00
Kurt Zeilenga
88915d8a8a ITS#3057: Forgot to call ldap_perror() 2004-04-05 15:29:35 +00:00
Kurt Zeilenga
e323437c6a cleanup for release engineering 2004-03-18 01:06:39 +00:00
Kurt Zeilenga
db18784462 Fix builds with LDAP_GROUPTING_TRANSACTION 2004-03-17 23:17:33 +00:00
Kurt Zeilenga
e32c872664 Be consistent with element separators. 2004-03-17 20:50:35 +00:00
Kurt Zeilenga
aa797c0eec #ifdef txn code 2004-03-17 03:13:00 +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
Howard Chu
d516556d27 Fix prev commit 2004-03-16 00:00:43 +00:00
Howard Chu
a2b582b0e2 Added password policy support 2004-03-15 23:54:38 +00:00
Kurt Zeilenga
0ba4b24c36 Rework to support txn intermediate responses
(if only they were implemented :-)
2004-03-15 02:20:38 +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
25805a3bb2 -E/-e are not just for controls 2004-03-12 22:34:07 +00:00
Kurt Zeilenga
ad585f5692 unifdef -UOLD_WAY 2004-03-12 22:21:14 +00:00
Luke Howard
760c8506a6 Enable prompting of paged results with /prompt or /noprompt rather than /true or /false 2004-03-01 09:13:36 +00:00
Luke Howard
f4e0802d5d Allow paged results to be requested without interaction by specifying
/false after the page result size (/true is still the default)
2004-02-27 10:00:45 +00:00
Luke Howard
9cc32ac874 Fix crasher if paged results size is not specified 2004-02-27 09:32:16 +00:00
Luke Howard
bd8712ad36 Fix for RFC 2696 compliance - avoids infinite loop when talking to
Active Directory (which returns no cookie but size in the last
paged results - this is permitted).
2004-02-27 08:16:36 +00:00
Kurt Zeilenga
65b9c027f6 Allow no args 2004-02-27 02:12:46 +00:00
Kurt Zeilenga
95b74beed8 cleanup 2004-01-22 17:48:28 +00:00
Howard Chu
1f6369f984 ITS#2922 disable argument globbing under Cygwin and MinGW. 2004-01-15 21:27:32 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
2284f101fc Print UNDEFINED on compare error 2003-12-18 23:24:49 +00:00
Kurt Zeilenga
8db7cd5b26 Cleanup 2003-12-18 19:48:40 +00:00
Kurt Zeilenga
d779da4410 Clean error handling 2003-12-18 19:30:37 +00:00
Kurt Zeilenga
d2b9a4913b Use ldap_unbind_ext(3) 2003-12-18 19:15:57 +00:00
Kurt Zeilenga
271fff13de Sync with HEAD 2003-12-17 17:55:27 +00:00
Kurt Zeilenga
d5a1231a64 Remove -C(hasing) option. Doesn't make sense for update operations
(at least not with a secure authentication framework).
2003-12-17 00:34:37 +00:00
Kurt Zeilenga
d5936c1242 Remove LDAP_DEPRECATED dependency 2003-12-14 03:15:28 +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
d78a5a4d25 Clarify that referrals are chased anonymously 2003-12-02 18:02:24 +00:00
Hallvard Furuseth
51f1b8ccd7 Avoid /* inside comments. 2003-11-29 17:29:44 +00:00
Kurt Zeilenga
e0e43961c8 Cleanup notices and attribution 2003-11-26 08:31:36 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Kurt Zeilenga
b24f96cd51 Berkeley DB 4.2 support (DB 4.2 required by default)
libldif to libutil updates
notice updates
2003-11-25 23:22:12 +00:00
Kurt Zeilenga
327880b984 Notice updates 2003-11-25 23:17:08 +00:00
Howard Chu
5788e12926 Revert/Fix prev commit 2003-10-18 12:59:55 +00:00
Howard Chu
7fd05f235c Fix parse order in new print_entry ( ctrls ) 2003-10-18 11:05:48 +00:00
Kurt Zeilenga
a2f36ae2d3 Rework of berbuf allocation:
Moved BerElementBuffer to lber_pvt.h
	Defined union by macro so it can be easily reused.
Updated client/tools/common.c.
2003-10-13 18:09:15 +00:00