Kurt Zeilenga
3a1b634ee2
Updates for back-bdb testing
2001-08-01 04:50:47 +00:00
Kurt Zeilenga
4b22216d77
Add extraneous database to slapd.conf
...
Remove ssf from slapd-schema.conf
2001-07-14 01:28:19 +00:00
Kurt Zeilenga
1229cfcc3f
Backout directory config option
2001-06-22 21:00:24 +00:00
Kurt Zeilenga
733d6296a6
Fix undefined filter parsing
2001-06-16 02:20:48 +00:00
Kurt Zeilenga
e14afab1b1
PROTO not needed to test LDAPv3
2001-06-07 19:29:09 +00:00
Kurt Zeilenga
4c3ab6bf69
Don't set directory in backend LDBM for now
2001-06-07 18:00:16 +00:00
Kurt Zeilenga
8dda2d0290
Disable #ldbm# options for now (as DBHOME stuff needs rethinking)
2001-06-07 17:57:13 +00:00
Kurt Zeilenga
85571183cc
s/#LDBM#/#ldbm#/ and back out non-portable /i change to conf.sh
2001-06-06 21:55:22 +00:00
Kurt Zeilenga
6fb6088888
use case ignore matching for $BACKEND subs
2001-06-06 21:25:29 +00:00
Kurt Zeilenga
351e436dcf
Add an LDBM backend "directory" directive (in addition to
...
the existing database "directory" directive) to allow setting
of a DB_ENV directory. Should likely be database specific.
2001-05-29 01:51:37 +00:00
Kurt Zeilenga
3a87993570
Append log
2001-05-07 19:30:22 +00:00
Kurt Zeilenga
2e4e524da2
Add scripts to start a master server
2001-05-06 20:33:13 +00:00
Kurt Zeilenga
777cf6e3a3
Use KILL to kill slurpd.
...
Not sure why its not shutting down with -INT under FreeBSD 4,
but I have no time to figure this out.
2001-05-04 22:03:45 +00:00
Kurt Zeilenga
0d41df6ff8
Use kill -INT to kill slurpd
2001-05-04 04:05:56 +00:00
Kurt Zeilenga
383391b460
detect and use fcntl (for BSD/OS)
...
detect inet_ntop (for MacOSX)
2001-05-03 05:53:34 +00:00
Kurt Zeilenga
0fc62be316
Rework security restrictions for SASL bind
2001-02-03 03:17:22 +00:00
Kurt Zeilenga
fba163fe24
Add objectClass eq as need
2001-01-17 19:56:01 +00:00
Kurt Zeilenga
470e96cb96
ucdata needs to point to liblunicode not liblunicode/ucdata
2000-10-30 20:02:13 +00:00
Kurt Zeilenga
f417a66feb
Add extra spaces to babs' DN.
2000-10-21 03:26:49 +00:00
Kurt Zeilenga
b65fe6a66d
Remove defaultaccess directive
2000-10-21 03:26:24 +00:00
Kurt Zeilenga
659e5dac55
Use $MANAGERDN to update one of the passwords (to test proxy support)
2000-10-11 02:14:57 +00:00
Kurt Zeilenga
0c3344eef3
Fix typo in last commit
2000-10-01 22:49:07 +00:00
Kurt Zeilenga
b8091cee87
Hack test environment to support multiple backends using
...
one set of slapd.conf files.
2000-10-01 22:46:52 +00:00
Kurt Zeilenga
85465b1e54
Add bdb tests
2000-09-28 04:10:35 +00:00
Kurt Zeilenga
d4dee7c427
Don't fail if backend doesn't support indexing
2000-09-28 02:29:04 +00:00
Kurt Zeilenga
c1aeb0b9ed
Use ordered input to slapadd(8) as required by back-bdb
2000-09-26 20:28:55 +00:00
Kurt Zeilenga
20e8ca0ebe
Remove cruft
2000-09-15 18:44:38 +00:00
Kurt Zeilenga
66e3b39001
Use o=OpenLDAP Project, remove unneed options
2000-09-13 20:14:45 +00:00
Kurt Zeilenga
08d397f65d
Use root-dse to verify schema files
2000-09-13 14:31:22 +00:00
Kurt Zeilenga
e651635801
Just catch error, don't explain it
2000-09-13 01:16:10 +00:00
Randy Kunkee
b8569b2b1d
Grep for PRNG message in $SEARCHOUT to make sure error is caught.
2000-09-10 19:38:21 +00:00
Kurt Zeilenga
6c6b4d2895
Add a root dse test to flush out misc problems (like TLS PRNG)
2000-09-08 05:38:08 +00:00
Kurt Zeilenga
d7f3cdfc7b
Update based upon ldappasswd(1) usage change
2000-09-06 18:55:31 +00:00
Kurt Zeilenga
fb1d935348
Remove entry +x, not needed.
2000-09-05 21:53:26 +00:00
Kurt Zeilenga
cee040a321
Bring UCdata infrastructure.
2000-09-03 23:48:35 +00:00
Kurt Zeilenga
32c7186b9c
Add frontend support for "any" substrings assertions.
...
Needs to be tied into index mask and backend search code.
2000-08-22 02:23:52 +00:00
Kurt Zeilenga
5b856458a2
s/SAFEMEMCPY/AC_MEMCPY/
...
Use AC_FMEMCPY where appropriate (-llber)
2000-07-28 01:07:07 +00:00
Kurt Zeilenga
57deefc94f
Working slapindex!
2000-07-26 19:48:02 +00:00
Kurt Zeilenga
c49960df72
Add infrastructure for reindex testing
2000-07-26 18:24:44 +00:00
Kurt Zeilenga
a73b210d5f
Rename LDIF2LDBM to SLAPADD
2000-07-26 18:13:38 +00:00
Kurt Zeilenga
8f8c483a8b
Add 'index objectClass eq'
2000-07-26 01:06:27 +00:00
Kurt Zeilenga
d76bbdab91
Replace diff -q with diff >/dev/null for portability reasons
2000-07-20 02:23:00 +00:00
Kurt Zeilenga
9bfad46de6
Use substring indices
2000-07-19 01:08:42 +00:00
Kurt Zeilenga
c0bbb090b7
Fix substring indices and enable in tests.
2000-07-18 22:59:34 +00:00
Kurt Zeilenga
1e562b0d1f
Make it all work.
2000-07-16 00:14:08 +00:00
Kurt Zeilenga
a42351c40f
Fix an interaction error on multiple step binds.
...
Add additional notices. Likely need to add a quiet mode.
2000-07-14 00:54:08 +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
daacf23672
Report return code on failure
2000-07-04 22:11:12 +00:00
Kurt Zeilenga
20e6dcec3b
Improved but still broken client tools.
2000-07-04 21:49:00 +00:00
Kurt Zeilenga
9d1e2ef7e2
Rename local variable 'sun' to 'sa' to avoid clash on Sun computers...
2000-07-04 17:57:21 +00:00
Kurt Zeilenga
7d8541cf8c
Fix make clean
2000-06-26 05:36:39 +00:00
Kurt Zeilenga
7ced460520
Update slurpd to use LDAPv3 w/ ManageDSAit
...
Remove slurpd kbind support as this requires LDAPv2
Backout back-ldbm/referrals.c update_ndn hack
2000-06-25 22:45:28 +00:00
Kurt Zeilenga
6020fe58e8
Modified slapd to be slurpd friendly.
...
Slurpd incorrectly sends a separate attribute for each value of an
attribute which caused slapd to complain. Hacked slapd/add.c
to merge values.
Slurpd uses version 2 and hence cannot set ManageDSAit. Hack
slapd/back-ldbm/referral.c such that if update_ndn matches
o_ndn, no referrals are returned.
Fix replication tests
ldapmodify must be made against master as no rebind proc exists
final ldapsearch should not chase
Fix referral tests
Use -C option as needed
2000-06-25 20:07:40 +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
5290f6f289
Move BDB2 to Attic
2000-06-17 17:50:17 +00:00
Kurt Zeilenga
466b281426
Additional use of new ACL styles
2000-06-13 17:35:30 +00:00
Kurt Zeilenga
772b458cd8
Partially test new ACL styles.
2000-06-13 03:24:12 +00:00
Kurt Zeilenga
06b7561096
ignore clean-local rm error
2000-06-10 18:47:27 +00:00
Kurt Zeilenga
d90aec1baa
Cleanup schema/data symlinks
2000-06-06 19:55:26 +00:00
Kurt Zeilenga
4a1f646682
Move experimental Back-BDB2 to Attic
2000-06-06 01:23:17 +00:00
Kurt Zeilenga
c81cc806ab
Move old schema files to Attic.
...
SLAPD_SCHEMA_COMPAT *should* be able to use schema files
2000-06-05 07:17:51 +00:00
Kurt Zeilenga
ea069cb7c2
New indexer/filter codes (test suite works) with cheats
...
Updated NT Project files (with Cyrus SASL library depend)
2000-06-04 22:59:38 +00:00
Kurt Zeilenga
1605a04509
Must work with trailing / on URI
2000-06-01 20:55:36 +00:00
Kurt Zeilenga
9ede22dcd3
Don't need openldap.schema anymore to run tests
2000-05-31 00:13:37 +00:00
Kurt Zeilenga
6b06525c2c
Trim '/' off of referral URL.
2000-05-29 21:16:45 +00:00
Kurt Zeilenga
64f028a6ab
New schema code is now the default.
...
Use -DSLAPD_SCHEMA_COMPAT to use 1.x compatible schema (deprecated).
2000-05-29 16:39:16 +00:00
Kurt Zeilenga
d0afc90110
Use $CMP, not cmp
2000-05-28 19:53:37 +00:00
Kurt Zeilenga
b76043013d
Resolve streetaddress vs. street through deletion
2000-05-27 19:18:08 +00:00
Kurt Zeilenga
df5bbc2d1d
Use "diff -i -q" instead of "cmp"
2000-05-27 17:17:47 +00:00
Kurt Zeilenga
570204c9e2
s/cmp/$CMP/ define CMP to cmp (to allow cmp replacements)
...
Add -n option to slapd
2000-05-27 17:16:10 +00:00
Kurt Zeilenga
b5fab0c88e
Use -b "" instead of -b "cn=monitor" as monitor is not yet
...
implemented in SLAPD_SCHEMA_NOT_COMPAT
2000-05-26 02:48:24 +00:00
Kurt Zeilenga
3bb1b752c6
Remove dependency upon umichPilotPerson (use just newPilotPerson)
2000-05-23 21:36:44 +00:00
Kurt Zeilenga
af7f636c3d
s/rfc822mailgroup/groupofnames/ as we don't have a LDAPv3 mailgroup spec
2000-05-23 19:47:54 +00:00
Kurt Zeilenga
0bb431d3b3
Y2k copyright update
2000-05-13 02:25:54 +00:00
Kurt Zeilenga
18f31148be
Working (but likely not robust) DNS SRV backend!
2000-05-10 22:43:08 +00:00
Kurt Zeilenga
816ace24cf
objectclass=* -> NULL
2000-04-12 08:31:32 +00:00
Kurt Zeilenga
971f968d09
ITS#437: use portable syntax to export environment variable
2000-02-03 22:26:00 +00:00
Kurt Zeilenga
7c28aa058c
Add password check and generation check.
...
Modify tests to use -h "ldap://localhost:port/" instead of -p port.
1999-12-12 18:45:06 +00:00
Kurt Zeilenga
4cc712db53
Add <ac/param.h> to wrap <sys/param.h>
1999-11-01 17:21:24 +00:00
Howard Chu
e99eab787f
Use new macros from configure.in to accomodate NT/Mingw32 environment.
...
See README 1.27 log
1999-10-28 07:31:59 +00:00
Kurt Zeilenga
7db89cb1c0
Use $$ and other oddities.
1999-10-26 22:52:53 +00:00
Kurt Zeilenga
5cb377302b
Add simple test for additive acl.
1999-10-21 23:17:17 +00:00
Kurt Zeilenga
2644018bc2
Add basic flow control tests
1999-10-21 21:23:43 +00:00
Kurt Zeilenga
5e459c4cf8
Use implicit 'by * none' and =rs
1999-10-21 21:16:18 +00:00
Kurt Zeilenga
3f9ba7e05a
Minor acl optimizations.
1999-10-21 18:48:16 +00:00
Ben Collins
bf260f1d95
* tests/scripts/defines.sh: add ${LD_LIBRARY_PATH} to the LD_LIBRARY_PATH
...
export so we don't clobber anything the user already has set
1999-09-29 01:01:13 +00:00
Ben Collins
b7dd47c4cb
* configure.in: add --enable-dynamic option for linking our local binaries
...
with the shared libraries instead of static, defaults to no
* build/lib-shared.mk: if LINK_BINS_DYNAMIC is set we create a symlink to
the .so and .so.# file along with the .a and .la files
* build/lib.mk: make sure the above links get removed on clean target
* build/top.mk: add define for LINK_BINS_DYNAMIC
* tests/scripts/defines.sh: add export for LD_LIBRARY_PATH so that tests will
run without requiring installation of libraries when we use --enable-dynamic
(LD_LIBRARY_PATH is always set, since it can't really hurt).
1999-09-29 00:56:43 +00:00
Kurt Zeilenga
35655c056f
Reimplement LDBM_SYNC/LDBM_NOSYNC code (dbnosync).
...
Old code applied sync flags to store(), however supported DBMs
require such flags to be specified during open(). The new
code now applies flags in ldbm_cache_open (which calls ldbm_open).
ldbm_cache_close() now calls ldbm_sync(). This will force
a updating of on-disk contents after each LDAP operation.
The old code either failed to sync the on-disk contents until
close or synced on every store. Per LDBM operation syncing
*should* be safe enough... real data safety requires transactions.
Removed nosync option from BDB2 as it is not compatible with
txn support.
Also added code to disable DBM level locking as slapd is only
process acessing the databases (dbnolocking).
1999-09-23 19:49:20 +00:00
Kurt Zeilenga
1c52d43149
Fix shbang magic "#! /bin/sh" (correct) vs "#!/bin/sh" (incorrect)
1999-09-10 02:15:03 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +00:00
Kurt Zeilenga
d429ac3e53
Add missing * in last commit
1999-09-02 08:40:22 +00:00
Kurt Zeilenga
d0deb9b489
Add OpenLDAP RCS id and copyright
1999-09-02 00:56:32 +00:00
Kurt Zeilenga
41e57c041f
Add OpenLDAP RCS id
1999-09-02 00:52:43 +00:00
Kurt Zeilenga
0197ec6f04
Remove use of quipu object classes
1999-08-31 17:09:17 +00:00
Kurt Zeilenga
68744ced8d
fix dn2id delete bug... breaks modrdn.
1999-08-26 00:51:27 +00:00
Kurt Zeilenga
05532e03f9
Update test005-modrdn to handle success without entries
1999-08-26 00:22:05 +00:00
Kurt Zeilenga
59d3e50ae3
s/ldif2ldbm/slapadd/
1999-08-22 17:10:23 +00:00
Kurt Zeilenga
c0aa6fa4e6
Rename test001 from test001-ldif2ldbm to test001-slapadd (repo move).
1999-08-22 17:08:41 +00:00
Kurt Zeilenga
9e82379b6e
More CSRI malloc debugging support and destroy sockbuf fix.
...
Test008 now runs without leak.
1999-08-19 18:48:17 +00:00
Kurt Zeilenga
e290eacb21
slapd_tester should be linked with LIBS
1999-08-19 18:36:10 +00:00
Kurt Zeilenga
e4f6d54877
New dn2id format with base/one/subtree indices (ldbm/bdb2)
...
New id2entry (id-less) format (ldbm/bdb2)
Removed id2children (ldbm/bdb2)
Added nextid database (ldbm)
Broke ldbmtest
Removed ldif2* tools (ldbm/bdb2)
Added slap tools (slapadd, slapcat, slapindex)
1999-08-17 19:00:59 +00:00
Kurt Zeilenga
375995be50
Another bogus postalcode removed
1999-08-17 18:46:08 +00:00
Kurt Zeilenga
4e60147654
Strip bogus postcode from entry
1999-08-17 18:44:53 +00:00
Kurt Zeilenga
06a895ff2c
Remove gmon files
1999-08-07 04:38:33 +00:00
Kurt Zeilenga
e0691dfbc0
create SASL_LIBS to hold -lsasl
...
create SECURITY_LIBS (top.mk) to order $SASL_LIBS $KRB_LIBS $TLS_LIBS
use $SECURITY_LIBS in Makefile.in's instead of $KRB_LIBS $TLS_LIBS
1999-08-05 02:25:19 +00:00
Kurt Zeilenga
44b4bda011
base64 encode userPassword
1999-08-05 00:56:54 +00:00
Kurt Zeilenga
ecbb75f930
Update the sleep to 10 seconds (last commit only changed the echo)
1999-08-03 21:47:35 +00:00
Kurt Zeilenga
64be0a23bb
5 seconds just isn't long enough
1999-08-03 21:46:44 +00:00
Kurt Zeilenga
df8f7cbb9b
s/exit(1)/exit(EXIT_FAILURE)/
...
s/exit(0)/exit(EXIT_SUCCESS)/
add <ac/stdlib.h> where needed and other minor header adjustments
1999-08-03 18:14:24 +00:00
Hallvard Furuseth
eaf331f4aa
Use $SLURPD_DEBUG
1999-08-01 21:33:37 +00:00
Kurt Zeilenga
07b734035d
Kludge ldapmodify to accept "version: 1" in LDIF input.
1999-07-31 00:35:30 +00:00
Kurt Zeilenga
b73b0c6158
Enhance LDIF handling
...
ldapsearch:
use draft guidelines for determining when to use
-t only writes binary attributes to files
-tt writes all attributes to files
output now lists URL instead of path to such files
-T dir can be used to specify directory to create temp files in
-V urlprefix can be used to change the URL prefix
LDIF is now commented (can be disabled using -LL)
LDIF now contains version attribute (can be disabled with -LLL)
LDIF:
put interface changed to allow caller to specify how to encode
put interface uses draft guidelines for determine when to base64 encode
wrapping kludged to match old off by one bug
Tests:
removed trailing space from some attributes (to avoid base64 encoding)
enabled -LLL in defines.sh (should sed output to remove
wrapping/comments/redundant separators)
Misc:
updated codes outputting LDIF to use new put interface
TODO:
handling of version attribute on input
handling of URLs on input (ie: fetch URL)
1999-07-30 23:00:02 +00:00
Kurt Zeilenga
17a975b6fb
Very crude LDIF changes:
...
add MODRDN newSuperior support
add '#' support to ldapmodify (but not slurpd and ldbm tools)
1999-07-29 21:25:39 +00:00
Kurt Zeilenga
9c61bc561f
Return LDAP_CONSTRAINT_VIOLATION if user attempts to modify
...
a non-user-mod attribute (such as timeStamps).
Move generation of add_modify_attrs to frontend.
update of add_modify_attrs on modrdn needs work (currently
not updated to maintain consistency with replicas).
1999-07-27 20:00:31 +00:00
Kurt Zeilenga
73276e84ae
Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
...
Includes support for update referral for each replicated backend.
Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world. Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Hallvard Furuseth
eb9f0359ef
fix typo in rm command
1999-07-14 23:13:34 +00:00
Julio Sánchez Fernández
6064e66c05
Use $(TLS_LIBS)
1999-07-13 19:22:14 +00:00
Kurt Zeilenga
b8edef2b2c
Copy LDBM bind "ACL_AUTH" and SASL framework to bdb2.
1999-07-07 18:47:51 +00:00
Kurt Zeilenga
51d1c90887
unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH
1999-07-05 06:26:26 +00:00
Kurt Zeilenga
bf8eaf1f1e
ldapmodify/add: Fix -P option
...
tests: use "ldapadd" instead of "ldapmodify -a"
1999-06-29 01:17:58 +00:00
Kurt Zeilenga
33dd61f035
Add support for "env LDAP_PROTO=n make ldbm" where n is 2 or 3.
...
3 doesn't work YET.
1999-06-28 23:46:16 +00:00
Kurt Zeilenga
21e081dc5b
Separate autoconf generated values from "defaults".
...
ldap_defaults.h incorporates non-generated ldapconfig.h values.
ldap_config.h.in is new template for autoconf generated defaults
(namely directories and paths)
ldap_config.h.nt, NT template (must be manually copied)
s/<ldapconfig.h>/<ldap_defaults.h>/
s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
6380786169
Add '^' and '$' to ACLs RE's.
1999-06-15 19:41:42 +00:00
Juan Gomez
fac246b834
Sync this files for this example to work properly.
1999-06-10 01:25:55 +00:00
Kurt Zeilenga
21c70857f1
s/<stdlib.h>/<ac/stdlib.h>/
1999-06-03 00:37:44 +00:00
Kurt Zeilenga
2c6f4abc0a
DEFAULT_DIRSEP -> DIRSEP
1999-05-29 19:10:01 +00:00
Kurt Zeilenga
6c9aa52b3b
Fix allocator typo
1999-05-29 01:26:12 +00:00
Kurt Zeilenga
1bcec8bf6a
Add LBER_ and LDAP_ memory allocators/deallocators for internal
...
library use:
LBER_ macros expand to system routines.
LDAP_ macros expand to new ber_ allocators.
Add ber_ and ldap_ memory allocators/deallocator:
ber_ routines are wrappers of LBER_ macros.
ldap_ routines are wrappers of ber_ routines.
Removed safe_realloc() macro from various files. This issue
(if an issue) should be resolved across whole package.
ldapmodify.c now uses ber_ allocators to resolve ber_bvfree()
vs. WIN32 multiple heaps issue.
These changes should facilate implementation of
ber_set_option( NULL, LBER_OPT_MEMORY_FN, ...)
and
ldap_set_option( NULL, LDAP_OPT_MEMORY_FN, ...).
1999-05-29 01:19:14 +00:00
Juan Gomez
81f47aba80
Add special case tests to avoid regressions.
1999-05-27 00:56:43 +00:00
Juan Gomez
ae2fa90929
Add new output file name.
1999-05-27 00:31:30 +00:00
Juan Gomez
96929b07a5
Need output for various tests in differen files so we know which specific
...
part fails if it does.
1999-05-27 00:29:39 +00:00
Juan Gomez
b372720819
Added nis ldif in the right place.
1999-05-27 00:20:41 +00:00
Juan Gomez
f8e47da5ed
Fixed path to ldif file
1999-05-26 23:52:27 +00:00
Juan Gomez
1084618dd2
Point to new dir for ldif file.
1999-05-26 23:27:03 +00:00
Juan Gomez
385dab9176
Point to new dir.
1999-05-26 23:18:50 +00:00
Juan Gomez
96092b4d5a
Access x added!
1999-05-26 19:18:05 +00:00
Juan Gomez
336e6e604e
Trying to change access to this file...
1999-05-26 19:15:57 +00:00
Juan Gomez
314b69f6f1
Change conf for nis test.
1999-05-26 18:49:09 +00:00
Juan Gomez
5ddc8d4fd8
Make it executable.
1999-05-26 18:46:04 +00:00
Kurt Zeilenga
7d2f6580c0
Filter timestamps, etc., from all test inputs before compare.
1999-05-21 16:50:51 +00:00
Kurt Zeilenga
b1d315c51f
Add CLIENTDIR to alllow easy selection of alternative clients directory.
1999-05-21 00:14:38 +00:00
Juan Gomez
9c335d1ed0
Added the targets test-nis-schema, test-nis-schema-ldbm, and
...
test-nis-schema-bdb2 to start a server using the NIS-LDAP
schema.
1999-05-12 03:29:06 +00:00
Juan Gomez
6cf71210f7
Script that starts a server with NIS schema and sample database.
1999-05-12 03:22:48 +00:00
Juan Gomez
a5cf0bf36b
Config files that use the NIS related schema.
1999-05-12 01:03:51 +00:00
Hallvard Furuseth
786bbe4fc1
enclose macro arguments in ()
1999-04-30 00:35:27 +00:00
Kurt Zeilenga
f23019c37a
Disable compare for now. Need to plug in passwd and
...
expected output files.
1999-04-29 07:03:18 +00:00
Kurt Zeilenga
9b8a5036dd
Update back-passwd based on patches from howard.chu@platinum.com.
...
Modified by me to dn_*() and attr_*() functions and to use
uidObject and to handle search scopes better. Could use some
more work. A fun project for anyone wanting to learn how
backends work.
Modified dn_parent and dn_rdn to accept be=NULL (to bypass
be_issuffix check). These functions should be generalized
and moved to -lldap. A project for another day.
1999-04-29 06:50:00 +00:00
Kurt Zeilenga
06b5db46eb
Backout last change
1999-04-23 20:11:15 +00:00
Kurt Zeilenga
2a92589ecd
sh portability changes
1999-04-21 05:59:01 +00:00
Kurt Zeilenga
141601ba9e
Provide 'make test', 'make ldbm', and 'make bdb2' information.
1999-04-11 21:47:42 +00:00
Kurt Zeilenga
6585d34a0f
'make test' now tests both BDB2 and LDBM backends.
...
'make bdb2' tests only BDB2
'make ldbm' tests only LDBM
Fix up scripts (previous changes broke BDB2 testing)
1999-04-10 04:42:33 +00:00
Kurt Zeilenga
6da69382f7
Use 'cachesize 0' for repl and acl tests.
...
Remove disable write sync (dbcachenowsync) in master (for concurrency test).
1999-04-10 01:40:33 +00:00
Kurt Zeilenga
21f49f3b27
Fix VPATH support.
1999-04-08 02:27:39 +00:00
Kurt Zeilenga
80b8691eac
Fix VPATH support.
1999-04-08 02:18:54 +00:00
Hallvard Furuseth
a66f4db90b
Protect against failed commands in Makefile.in
1999-04-06 01:00:31 +00:00
Hallvard Furuseth
2032577773
Do closedir()
1999-04-04 05:06:49 +00:00
Hallvard Furuseth
adab14395b
Define env.variable SLAPD_DEBUG to override the default debug level
1999-04-02 05:55:58 +00:00
Kurt Spanier
80400aba52
Fix ldbmcat crash problem: first use the key before deleting it!
1999-03-29 16:01:59 +00:00
Kurt Zeilenga
618a788953
wrap sys/param.h with HAVE_SYS_PARAM_H...
1999-03-29 01:55:49 +00:00
Kurt Zeilenga
30f953160f
Add wait4/3 detection.
...
Modify slapd_tester to use pid_t and wait macros. May need to
implement additional macros in ac/wait.h (in addition to
WEXITSTATUS and WIFEXITED).
1999-03-29 01:40:17 +00:00
Kurt Zeilenga
c9eacbdc64
Round 2 of connection management changes.
...
Mainly updated back-bdb2, back-passwd, back-shell to use slap_get_time().
1999-03-22 07:38:27 +00:00
Kurt Zeilenga
3550bc48c0
Add slapd -a address support. Allows you to bind to a specific
...
address. Useful for running multiple servers in a virtual hosting
environment.
Modified test001-ldif2ldbm to verify this functionality. Assumes
localhost is 127.0.0.1.
1999-03-17 03:56:25 +00:00
Juan Gomez
4be6bf9e9b
Added tests for modrdn and the proper operation of the deleteoldrdn field.
1999-03-10 22:31:26 +00:00
Juan Gomez
0df308410f
Expected output for modrdn tests.
1999-03-10 22:27:58 +00:00
Juan Gomez
63f5f5b4a3
Defined LDAPMODRDN in preparation to add tests for LDAP v2 modrdn.
1999-03-10 21:08:21 +00:00
Kurt Zeilenga
04769d5b82
-lldap requires $(KRB_LIBS)
1999-03-09 20:21:55 +00:00
Hallvard Furuseth
984bdfa605
Remove unused variables
1999-03-06 06:33:34 +00:00
Hallvard Furuseth
b4fe591430
include <stdlib.h> to get atoi()
1999-03-06 06:20:13 +00:00
Hallvard Furuseth
d3f433a626
printf(%ld, pid) -> printf(%ld, (long)pid)
1999-03-06 06:17:44 +00:00
Hallvard Furuseth
d8ac5cabb4
Shut up gcc -Wparentheses
1999-03-04 13:22:06 +00:00
Kurt Zeilenga
b2e0e58a22
Add 'tests' target.
1999-03-03 21:31:12 +00:00
Hallvard Furuseth
722d4c4332
include <stdlib.h> to get malloc & co
1999-03-03 17:42:17 +00:00
Hallvard Furuseth
7bfd11cb4c
cast printf(%ld) argument from pid_t to long
1999-03-03 17:40:08 +00:00
Kurt Zeilenga
e8605dc9f1
Fix make clean/veryclean
1999-03-02 20:00:55 +00:00
Kurt Spanier
5d2699b7ce
Introduction of first version of transaction processing (TP) into BDB2.
1999-03-01 11:30:18 +00:00
Hallvard Furuseth
246e269acc
Cast char' arguments to ctype.h functions to
unsigned char'.
...
These functions require their arguments to be in the range of `unsigned char'.
1999-02-22 19:29:42 +00:00
Kurt Spanier
2889c67adf
Client programs for test008-concurrency moved to subdir tests/progs.
...
Building tests/progs/*.c in the main build process.
==> Test-suite must be called by 'make test', or 'make test-bdb2'
1999-02-22 11:28:01 +00:00
Hallvard Furuseth
63be2a00b5
isblank() is nonstandard, use isspace()
1999-02-20 08:15:21 +00:00
Hallvard Furuseth
d66726da21
slapd-tester should be ./slapd-tester
1999-02-20 07:49:12 +00:00
Hallvard Furuseth
c41226d997
Link with all of $(LIBS) instead of $(LDAP_LIBPATH) $(XLIBS)
1999-02-20 07:39:48 +00:00
Kurt Spanier
3a9f96ec0d
Code clean-up.
1999-02-18 15:33:15 +00:00
Kurt Spanier
ac4cb22f1c
Elimination of entry- and cache-level locking in back-bdb2.
...
Slight adaption of concurrency-test to enable even more writers/readers.
1999-02-17 11:13:22 +00:00
Kurt Spanier
39f0066db4
Addition of a new Concurrency Test fro testing slapd performance and
...
correctness of locking schemas in backends.
In back-bdb2 open NEXTID during startup and close at shutdown.
1999-02-15 10:49:20 +00:00
Kurt Spanier
548942edbe
BugFix and selection in the test-suite of the bdb2 backend-specific
...
slapd server timing via a new slapd command line option '-t'.
1999-02-12 15:22:43 +00:00
Kurt Zeilenga
eca967ea1d
Fixup BDB2 switching. Use 'test' instead of '['. Use '=' instead of '=='.
...
Use $BACKEND instead of BDB2. Fallback to LDBM if $BACKEND is not BDB2.
1999-02-08 20:08:25 +00:00
Kurt Spanier
42f6e78dd4
Integration of the BDB2 backend into the new init/startup/shutdown schema.
...
Integration into ./configure ( --enable-bdb2 ).
Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ).
Minor fixes in slapd/libldbm.
1999-02-08 11:42:14 +00:00
Kurt Spanier
314f3f6ed7
Introduction of a backend startup/shutdown function to make backend-specific
...
initialization after reading slapd.conf, and before starting the daemon
1999-02-01 17:37:43 +00:00
Kurt Zeilenga
695ad44694
Place the arg and pid files into the test-* directories.
1999-01-21 18:08:33 +00:00
Kurt Spanier
68a8798594
Definition of slapd pid and args files as slapd.conf general parameters;
...
introduction of pid/agrs parameters to the test-suite slapd.conf files;
creation of sub-directory test/var for storage of pid/args files during test;
update of the slapd and slapd.conf man pages.
(The change reduces dependency on ldapconfig.h, since SLAPD_PIDEXT
and SLAPD_ARGSEXT are deleted from the code.)
1999-01-21 15:53:54 +00:00
Kurt Zeilenga
19a17982c6
suffixes need to be stored in normalized uppercase format
1999-01-20 05:43:33 +00:00
Kurt Zeilenga
e2a15115b0
Update slap_conn to maintain client provided dn and bound dn.
...
Update slap_op to maintain dn and ndn (derived from conn->c_dn).
Update ldbm_back_bind to return actual bound dn (including rootdn)
for use in slapd_conn. Other backends use client dn.
Modify other codes to use ndn (normalized uppercase dn) most everywhere.
Aliasing, Suffixing and modrdn could use more work.
Applied suffixing to compare and modrdn.
1999-01-19 05:10:50 +00:00
Kurt Zeilenga
7388974468
Disable implicit session defaulting.... you never know what someone
...
might have in their ldap.conf(5) file.
1999-01-14 22:22:45 +00:00
Kurt Zeilenga
b7beec1663
Initial version of the experimental 'back-perl'
...
John's still working on the 'perl-test' (the perl backend test module).
1999-01-14 06:33:09 +00:00
Kurt Zeilenga
33999dc60a
Be quite about deleting data symlink
1999-01-13 23:38:01 +00:00
Kurt Zeilenga
334768c1bb
Update build environment to fix VPATH support.
...
make depend, make tests, and make install all work when build directory
is not the $srcdir.
Also modified library handling such that -lpthread more likely to be last.
WARNING: new orderring requires use of LDFLAGS to set global loader options
such as -L/usr/local/lib. If you put this in LIBS, some libraries
may not be found a link time.
Likely broke Kerberos/LDAPD support. Don't have those in my testbed.
1999-01-10 02:25:41 +00:00
Kurt Zeilenga
60b6d7185c
Enable dbcachenoWsync for replica.
1999-01-02 23:29:06 +00:00
Kurt Zeilenga
cfa450d078
Fix schema check bug... actually charray needs to dup strings on
...
add/merge as we now free strings agressively. Improved debug
message to include name of missing required attribute and added
check for 'operational attributes'. This check should be used
everywhere we need to test for operational attributes (add/modify).
Also, enabled schema checking for tests (and fixed resulting
problems by adjusting oc.conf).
1998-12-28 23:43:04 +00:00
Kurt Zeilenga
6c2949ed86
Change cache.c assert logic based on Hallvard's suggestion.
...
"Check that the entry has no writers before removing it from the
cache" sounds more sensible to me than "check that it *has* writers"
before removing it.
I've also changed the default cachesize for tests to 4. This
should help discover such problems.
1998-12-10 19:20:15 +00:00
Kurt Zeilenga
41f649ef16
Skip replication test if slurpd doesn't exist.
...
Update Install document with testing step and other minor changes.
1998-11-30 20:41:52 +00:00
Kurt Zeilenga
475fd6dc45
"make veryclean" now lives up to its name.
1998-11-22 06:24:59 +00:00