Commit Graph

1539 Commits

Author SHA1 Message Date
Kurt Zeilenga
ae63be3894 DirectoryString syntaxes must have one or more octets to be valid. 2000-06-23 23:57:53 +00:00
Mark Valence
df460af05e Add attribute.c to project. 2000-06-23 20:24:13 +00:00
Mark Valence
c6ad81bcd2 Fix minor bug in handling group ACLs. 2000-06-21 19:07:56 +00:00
Mark Valence
acc740d54f Add ldap_back_attribute to ldap backend 2000-06-21 18:23:38 +00:00
Mark Valence
3b7d356820 Added attribute.c 2000-06-21 17:46:15 +00:00
Mark Valence
51bd73ce7d New backend routine: back_attribute 2000-06-21 17:41:49 +00:00
Mark Valence
295f3ba0aa New backend routine: back_attribute 2000-06-21 17:23:24 +00:00
Kurt Zeilenga
b065b258f4 Prepare for additional schema routines. 2000-06-21 01:12:29 +00:00
Kurt Zeilenga
d19419392c Use ASCII_*() macros and friends. Should be combined with similiar LDAP_*()
macros in ldap_pvt.h.
2000-06-20 17:05:15 +00:00
Kurt Zeilenga
2c7f89b1b2 remove locale option. OpenLDAP is designed only for the "C" locale. 2000-06-20 16:55:23 +00:00
Kurt Zeilenga
01f7e78cbb Add experimental objectIdentifierFirstComponentMatch routine 2000-06-20 03:55:40 +00:00
Kurt Zeilenga
f35942799e Use SLAPD_COMPARE_UNDEFINED 2000-06-20 03:54:50 +00:00
Kurt Zeilenga
4e3c32d816 Introduce LDAP_V() and friends 2000-06-20 03:53:12 +00:00
Kurt Zeilenga
bec9e6aa8a Update OpenLDAP experimental schema 2000-06-20 03:15:48 +00:00
Kurt Zeilenga
1f0e50f285 Fix minor bugs 2000-06-20 02:46:45 +00:00
Mark Valence
463cc5479f Update some prototype macros to build on NT. 2000-06-19 22:40:42 +00:00
Kurt Zeilenga
5c9cf0eb71 Clarify normalization/matching routine recycling 2000-06-19 21:30:18 +00:00
Kurt Zeilenga
aa6ed3d4d8 Fix typo in last commit 2000-06-19 20:54:54 +00:00
Kurt Zeilenga
3bacb800d4 unrecognized objectIdentifer in desc form shall result in
an undefined matched.  unrecognized objectIdentifer in OID form
shall result in false match.
2000-06-19 20:53:56 +00:00
Kurt Zeilenga
665272dca1 Minor adjustments to substrings searching 2000-06-19 20:39:11 +00:00
Kurt Zeilenga
7fec5877a3 Add SLAPD_TOP_OID macro for oc.c 2000-06-19 16:15:33 +00:00
Kurt Zeilenga
4b58e3b88d Add schema checks. 2000-06-19 16:14:36 +00:00
Kurt Zeilenga
11ac0330bb Extend objectClassMatch to return true if asserted class is a
subclass of stored value.
2000-06-19 16:14:12 +00:00
Kurt Zeilenga
8ce2589505 Fix is_object_subclass and implicitly add 'top' to structural
object classes with a superior.
2000-06-19 16:12:57 +00:00
Kurt Zeilenga
eccc217c53 Add DESC and fix minor bugs, more changes to come 2000-06-19 16:11:27 +00:00
Kurt Zeilenga
9ef1a740c2 Round one of LDAP_F() macro changes. In this round we rename
macros into our namespace and limit use to headers.  A subsequent
round will add macros to separately handle forward declarations
of variables from declaration of function prototypes.  The last
round will add additional macros for declaring actual variables and
functions.
2000-06-18 19:48:07 +00:00
Kurt Zeilenga
c4febe2db7 Add references to slappasswd(8) 2000-06-18 19:38:01 +00:00
Kurt Zeilenga
4bfda48c20 Add referral.c 2000-06-17 20:38:07 +00:00
Mark Valence
3a31fead5e Fixed paren nesting bug, separated convoluted conditionals, added comm
ents about the logic.
2000-06-17 18:23:27 +00:00
Mark Valence
638371ebe7 Fix uninitialized variable. 2000-06-17 08:20:44 +00:00
Kurt Zeilenga
189b738c63 Add LDBM referral handler... 2000-06-17 07:45:40 +00:00
Kurt Zeilenga
97137ca016 Add scope to debug message 2000-06-17 05:53:23 +00:00
Kurt Zeilenga
ef1664b013 Reimplement search_candidate support for scope, referrals, and aliases.
Uses auto/static storage to avoid unnecessary malloc/free calls.
2000-06-17 05:01:50 +00:00
Kurt Zeilenga
bfbe3e49ee Fix aliasing. 2000-06-17 02:00:30 +00:00
Kurt Zeilenga
152ec5c4ed Remove broken num subordinates code. 2000-06-17 01:22:55 +00:00
Kurt Zeilenga
73b9ffc3e5 Add referral generator 2000-06-16 19:10:43 +00:00
Kurt Zeilenga
09e087c8e5 Duplicate language tag to avoid double free 2000-06-16 16:05:37 +00:00
Kurt Zeilenga
c249b16679 Remove dead code 2000-06-16 06:42:34 +00:00
Kurt Zeilenga
c332df50de Remove unnecessary arg from front end backend_check_referrals call 2000-06-16 04:07:57 +00:00
Kurt Zeilenga
74f77cfe11 Compare w/ ManageDSAit not implemented. 2000-06-16 03:54:52 +00:00
Kurt Zeilenga
da74650afc Also eliminated by dnssrv referral.c code 2000-06-16 03:52:28 +00:00
Kurt Zeilenga
5e04ed8cfd Remove files no longer needed (due to referral entry point) 2000-06-16 03:51:45 +00:00
Kurt Zeilenga
79ebfbc4fe Rework referral entry point with DNS SRV implementation (needs testing). 2000-06-16 03:50:02 +00:00
Kurt Zeilenga
a3414536a4 Add backend_check_referrals() framework. 2000-06-16 01:46:42 +00:00
Kurt Zeilenga
6f378341a2 Add backend_check_referrals() framework. 2000-06-16 01:19:30 +00:00
Kurt Zeilenga
5ab454ac77 Minor adjustments to last commit 2000-06-15 22:53:18 +00:00
Kurt Zeilenga
90e4c08751 Add logic to properly (per X.500 recommendations) handle attribute
types without equality matching rules.
2000-06-15 22:06:45 +00:00
Kurt Zeilenga
178dc1b708 Treat all phone number syntaxes as numericString 2000-06-15 20:33:56 +00:00
Kurt Zeilenga
d1fd2436da Treat telephone syntax as numeric 2000-06-15 20:14:01 +00:00
Kurt Zeilenga
aa10d362b7 fix substring match bugs 2000-06-15 19:56:51 +00:00
Kurt Zeilenga
07907dda8b Repair case{Ignore,Exact}IA5SubstringsMatch 2000-06-15 19:32:24 +00:00
Mark Valence
93a622d5e1 Use the first empty slot in the open cache table, so scan doesn't (usu
ally) have to look through the entire table.
2000-06-15 17:48:16 +00:00
Kurt Zeilenga
1ae21d00f1 Fix alias dn_in v. dn bug 2000-06-15 17:37:02 +00:00
Kurt Zeilenga
45f4839578 Fix initialization bug 2000-06-15 17:12:53 +00:00
Kurt Zeilenga
8cb40e89d9 Fix slappasswd 2000-06-15 16:09:36 +00:00
Mark Valence
3888bac4bf Added Generalized Time matching and ordering (it's just caseExactIA5Ma
tch).  Set OpenLDAP Experimental ACI syntax validation to IA5StringVal
idate for now, to facilitate testing.
2000-06-15 08:34:48 +00:00
Mark Valence
7211daa837 Fixed whitespace prefix checks. Added UTC Time and Generalized Time s
yntax validation and normalization routines.
2000-06-15 07:58:04 +00:00
Mark Valence
9c7127cd81 Check if process is installed/running as service on NT beofre trying t
o start it as a service (gets around an annoying pause when starting u
p as a non-service).
2000-06-15 02:21:01 +00:00
Kurt Zeilenga
f770dc16ab cond_*() routines: Pass pointer to Datum, not Datum. Probably
should be done for all of LDBM.
2000-06-14 23:48:13 +00:00
Kurt Zeilenga
4189b89d7a Forgot continuation key prefix 2000-06-14 23:28:52 +00:00
Mark Valence
ba044208a6 Bug fix. 2000-06-14 23:28:28 +00:00
Mark Valence
7694c22528 Fix OC check. 2000-06-14 22:21:53 +00:00
Mark Valence
0c6b9ce2dd Fix ACI group membership test to look up OC. 2000-06-14 22:17:33 +00:00
Mark Valence
2ee8093f98 Fix ACI group membership test to look up OC. 2000-06-14 22:11:44 +00:00
Kurt Zeilenga
b7d1b10bca Minor cleanup 2000-06-14 21:11:56 +00:00
Mark Valence
89da861b89 Bug hunting -- various problems with opening caches. 2000-06-14 18:23:43 +00:00
Mark Valence
0ebf86f2d3 Bug hunting -- hang when checking dnattr in ACL. 2000-06-14 06:08:20 +00:00
Mark Valence
6a43d24f48 Bug hunting -- crash when doing substring match. 2000-06-14 06:07:06 +00:00
Mark Valence
d91dba4ad0 Bug fix in dn_rdn when dn string begins with whitespace. 2000-06-14 03:59:19 +00:00
Kurt Zeilenga
df4b2a443e Fix addition of dynamic operational attributes (subschemaSubentry) 2000-06-13 17:48:51 +00:00
Kurt Zeilenga
7150c22fca ITS#590: remove extra symbol 2000-06-13 17:24:18 +00:00
Kurt Zeilenga
ec426532b2 Reworked thread code to better support thread-library specific
r/w locks and thread pools.  Hide internal structures (using
pthread'ish technics).  Place common code in threads.c.  Move
no-thread code to thr_stub.c.  Move thread pool code to tpool.c.
Removed setconcurrency call from initializer, added 'concurrency'
directive to slapd.  Tested code under pthreads, pth, and no-threads.
2000-06-13 02:42:13 +00:00
Mark Valence
1bfcb4b039 Added .regex, .base, .one, .subtree, and .children "style" modifiers. 2000-06-12 01:35:15 +00:00
Kurt Zeilenga
1ef14875db Thought I fixed these errors previously... oh well. 2000-06-10 23:06:08 +00:00
Kurt Zeilenga
a56c161bdb Misc code cleanup. 2000-06-10 22:39:30 +00:00
Mark Valence
3cad129608 Removed active_threads count and associated mutex/cond. Replaced with
ldap_pvt_thread_pool_backload() as needed.  All tests run OK on pthre
ads (linux), cthreads, NT threads, and Pth.
2000-06-10 06:40:03 +00:00
Mark Valence
b55346e3f3 Fix make install when build dir is not main ldap dir. 2000-06-10 02:06:27 +00:00
Mark Valence
e8f1dc6906 Add ldap_back_group routine. 2000-06-10 01:32:36 +00:00
Kurt Zeilenga
55dba4395f Update PF_INET6 and PF_UNIX detection, both default to auto 2000-06-09 23:09:51 +00:00
Kurt Zeilenga
ef89854944 ITS#576: cause subdir make failure to halt subsequent making 2000-06-09 17:42:40 +00:00
Kurt Zeilenga
140a579e32 Additional IPv6 changes from Stig Venaas
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-06-09 17:00:22 +00:00
Kurt Zeilenga
9e23dc2c81 Fix dependencies 2000-06-09 15:03:04 +00:00
Kurt Zeilenga
dc1e5a9392 remove IA64 lint 2000-06-09 06:24:10 +00:00
Kurt Zeilenga
cd23b57eee Already in core (damn) 2000-06-09 02:29:50 +00:00
Kurt Zeilenga
1d8cbe45e8 Add RFC 2589 schema 2000-06-09 02:29:00 +00:00
Kurt Zeilenga
bb9d8a0f20 Initialize peername with EOS. 2000-06-08 23:12:52 +00:00
Kurt Zeilenga
1f7c26e4ee First cut new schema support.
Back-shell still doesn't support binary data, should use -lldif routines
2000-06-08 18:38:17 +00:00
Kurt Zeilenga
fad62c5d1d Remove lint 2000-06-08 18:36:37 +00:00
Kurt Zeilenga
88848d3aea ~ NULL was a bad idea. 2000-06-08 03:12:14 +00:00
Kurt Zeilenga
61be4bd0c8 remove pointer v. int lint from ber_sockbuf_ctrl. 2000-06-08 01:08:01 +00:00
Mark Valence
7ec6a4363f Use thread pool for operation threads. 2000-06-07 19:27:33 +00:00
Kurt Zeilenga
60d6c13d73 Use ldap_pvt_url_scheme2tls() to test for ldaps:// 2000-06-07 17:50:58 +00:00
Mark Valence
185641cb12 ldap_is_ldaps_url takes a char *. Is there a better fix, since the ur
l is already parsed?
2000-06-07 17:28:01 +00:00
Kurt Zeilenga
13ddec656f fix up stats/debug messages 2000-06-07 14:18:09 +00:00
Kurt Zeilenga
c3f8de76ef Fix up debug statement as suggested by christian.lorenz@suse.de 2000-06-07 14:07:50 +00:00
Kurt Zeilenga
6ad1c45bd3 Use LDAP_VFREE and friends. Other misc code cleanup. 2000-06-07 05:17:29 +00:00
Kurt Zeilenga
e5ebc553ac Rework URI parser to provide true scheme not proto/properties.
Plus more pthread rwlock code
2000-06-07 01:09:40 +00:00
Kurt Zeilenga
64d7227821 Basic IPv6 support...
Copyright 2000 Stig Venaas, UNINETT
All rights reserved.

Redistribution and use in source and binary forms are permitted
without restriction or fee of any kind as long as this notice is
preserved. The name of UNINETT may not be used to endorse or promote
products derived from this software without specific prior written
permission. This software is provided ``as is'' without express or
implied warranty.
2000-06-06 20:23:22 +00:00
Kurt Zeilenga
73db6bd875 Cleanup slapd.conf sed'ing 2000-06-06 20:21:56 +00:00
Kurt Zeilenga
a00125b53e Axe old schema files 2000-06-06 19:48:06 +00:00