Kurt Zeilenga
4ce42af196
Add client-side subentries control support.
...
Make sure client controls are not specified multiple times.
NT port updates.
2002-08-30 07:05:12 +00:00
Kurt Zeilenga
26e4960c1c
Remove those #ifdefs NOOP just added.
2002-08-30 05:43:47 +00:00
Kurt Zeilenga
0517278aff
Place NOOP behind #ifdef
2002-08-30 05:02:20 +00:00
Kurt Zeilenga
2de5c33ba7
Add manageDsaIt/NOOP control support to every tool.
...
Update NT build.
2002-08-29 21:52:45 +00:00
Kurt Zeilenga
d912c2c711
Rework client control parsing... need to implement
...
common controls across all tools.
2002-08-29 21:36:36 +00:00
Howard Chu
d8929296b8
Use lutil_progname, #include <lutil.h> to get it.
2002-07-27 00:06:27 +00:00
Kurt Zeilenga
3a5c4e9e97
Return EXIT_FAILURE if result code is not success.
2002-03-11 00:25:20 +00:00
Kurt Zeilenga
ac6df28e7d
Fix misplaced "search" references
2002-02-08 19:10:06 +00:00
Kurt Zeilenga
14662be692
Add whoami extended operation.
...
Add no-op control (needs backend implementation)
Updated modify password extended option API
Kludged control infrastructure to support frontend only controls
2002-01-28 20:25:30 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
63d4d0eb1e
Fix ITS#1497 use strcmp instead of strncmp
2001-12-17 21:56:24 +00:00
Howard Chu
e6d6faf3c9
From jon@symas.com - patches for consistent use of directory separators
...
in pathnames.
2001-12-07 01:46:26 +00:00
Kurt Zeilenga
0c13c5bbdd
Use parens for clarity
2001-08-28 00:35:34 +00:00
Kurt Zeilenga
867ed1c7c8
use "authcid" instead of "username".
2001-01-18 08:04:56 +00:00
Kurt Zeilenga
ed9bacc1a6
Change start tls warning message
2001-01-16 04:32:13 +00:00
Kurt Zeilenga
ba37cbc233
Fix passwd clearing bug
2000-11-06 15:53:02 +00:00
Kurt Zeilenga
5c9357fa81
Fix encoding of old password
2000-10-28 10:15:17 +00:00
Kurt Zeilenga
9ad5246a9a
Don't print bind dn, it's confusing when using SASL
2000-10-13 18:57:56 +00:00
Kurt Zeilenga
9e1458724b
Use LDAP_VERSION3 instead of 3
2000-10-13 18:30:24 +00:00
Kurt Zeilenga
e6dc9d1889
Update ldappasswd binddn bug, man page and error reporting
2000-10-11 04:56:08 +00:00
Kurt Zeilenga
3d47cb33c1
Fix spelling error
2000-09-19 20:47:22 +00:00
Ben Collins
bca61801a1
Fix fprintf\'s, missing `prog\' argument
2000-09-15 02:48:10 +00:00
Kurt Zeilenga
e366aefffc
Fix ldap_init/initialize error checking
2000-09-13 21:49:31 +00:00
Kurt Zeilenga
8d2c074a80
Fix -R processing
2000-09-07 01:15:52 +00:00
Kurt Zeilenga
52d2b2ec51
user argument should be optional
2000-09-06 18:45:12 +00:00
Kurt Zeilenga
70f28f1ba4
segfault by ldappasswd -A -S (ITS#714) fix
...
suggested by Fumitoshi UKAI <ukai@debian.or.jp>
2000-09-06 18:28:15 +00:00
Kurt Zeilenga
f6a1c05b68
Add missing fprintf param
2000-08-25 23:51:10 +00:00
Kurt Zeilenga
ef3fb24f39
Fix typo which escaped my obviously flawed midnight test
...
(I must have been dreamed that the 'make test' completed
successfully)
2000-08-25 23:46:09 +00:00
Kurt Zeilenga
e97cdfb7a9
Add support of "-H uri"
2000-08-25 05:31:29 +00:00
Randy Kunkee
45ef1d2c90
Clean up lint.
2000-08-23 22:49:44 +00:00
Kurt Zeilenga
0f5c87a41c
Clean up usage()
2000-07-17 21:54:20 +00:00
Kurt Zeilenga
6393523ffa
Expose sasl flags to -lldap (so they can be quiet)
...
Fix interactive and automatic modes. Quiet needs work.
2000-07-17 21:23:59 +00:00
Kurt Zeilenga
95eea5accc
First cut SASL "interactive" and "quiet" modes (default is "automatic")
2000-07-17 00:56:29 +00:00
Kurt Zeilenga
6454508ec6
Update usage to note that user may not be represented by a DN
2000-07-16 00:28:57 +00:00
Kurt Zeilenga
908368a245
Fix authmethod defaulting
2000-07-16 00:23:41 +00:00
Kurt Zeilenga
2c323d2b2a
Add -x (simple authentication)
2000-07-16 00:21:41 +00:00
Kurt Zeilenga
1e562b0d1f
Make it all work.
2000-07-16 00:14:08 +00:00
Kurt Zeilenga
4d45c61600
Cleanup previous commit
2000-07-15 23:34:27 +00:00
Kurt Zeilenga
d2b05a3858
Rework SASL command line arguments. Default is now to authenticate
...
using best available mechanism. (authzid prompting to be disabled)
To use simple bind, -x is required (implied if -P 2) with -D/-[Ww]
To use simple "anonymous" bind, just -x will do.
2000-07-15 23:25:46 +00:00
Kurt Zeilenga
5fc22599e2
Update SASL code to reuse context through life of session.
...
Replace 'negotiated' with 'interactive' bind
Add hooks for SASL/EXTERNAL
Disable SASL security layers
Rework SASL command line and config file parameters
2000-07-13 22:54:38 +00:00
Kurt Zeilenga
f6cda93bd1
Correct improper ldap_result() result checking...
2000-07-04 21:59:41 +00:00
Kurt Zeilenga
20e6dcec3b
Improved but still broken client tools.
2000-07-04 21:49:00 +00:00
Kurt Zeilenga
8be1d467b8
Add reporting of LDAPv3 referrals. Should also report returned controls.
...
Also, as written, the code will behave better in the face of unsolicited
noticifications (such as notice of disconnect). However, code needs to
be improved to better distinguished such from expected result response.
Delete improvements are limited to base object delete. Should be applied
to -p[rune] option as well.
2000-07-03 19:03:22 +00:00
Kurt Zeilenga
1a862732ee
Fail if ldap_set_option fails
2000-06-25 18:17:47 +00:00
Kurt Zeilenga
bf9231ac40
Round 2 of tools work.
...
-R now ignored
-C added to chase. No rebind proc yet, no checking of appropriate authentication.
complain if non-critical TLS was not started.
Fail if requested version is not supported.
ldapdelete:
deletechildren modified to use ldap_search_ext_s()
fixed deletechildren dn memory leak
ldapsearch:
modified to use ldap_search_ext()
2000-06-25 18:07:15 +00:00
Kurt Zeilenga
49f4147385
Added -llber 'N' ber_printf format which inserts a NULL if
...
an internal flag set. Used for SEQUENCE testing. Flag must
be set using debugger. Modified ber_printf to use new format
were needed for extensibility testing.
Added first cut -lldap support for extended responses.
Modified ldapsearch(1) to handle v3 search references when not
chasing. Also added extended/unsolicited notification handling
and extended partial response handling. Changes include a
number of LDIF enhancements.
Fixed getpassphrase() returns NULL bugs
2000-06-24 01:40:39 +00:00
Kurt Zeilenga
e7791e2f93
Adjust -Z[Z] usage statements
...
Change ldapsearch to only produce LDIF.
2000-06-19 16:19:59 +00:00
Kurt Zeilenga
5417fdfea7
Rename ldap_start_tls() to ldap_start_tls_s() for consistency sake.
...
Misc other header changes.
2000-06-13 20:45:30 +00:00
Kurt Zeilenga
8045b54124
Use getpassphrase() instead of getpass() if available.
2000-05-19 18:41:26 +00:00
Kurt Zeilenga
c923fe5401
s/bindpw/passwd/
2000-05-16 05:08:25 +00:00