Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
cc5e417234
second level interval support, interval=dd:hh:mm:ss
...
changed the test scripts and test conf files accordingly
2003-11-05 16:10:43 +00:00
Kurt Zeilenga
11534f4cee
Add/update server startup scripts
2003-10-24 03:35:20 +00:00
Jong Hyuk Choi
76a4567520
checking ldapmodify return code & replace member with uniquemember.
2003-10-22 21:48:56 +00:00
Kurt Zeilenga
a8d7ae54b9
Fix 1 v 2 typo
2003-10-22 21:36:10 +00:00
Kurt Zeilenga
6d62bcccba
s/member/uniqueMember/
2003-10-22 21:33:55 +00:00
Kurt Zeilenga
a790905624
Fix last commit
2003-10-22 21:30:31 +00:00
Kurt Zeilenga
74051d0dfc
Check ldapmodify for success.
2003-10-22 21:20:58 +00:00
Howard Chu
879e1d6133
Fix CONF/CONF1 usage
2003-10-22 10:46:41 +00:00
Howard Chu
c9da565fab
Fix typo in killpid
2003-10-22 10:15:07 +00:00
Kurt Zeilenga
579d787854
Forgot to add renamed tests
2003-10-22 07:39:18 +00:00
Kurt Zeilenga
e0df7582b8
Rework test scripts to use single 'testrun' directory.
...
Split glue test in two.
Remove (slurpd) subtree replication test.
Reorder syncrepl/proxy tests
2003-10-22 05:14:08 +00:00
Jong Hyuk Choi
eadcbd8fba
remove ldbm related lines
2003-10-21 21:14:56 +00:00
Kurt Zeilenga
b8ff29abfd
Rework test suite to use run script.
...
A little rough around the edges still.
2003-10-21 03:08:08 +00:00
Howard Chu
127c7a1381
Fix error messages
2003-10-19 11:23:07 +00:00
Howard Chu
d33e095799
Tweak startup, exiting
2003-10-19 05:46:56 +00:00
Kurt Zeilenga
c57db6c33e
Add basic support for certificateMatch (as an extensible matching rule)
2003-10-18 04:20:19 +00:00
Kurt Zeilenga
2cd974b435
Include a (userCertificate:certificateExactMatch:=SN$DN) assertion.
2003-10-18 03:47:33 +00:00
Kurt Zeilenga
3fbe93c704
Rework support for certificate exact matching based, in part,
...
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing
2003-10-18 02:39:08 +00:00
Kurt Zeilenga
6b046cedbd
Add initial certificate test
...
(userCertificate;binary=*) works
(userCertificate=*) doesn't but should
Needs to be expanded to include equality tests.
2003-10-17 02:15:50 +00:00
Howard Chu
2ef88ce501
ITS#2747 fix exit conditions
2003-10-13 10:14:05 +00:00
Howard Chu
61452ee9c7
Push invariant args into environment, they were making the "WAIT"
...
parameter too difficult to use.
2003-10-10 12:11:22 +00:00
Howard Chu
feb03bfde5
Change slapd-tester to read search base from file instead of using
...
the commandline
2003-09-23 11:55:59 +00:00
Jong Hyuk Choi
e6006f9057
fix ITS#2733
...
- if test back-ldbm then
- run the provider with back-bdb when back-bdb is configured
- run the provider with back-hdb when back-hdb is configured
- exit when neither is configured
2003-09-23 00:11:46 +00:00
Jong Hyuk Choi
b3eff8fceb
It's verified that back-hdb performs as a sync provider as well as a sync consumer.
2003-09-05 18:11:39 +00:00
Jong Hyuk Choi
5548a2dd0c
Sync replication config option format change (interval)
2003-08-28 22:29:12 +00:00
Jong Hyuk Choi
79b04b12a2
Context CSN Patch (5)
...
- persistent search patch
- cascading search patch
2003-08-26 00:35:27 +00:00
Jong Hyuk Choi
660617ae66
Context CSN patch (1)
...
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00
Kurt Zeilenga
2583276ab2
more uniquemember cleanup
2003-08-22 21:42:02 +00:00
Kurt Zeilenga
88531a08f9
More uniquemember fixes
...
(we really should be using the same filters as test003 here)
2003-08-22 21:29:44 +00:00
Kurt Zeilenga
be22981d78
Add nameAndOptionalUID pretty routine... improves uniqueMember handling
...
Should resolve ITS#2664.
2003-08-22 21:03:03 +00:00
Jong Hyuk Choi
6659cf3ea1
LDAP Sync protocol change : state mode (add+present) and log mode (add+delete)
2003-08-14 16:27:36 +00:00
Jong Hyuk Choi
d113166475
Proxy cache patch (by Jong, Apurva, & Kurt)
...
1. Glueing patch for proxy cache
2. test script update to avoid schema checking voilations (attributes set)
3. configuration patch for proxy cache
2003-08-13 23:44:56 +00:00
Kurt Zeilenga
b54780f940
Add initial support for modify/increment. No over/under flow detection.
...
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
c996265bc0
allow more time to replicate
2003-07-15 07:54:19 +00:00
Jong Hyuk Choi
9b5e2b0087
SyncRepl is working with both back-bdb and back-ldbm
2003-07-15 00:27:59 +00:00
Jong Hyuk Choi
132f738059
fix typo
2003-07-11 00:54:05 +00:00
Jong Hyuk Choi
1ff440cfb2
debugging cleanup
2003-06-28 00:35:15 +00:00
Jong Hyuk Choi
b9409253c1
for now, it runs with ldbm only
2003-06-26 23:52:52 +00:00
Jong Hyuk Choi
420b15f713
Cascading replication misc cleanup
2003-06-26 07:18:50 +00:00
Jong Hyuk Choi
73f17befb7
Cascading replication test script
2003-06-26 06:12:55 +00:00
Jong Hyuk Choi
001cc11ef2
Proxy cache updates (with a test suite)
...
- IBM India Research (Apurva)
2003-06-21 00:21:57 +00:00
Howard Chu
86a90cd8d1
Add args to accomodate OS/390 shell bug
2003-06-04 12:06:46 +00:00
Jong Hyuk Choi
4f9f60d5d3
add the context prefix entry first in the test script 017/018
2003-05-30 21:43:03 +00:00
Howard Chu
d8476d75c9
There is no SLURPPID to kill
...
Test is also valid for back-hdb
2003-05-24 04:30:53 +00:00
Howard Chu
6165d8ed9c
Add wait clause for slurpd
2003-05-24 01:57:29 +00:00
Jong Hyuk Choi
f72566e9f0
cleanup ($PORT -> $SLAVEPORT)
2003-05-23 18:02:34 +00:00
Jong Hyuk Choi
88ae22b854
cleanup (one search to master, another to slave)
2003-05-23 17:45:44 +00:00
Jong Hyuk Choi
86b89752ba
test018-syncreplication-persist : added
...
test017-syncreplication : renamed to test017-syncreplication-refresh
2003-05-20 19:57:18 +00:00
Jong Hyuk Choi
4f58efc4d1
- change in message to modlist conversion
2003-05-20 01:45:12 +00:00
Kurt Zeilenga
7193d3dd21
rm cruft
2003-05-09 22:12:07 +00:00
Jong Hyuk Choi
5c927a2fcf
-Test only valid for bdb
2003-05-09 20:08:08 +00:00
Jong Hyuk Choi
986bcd52a9
-syncUUID search in syncrepl
...
-test017-syncreplication
2003-05-09 06:50:44 +00:00
Howard Chu
2ce5398ec4
ITS#2401 support tests for dynamically loaded backends
2003-04-30 03:04:18 +00:00
Pierangelo Masarati
5d7b0a1681
fix ldif?
2003-04-03 21:15:37 +00:00
Howard Chu
c532587f51
ITS#2363 - slurpd should now exit cleanly without -KILL
2003-03-24 15:00:04 +00:00
Kurt Zeilenga
67a0e98097
Minor tweak to search filter
2003-03-22 22:27:56 +00:00
Kurt Zeilenga
4f35d76253
screw with the case
2003-03-02 04:32:39 +00:00
Pierangelo Masarati
ca0ee4d91d
another try at fixing test011
2003-02-27 22:41:13 +00:00
Kurt Zeilenga
532981c19d
Another odd modify test
2003-02-22 15:55:08 +00:00
Kurt Zeilenga
c91c08d9f3
A tests for a few allowed oddities
2003-02-22 15:42:42 +00:00
Kurt Zeilenga
05619c6ec7
ITS#2236. Add missing connections_shutdown() call.
2003-02-19 20:39:04 +00:00
Kurt Zeilenga
1a8a5dc544
Fix schema errors in tests
2003-02-17 21:36:17 +00:00
Kurt Zeilenga
f3a727d7fb
Use ldapmodify -a instead of ldapadd.
2003-02-09 23:38:21 +00:00
Pierangelo Masarati
045fa7dc31
ignore blanks in subtree diff
2003-02-05 21:20:04 +00:00
Pierangelo Masarati
e258f53be2
quick hack to check for awk
2003-02-05 14:50:15 +00:00
Pierangelo Masarati
f051181042
this will likely fix the problem with partial replication
2003-02-05 14:42:37 +00:00
Pierangelo Masarati
8547e09c6e
added attr strip test
2003-02-05 12:40:08 +00:00
Kurt Zeilenga
db98e44d6a
Finish proxy authzid control
2002-12-05 18:14:02 +00:00
Kurt Zeilenga
da76c1951e
First-cut proxy authorization support.
2002-12-03 06:11:32 +00:00
Kurt Zeilenga
2e8be24614
Add stats to master.log
2002-11-11 19:39:10 +00:00
Pierangelo Masarati
a4bc4af418
close 'for' appropriately; clean also 'replica' subdir
2002-11-10 22:53:37 +00:00
Kurt Zeilenga
a77c0ce55c
Test anonymous whoami
2002-10-30 00:17:36 +00:00
Kurt Zeilenga
8edcc58b56
Rename
2002-10-22 04:11:28 +00:00
Kurt Zeilenga
d69c41fc0f
Add a referrals/manageDsaIT test (depends on order of reference return)
2002-10-21 19:11:27 +00:00
Kurt Zeilenga
5684ee0df7
s/umich.edu/example.com/
2002-10-04 20:58:20 +00:00
Kurt Zeilenga
77911fc829
Alter a few DNs to ensure normalization works in groups
2002-09-30 18:43:18 +00:00
Kurt Zeilenga
5aa29206cd
Change one search to use oneLevel scope
2002-09-23 22:27:19 +00:00
Kurt Zeilenga
d9d58ae02f
Save "-" for no subtypes
2002-09-20 19:58:25 +00:00
Kurt Zeilenga
cc7d1433bb
For object classes in attribute lists, use '+' (or '-') to indicate
...
name is an objectClass.
2002-09-16 20:48:08 +00:00
Howard Chu
615af63d04
Added group ACL tests
2002-09-13 15:04:04 +00:00
Howard Chu
f22855e6be
Fix slapd startup ldapsearch loop
2002-09-01 11:39:08 +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
Pierangelo Masarati
0549f16e6c
test extended filter and values return filter
2002-08-29 19:31:02 +00:00
Kurt Zeilenga
02ec62a9ed
add userid case
2002-08-29 03:03:51 +00:00
Kurt Zeilenga
68d59abe9a
Add case to 009
2002-08-29 02:55:39 +00:00
Kurt Zeilenga
eb18152969
search on 'userid' not 'uid'
2002-08-29 02:48:12 +00:00
Kurt Zeilenga
923d033c99
Finish adding subclassing indexing support
2002-08-29 02:27:15 +00:00
Kurt Zeilenga
4fa2b12342
Trim subordinate classes from input (and expected output).
2002-08-27 21:41:37 +00:00
Kurt Zeilenga
233b0fd1dc
This *should* work
2002-08-12 22:27:24 +00:00
Kurt Zeilenga
ea4996046c
cleanup
2002-08-12 22:15:25 +00:00
Kurt Zeilenga
11838eb57b
Partially back out last commit
2002-08-12 22:14:10 +00:00
Kurt Zeilenga
c9565e7530
Rewrite master/slave ports
2002-08-12 21:49:27 +00:00
Kurt Zeilenga
478a7103c0
Add member filter components to groupOfName assertions
2002-07-30 04:14:58 +00:00
Kurt Zeilenga
1990cad7c3
Add monitor test.
...
Need to hide cn=Monitor from namingContext
2002-06-19 06:00:48 +00:00
Howard Chu
a00cb8f614
Fix return code tests.
2002-05-17 09:11:30 +00:00
Howard Chu
671e92098a
Fix success test on last comparison
2002-05-17 08:24:53 +00:00
Kurt Zeilenga
a5b0759733
Basic extensible matching test
2002-03-11 01:48:17 +00:00
Kurt Zeilenga
c488c6cdfa
Add whoami test
2002-03-11 00:23:18 +00:00
Howard Chu
6d7556180d
Quote sed arguments, Solaris seems to need this.
2002-03-08 23:32:28 +00:00
Kurt Zeilenga
1880c23029
Replace get_filter generation of fstr with filter2bv().
2002-03-07 03:13:11 +00:00
Kurt Zeilenga
8575e0a050
Add some undefined assertion tests
2002-03-01 18:58:11 +00:00
Kurt Zeilenga
7aaeff9649
Use scope base searches
2002-02-11 21:25:12 +00:00
Kurt Zeilenga
9147b20e9f
Add a little boldness
2002-02-10 23:49:57 +00:00
Kurt Zeilenga
e661f2f289
s/person/pilotPerson
2002-02-09 23:12:30 +00:00
Kurt Zeilenga
d3809580c7
Search for pilotPerson instead of person to test objectClass handling
2002-02-09 23:04:18 +00:00
Kurt Zeilenga
59af7e5be9
Fix failure message
2002-02-01 22:43:46 +00:00
Kurt Zeilenga
20f4d3099a
Disable broken test011
...
Add sleep to test012
2002-01-31 22:54:13 +00:00
Kurt Zeilenga
e92b77327a
no 'diff -o' on this system
2002-01-30 21:35:52 +00:00
Kurt Zeilenga
8057b1a0a8
Language Tag and Range Support <draft-zeilenga-ldap-rfc2596-xx.txt>
...
Based upon code submitted by Steve Omrani <somrani@us.ibm.com> (ITS#1525)
2002-01-26 23:14:51 +00:00
Kurt Zeilenga
3770a99178
set hostname via a variable, may need tweaking in some environments
2002-01-21 06:35:04 +00:00
Kurt Zeilenga
94193358b4
Switch the default backend to BDB.
2002-01-15 17:26:44 +00:00
Howard Chu
e43fe62485
Renamed subdirectories to hide rm warnings
2002-01-13 23:52:17 +00:00
Howard Chu
52249ffc34
Added test for backend glue. Tests using slapadd/ldapsearch then starts
...
over using ldapadd/ldapsearch. Order of results is significant, and
differs from order in data/test-ordered.ldif (thus data/test-glued.ldif
is needed.)
2002-01-11 09:26:01 +00:00
Kurt Zeilenga
f555d36eb2
Minor cleanup
2001-12-25 20:02:13 +00:00
Kurt Zeilenga
39bc94082a
Fix minor error in error text handling
...
Fix invalid structural object class chains in test schema
2001-12-19 23:41:31 +00:00
Howard Chu
db1dce650b
One more seeAlso DN to squash.
2001-12-06 13:21:36 +00:00
Howard Chu
32a5c16f75
Strip whitespace from DN-valued attributes.
2001-12-06 07:18:18 +00:00
Howard Chu
95b173fbb0
Turn off syslog on slapd
2001-12-06 06:42:56 +00:00
Howard Chu
f0b56c3444
Stripped whitespace between entry DN components.
2001-12-06 06:40:09 +00:00
Kurt Zeilenga
3787c4c7d7
Allow an object class to be provided in an attribute description list,
...
treated as a request for all required and allowed attributes of the class.
This allows:
ldapsearch (objectClass=*) inetOrgPerson
(requests return of all attributes of inetOrgPerson)
and
ldapsearch (objectClass=*) extensibleObject
(requests return of all attributes, e.g., "+" "*")
2001-12-06 01:02:11 +00:00
Pierangelo Masarati
754258af38
better strip of diff marks
2001-12-05 09:35:31 +00:00
Pierangelo Masarati
b3b4baeb3f
illegal extra space in DN ... (right?)
2001-12-04 20:12:49 +00:00
Kurt Zeilenga
99a6d0a552
Use -h URL, not -p port
2001-11-28 02:20:36 +00:00
Pierangelo Masarati
b6ff5c4d50
cleanup
2001-11-05 08:52:01 +00:00
Pierangelo Masarati
7c846b4cc9
more meaningful subtree replication test
2001-11-03 16:59:06 +00:00
Pierangelo Masarati
f65d9b3085
Subtree replication test
2001-11-02 15:39:43 +00:00
Pierangelo Masarati
7f79cd0047
there's a bug in the test, because the 'multilinedescription' attribute is not defined anywhere; I trimmed it and added modrdn tests as well
2001-10-09 18:11:05 +00:00
Kurt Zeilenga
2f80480ef0
Tru64 diff does support "diff foo /dev/null",
...
replace with "diff foo - < /dev/null"
2001-10-02 08:27:18 +00:00
Howard Chu
4eaad48247
Added optional 3rd parameter, to make the script display the slapd pid
...
and wait. User must hit <NewLine> to continue. This gives the opportunity
to attach a debugger to the slapd before proceeding with the test.
2001-09-22 05:34:22 +00:00
Kurt Zeilenga
733d6296a6
Fix undefined filter parsing
2001-06-16 02:20:48 +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
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
f417a66feb
Add extra spaces to babs' DN.
2000-10-21 03:26:49 +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
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
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