Pierangelo Masarati
0c952c8893
fixes ITS#1578
2002-02-06 08:43:32 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Kurt Zeilenga
b64374fba1
Fix typo in last commit
2001-12-20 05:27:55 +00:00
Kurt Zeilenga
a07ab15ea1
Minor cleanup
2001-12-20 03:00:53 +00:00
Kurt Zeilenga
2a24264098
Remove lint
2001-12-19 21:19:41 +00:00
Howard Chu
331a7bd1c5
More from jon@symas.com - argv[0] comparison must exclude EXEEXT.
2001-12-12 00:26:42 +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
6ba3b26c09
Enhance error messages from Walter.Mueller@uibk.ac.at
2001-12-05 03:13:50 +00:00
Pierangelo Masarati
77dc11ba3c
liberal treatment of trailing spaces in changetype and mod op lines in ldif files (needs -DLIBERAL_CHANGETYPE_MODOP)
2001-09-29 10:29:24 +00:00
Kurt Zeilenga
2c1273cd17
ITS#1328 LDIFv1 CR/LF fix
2001-09-25 18:48:48 +00:00
Kurt Zeilenga
0c13c5bbdd
Use parens for clarity
2001-08-28 00:35:34 +00:00
Kurt Zeilenga
db71f0c8a7
Clean up some logic, based upon Novell patches
2001-05-02 19:52:09 +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
Gary Williams
3a002e8768
enable new logging functions (behind NEW_LOGGING)
2000-10-25 15:03:22 +00:00
Kurt Zeilenga
9e1458724b
Use LDAP_VERSION3 instead of 3
2000-10-13 18:30:24 +00:00
Kurt Zeilenga
9e450558d8
Fix add of empty value.
2000-10-03 22:05:28 +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
fb6590f8db
Add -H to usage
2000-09-05 18:52:10 +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
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
3f6e23cb0c
Add LDAPv3 rename support
2000-06-29 19:35:51 +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
5f20cf1ed5
Modify ldapsearch(1) significantly. Now handles LDAPv3 search
...
references, extended results, and extended partial results. LDIF
extended to support these new features and reported version 2.
-L now limits output to LDIFv1 for compatibility reasons. No
-L is now LDIFv2. Old alternative form is no longer supported.
Use LDAP_TMPDIR (in ldap_config.h) instead of hardcoded /tmp
Use LDAP_FILE_URI_PREFIX (in ldap_config.h) instead of hardcoded
file://tmp/
2000-06-25 00:35:17 +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
f48234f5bf
No need to include <lber.h>
2000-06-20 17:02:19 +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
701cc91e8d
Fix getpassword bug
2000-06-14 03:07:33 +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
9267700fb9
Fix password handling for SASL
2000-05-16 02:16:54 +00:00
Kurt Zeilenga
0bb431d3b3
Y2k copyright update
2000-05-13 02:25:54 +00:00
Kurt Zeilenga
fe8be04237
Fix typos in version checking
2000-04-25 10:30:42 +00:00
Kurt Zeilenga
4ecf780e48
StartTLS requires LDAPv3
...
Set version to required protocol.
2000-04-20 14:15:39 +00:00
Kurt Zeilenga
c02d7e2cb6
ITS#503: Extend ldap tools to support SASL/TLS
...
Submitted by Gabor Gombas <gombasg@inf.elte.hu>
2000-04-20 09:23:51 +00:00
Kurt Zeilenga
72c0de5d95
#define LDAP_LDIF to default to LDIF input
...
Fix ldaphost == NULL bug
2000-04-12 01:03:51 +00:00