Kurt Zeilenga
0e0bc2bdd4
Add krbName
2000-05-21 01:09:41 +00:00
Kurt Zeilenga
72db2b73dc
Add a little debugging
2000-05-19 02:44:47 +00:00
Kurt Zeilenga
cdb5244edf
Fix typo in -USLAPD_SCHEMA_NOT_COMPAT varient
2000-05-19 01:06:43 +00:00
Kurt Zeilenga
52cf422c1b
SLAPD_SCHEMA_NOT_COMPAT: implement str2entry()
2000-05-19 00:33:39 +00:00
Kurt Zeilenga
56c186cb83
Fix typo in last commit
2000-05-19 00:33:09 +00:00
Kurt Zeilenga
a14b3b291a
Add X-BINARY (binary transfer required) and X-NOT-H-R (not human readable)
...
to appropriate syntaxes.
2000-05-18 22:07:34 +00:00
Kurt Zeilenga
074be5fb5a
SLAPD_SCHEMA_NOT_COMPAT: numerous changes to syntax flags, mostly minor
...
added new value_normalize() code
need LDAPsyntaxes X- field support
2000-05-18 17:21:42 +00:00
Kurt Zeilenga
5697ed03ed
Update "entry" and "children" psuedo attribute types in openldap.schema
...
Update comments in cosine.schema
2000-05-17 20:48:48 +00:00
Kurt Zeilenga
fa9f7a7d8e
SLAPD_SCHEMA_NOT_COMPAT: add framework for substr value normalization
...
Calls value_normalize per substr component (like old code),
likely should have/call substr_normalize which takes all components
at once (to allow more sophisticated normalization)
2000-05-17 20:29:26 +00:00
Kurt Zeilenga
1f22c52b8a
SLAP_SCHEMA_NOT_COMPAT: add calls to dummy value_normalize()
...
SLAP_SCHEMA_NOT_COMPAT: Need to sort out normalization of substring components
2000-05-17 20:08:13 +00:00
Kurt Zeilenga
75b51d523f
Add missing syntaxes from RFC 2252.
2000-05-17 18:10:38 +00:00
Kurt Zeilenga
f3f5b6a1b3
Update pilot schema based upon asid ldapv3-attributes I-D.
...
Add needed syntaxes defs to schema_init.c
2000-05-17 17:25:48 +00:00
Kurt Zeilenga
aa3ed4a5e3
Minor cleanup
2000-05-17 06:02:03 +00:00
Kurt Zeilenga
00f6f9c59a
Assign temporary OIDs to "entry" and "children" psuedo attributes types
2000-05-17 04:23:39 +00:00
Kurt Zeilenga
4d23358a8e
move mail and simpleSecurityObject to core.schema
2000-05-17 02:52:32 +00:00
Kurt Zeilenga
06a18f628e
add domainComponent as alternative name for 'dc' (per rfc2253)
...
misc other clean up
2000-05-17 02:35:25 +00:00
Kurt Zeilenga
1c131933a2
jpegPhoto should be defined here as RFC 2798 is the only
...
known referencable spec.
2000-05-17 02:34:23 +00:00
Kurt Zeilenga
cb4f0fb246
RFC 1274 cosine pilot schema
...
(pilot.schema is actually closer to newPilot)
2000-05-17 02:33:19 +00:00
Kurt Zeilenga
bb4ee30aa2
Update to based upon rev1 of lachman laser
2000-05-17 02:32:37 +00:00
Kurt Zeilenga
04ca214dfb
Update inetOrgPerson based upon RFC 2978
2000-05-16 22:25:36 +00:00
Kurt Zeilenga
eb248103b0
Fix -USLAPD_SCHEMA_NOT_COMPAT
2000-05-16 22:04:49 +00:00
Kurt Zeilenga
df96737bf2
Remove Lint.
2000-05-16 21:54:24 +00:00
Kurt Zeilenga
349bec7c0e
Fix desc not NULL bugs
2000-05-16 21:44:54 +00:00
Kurt Zeilenga
8d407bc2a6
Modify ava code to return error text
...
Filter code needs to be updated to properly handle soft errors.
2000-05-16 21:03:18 +00:00
Kurt Zeilenga
c689e1cb74
bv2ad expects desc pointer to be NULL if unallocated
2000-05-16 20:50:49 +00:00
Kurt Zeilenga
dfe11c105d
s/LDAProotDSE/OpenLDAProotDSE/ (until we have a standard track class)
2000-05-16 18:13:08 +00:00
Kurt Zeilenga
318a116910
Misc. schema updates.
2000-05-16 18:11:50 +00:00
Kurt Zeilenga
75841ac6c7
Apply filter to info entry
2000-05-16 17:00:42 +00:00
Kurt Zeilenga
53709873dd
Rework root dse and other info entry codes to produce entry
...
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
2000-05-16 16:42:01 +00:00
Kurt Zeilenga
a1430fdfdb
Rework root dse and other info entry codes to produce entry
...
to caller (do_search) such that info can be used by other
operations (ie: do_compare).
SLAPD_SCHEMA_NOT_COMPAT: Add additional code to support filters (needs work)
2000-05-16 16:22:52 +00:00
Kurt Zeilenga
4e5992c190
Fix unsigned * vs unsigned long * bugs
2000-05-16 04:52:37 +00:00
Kurt Zeilenga
deac70a6de
Fix typo in last commit
2000-05-16 02:17:59 +00:00
Kurt Zeilenga
6af8b86a7e
SLAPD_SCHEMA_NOT_COMPAT: need to set desc to NULL
2000-05-15 23:47:51 +00:00
Kurt Zeilenga
37235b71c0
SLAPD_SCHEMA_NOT_COMPAT: working cn=schema
2000-05-15 23:36:37 +00:00
Kurt Zeilenga
aa08287e29
SLAPD_SCHEMA_NOT_COMPAT: simple Root DSE search WORKS!
2000-05-15 22:07:10 +00:00
Kurt Zeilenga
19becc614f
SLAPD_SCHEMA_NOT_COMPAT: implement attr_merge()
2000-05-15 21:47:58 +00:00
Kurt Zeilenga
73b48936a7
Should have #ifdef'ed in last commit
2000-05-15 21:22:57 +00:00
Kurt Zeilenga
40ab90fa9c
SLAPD_SCHEMA_NOT_COMPAT: Rework caching of internal schema
2000-05-15 21:05:25 +00:00
Kurt Zeilenga
7b14e1304a
Relocate schema_init() call to main()
...
Add schema_prep() call to main()
Similiar changes to slapcommon.c
Add schema_prep() impl to schema_init.c
Add slap_ad_entry and slap_ad_children globals.
Add "entry" and "children" to openldap.schema (this likely should
be added to schema via code, not configuration)
2000-05-15 20:04:36 +00:00
Kurt Zeilenga
ef6ee899cb
Fix -USLAPD_SCHEMA_NOT_COMPAT bugs introduced in last commit
2000-05-15 19:28:26 +00:00
Kurt Zeilenga
59aba7711b
SLAPD_SCHEMA_NOT_COMPAT: basic filter parsing
2000-05-15 18:46:03 +00:00
Kurt Zeilenga
ff3e396bb9
Port to SLAPD_SCHEMA_NOT_COMPAT
2000-05-15 16:53:28 +00:00
Kurt Zeilenga
7c88b6f191
Fix typo in last commit
2000-05-15 16:53:05 +00:00
Kurt Zeilenga
e0eba07244
Add copyright notices
2000-05-15 16:35:48 +00:00
Kurt Zeilenga
dc68e41ee9
cleanup old TOOLID macro
2000-05-15 16:33:07 +00:00
Kurt Zeilenga
1e65293aa2
Minor updates to shell backend configuration/examples.
...
Replace U-Mich DN with OpenLDAP DN
Remove default referral
Add copyright notice
s/#!/bin/sh/#! /bin/sh/
2000-05-15 16:31:59 +00:00
Kurt Zeilenga
ae7d89fa1e
SLAPD_SCHEMA_NOT_COMPAT addl. filter changes (a work in progress).
2000-05-15 00:41:29 +00:00
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
Kurt Zeilenga
2d4fb1e6e1
Fix c_mutex unlock bug
2000-04-12 01:40:06 +00:00
Kurt Zeilenga
065af58fb7
Fix debug messages
2000-04-12 01:39:52 +00:00
Kurt Zeilenga
4854c6173b
Fix debug message
2000-04-12 01:35:53 +00:00