Kurt Zeilenga
4bc786f34b
Y2k copyright update
2000-05-13 02:47:56 +00:00
Howard Chu
72d53b60e0
Silence some warnings from parameter type mismatches
2000-05-13 01:18:57 +00:00
Howard Chu
9a79d03e13
Fix previous change to getRegParam, SERVICE_NAME is only known in slapd.
2000-05-12 21:26:30 +00:00
Howard Chu
55f4896cb9
Fix typo with dnattr parsing
2000-05-12 09:10:45 +00:00
Howard Chu
43e97bfb7a
Removed XLDFLAGS, unnecessary
2000-05-11 20:50:50 +00:00
Howard Chu
2e5e4c3f20
More fixes for NT support:
...
liblutil/ntservice.c change registry key path used for non-default
service names.
slapd/Makefile.in change to generate slapd.syms dynamically
slapd/daemon.c fix to make NT service ignore SIGBREAK
slapd/main.c fix to allow NT to retrieve listening url from registry
slapd/nt_svc.c fix for exported symbols
slapd/result.c change use of strerror to sock_errstr
slapd/slapd.syms no longer needed
2000-05-11 20:50:20 +00:00
Kurt Zeilenga
643864c569
Change negotiated mechanism:
...
If application provide one, use it. If application doesn't
provide one, use best of server advertised.
Fix SASL/ANONYMOUS (not normally used, but should work)
PLAIN is not currently working... might be local to me as my
Cyrus installation is a bit hosted.
2000-05-11 20:16:26 +00:00
Howard Chu
2d9a7620b5
LDAP_F macro is obsolete. Redeclare perl_ack_xs_init static, since it
...
is, and declare boot_DynaLoader as EXT since it actually comes from
perl, not from this module.
2000-05-11 09:35:29 +00:00
Howard Chu
3d5553abc2
Removed XLDFLAGS, unnecessary for modules.
2000-05-11 09:33:34 +00:00
Kurt Zeilenga
4fad202b44
hostname needs to be static
2000-05-11 02:41:34 +00:00
Kurt Zeilenga
f9411ca154
Fix another bug... seems to be working... ldap://root.openldap.org/
2000-05-11 01:12:48 +00:00
Kurt Zeilenga
59305df8bb
Fix debug level typo
2000-05-11 00:44:03 +00:00
Kurt Zeilenga
cb8d9e16e9
Add bind handler which returns unwillingToPerform with
...
nasty message if password was provided.
2000-05-10 23:54:57 +00:00
Kurt Zeilenga
1dc3e3c408
Add basic and EXPERIMENTAL chroot() support.
2000-05-10 23:30:52 +00:00
Kurt Zeilenga
18f31148be
Working (but likely not robust) DNS SRV backend!
2000-05-10 22:43:08 +00:00
Kurt Zeilenga
fbb58dec53
Fix minor bugs...
2000-05-10 22:21:57 +00:00
Kurt Zeilenga
e87e01b9c5
DNS SRV meat (a work in progress)
2000-05-10 21:48:18 +00:00
Howard Chu
df7ca2c3f3
Remove #undef LDAP_MOD_BVALUES - backends like back-ldap that are also
...
LDAP clients themselves still need this definition.
2000-05-10 21:22:07 +00:00
Howard Chu
3af3014763
Remove bogus use of PERL_LDFLAGS, it's correctly inserted in SLAPD_LIBS
...
by top.mk
2000-05-10 21:18:12 +00:00
Kurt Zeilenga
dbde2604d7
Additional DNS SRV framework (a work in progress)
...
add common request handler
remove bind handler (not needed)
2000-05-10 20:11:58 +00:00
Kurt Zeilenga
2c2a54d6d7
Add DNS SRV backend framework (a work in progress).
2000-05-10 18:17:38 +00:00
Howard Chu
f0c4f83ea2
libldap/tls.c: change tls_verify_cb to no longer ignore verification errors.
...
This means a ldaps connection may drop before any LDAP protocol exchange
occurs (due to expired cert, unrecognized CAs, etc.).
Change ldap_pvt_tls_connect to copy any TLS error string to ld_error upon
connection failure, otherwise client just sees "can't contact LDAP server."
slapd/connection.c: add flush/delay when SSL_accept fails, to allow any
TLS alerts we generated to propagate back to the client. (Which will then
be picked up by ldap_pvt_tls_connect on the client...)
2000-05-10 17:07:09 +00:00
Howard Chu
dcad3d9569
Undo slapd/add.c rev 1.54; back-bdb2 and back-ldbm were the only backends
...
that called entry_free() on failure. This change would cause a memory leak
from all the other backends. Instead, remove the entry_free calls in these
two backends and let the frontend take care of it for everyone.
2000-05-10 16:36:46 +00:00
Kurt Zeilenga
f224e69558
Add experimental code to check simple bind passwords
...
against Cyrus SASLdb. Like other cleartext mechanisms,
should be protected from eavesdropping.
2000-05-10 04:29:51 +00:00
Kurt Zeilenga
dcc943e528
move default "directory"
2000-05-03 19:01:29 +00:00
Kurt Zeilenga
d0555fffe6
Error handling changes including separation of client v. server
...
SASL to LDAP translation. plus comments and other minor changes
2000-05-03 18:59:58 +00:00
Kurt Zeilenga
8c386888fa
Move default LDBM directory from /usr/tmp to $(localstatedir)
2000-05-03 10:07:21 +00:00
Bastiaan Bakker
14418bdff3
Avoid C++ keyword 'new' in header files.
2000-04-30 15:26:51 +00:00
Bastiaan Bakker
873c36f788
Added example 'moduleload' lines to slapd.conf
2000-04-30 15:01:32 +00:00
Kurt Zeilenga
92e2453467
A NULL (empty) SASL mechanism should not result in a protocol error.
2000-04-26 09:20:25 +00:00
Kurt Zeilenga
b872bf3a91
fix -UHAVE_CYRUS_SASL
2000-04-25 19:28:00 +00:00
Kurt Zeilenga
20351a05cc
SASL: me thinks I got the states okay... now to test.
2000-04-25 18:02:50 +00:00
Kurt Zeilenga
42a20681cc
SASL closer to working from frontend only, need to work through
...
states.
2000-04-25 17:23:54 +00:00
Kurt Zeilenga
55ae3cffd8
SASL code without backend support. Should work with
...
external store, but not yet tested. [Intent is to support
both in same server... may not be doable]
2000-04-25 16:03:17 +00:00
Kurt Zeilenga
2e22c55a6c
Fix typo in prev commit
2000-04-25 13:25:55 +00:00
Kurt Zeilenga
6f2a817d9d
bind/sasl cleanup PRIOR TO moving call from backend to frontend
2000-04-25 13:21:42 +00:00
Kurt Zeilenga
0c134a72d6
SCHEMA_NOT_COMPAT changes
2000-04-25 13:21:06 +00:00
Kurt Zeilenga
12e253fc66
entry_schema_check rename
2000-04-25 13:20:05 +00:00
Kurt Zeilenga
01c4e0f03c
LDAP_OPERATIONS_ERROR -> LDAP_OTHER
...
and other error handling changes
2000-04-25 13:18:59 +00:00
Kurt Zeilenga
365d17ca68
entry_schema_check() rename and more (error handling)
2000-04-25 13:15:55 +00:00
Kurt Zeilenga
8b09742e5c
(slightly) better comments
2000-04-25 13:13:42 +00:00
Kurt Zeilenga
f5ab390e08
Update
2000-04-25 13:12:40 +00:00
Kurt Zeilenga
56ebee78fb
return more descriptive error text
2000-04-25 13:12:20 +00:00
Kurt Zeilenga
16937cb91d
remove SASL bind call. Frontend code coming.
2000-04-25 13:10:31 +00:00
Kurt Zeilenga
3bad06d52b
entry_schema_check() rename
2000-04-25 13:07:14 +00:00
Kurt Zeilenga
2dc6185a92
LDAP_OPERATIONS_ERROR -> LDAP_OTHER
...
and other misc changes
2000-04-25 13:06:22 +00:00
Kurt Zeilenga
27a29fddbb
Fix comment
2000-04-25 13:02:42 +00:00
Ben Collins
50a41f3ee2
when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions
2000-04-24 16:42:16 +00:00
Kurt Zeilenga
28d7d099be
LDAP_OPERATIONS -> LDAP_OTHER
2000-04-19 13:42:08 +00:00
Kurt Zeilenga
01de012e1c
Fix realloc bug and remove use of LDAP_MOD_BVALUES
2000-04-19 08:43:37 +00:00