Kurt Zeilenga
3b03b64b77
Add char* ldap_pvt_get_fqdn(char*) which returns the FQDN of the
...
input. In input==NULL, returns FQDN of local host.
Fixed copy_hostent() uninitialized pointer bug.
Replaced gethostname calls with ldap_pvt_get_fqdn( NULL ) calls.
2000-08-15 01:55:43 +00:00
Kurt Zeilenga
a2804649a5
Fix reversed assertion logic
2000-08-11 19:25:09 +00:00
Kurt Zeilenga
6be4f4fdb2
remove assert(0)
2000-08-07 17:19:55 +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
a50f391bb3
Working SASL security layers!
2000-07-28 00:04:07 +00:00
Kurt Zeilenga
9a0964174e
Update named referrals to draft-zeilenga-ldap-namedref.txt
...
(IETF namedref draft is now defunct)
2000-07-27 20:18:05 +00:00
Kurt Zeilenga
5a546c93a3
Add ''work in progress'' comment
2000-07-27 20:17:26 +00:00
Kurt Zeilenga
b213ce3a69
Remove cruft
2000-07-27 20:12:16 +00:00
Kurt Zeilenga
7ba63f5ea7
Fix up schema per ITS#642
2000-07-27 20:11:41 +00:00
Kurt Zeilenga
c86a1aaac2
Remove dead comment
2000-07-27 18:40:50 +00:00
Kurt Zeilenga
9e37451421
Fix typo
2000-07-27 01:10:51 +00:00
Kurt Zeilenga
948f31cd85
s/METAPHONE/SLAPD_METAPHONE/
2000-07-27 00:14:39 +00:00
Kurt Zeilenga
f1d0813562
Clean up at_find
2000-07-26 23:18:49 +00:00
Kurt Zeilenga
57deefc94f
Working slapindex!
2000-07-26 19:48:02 +00:00
Kurt Zeilenga
3a1ff6f9c7
Remove old kruft.
2000-07-26 17:23:07 +00:00
Kurt Zeilenga
efb7672dde
Do not log attribute value
2000-07-25 20:54:11 +00:00
Kurt Zeilenga
3ad45a0662
Clean up WSAENOTSOCK code (no functional change)
2000-07-25 20:04:23 +00:00
Mark Valence
45fdcb7163
Bug fix submitted by Anthony Brock (ITS#637)
2000-07-25 02:16:59 +00:00
Kurt Zeilenga
b0a01cfbc2
ITS#636, keys == NULL bug
...
plus plug leak when keys != NULL
2000-07-25 01:24:47 +00:00
Kurt Zeilenga
a71a7cdd98
Rework authorization handling such that authzid u:user gets mapped to
...
authzdn uid=user. Disallow authzid in DN form until we have a
validator.
2000-07-24 23:05:45 +00:00
Kurt Zeilenga
f80127f097
Ignore missing associated matching rule for now
2000-07-24 21:40:58 +00:00
Kurt Zeilenga
6c41d272cf
Update framework to support registration of approximate matching
...
rules.
2000-07-24 21:29:30 +00:00
Kurt Zeilenga
e0e314db88
Update based upon latest AuthPassword I-D
2000-07-24 21:28:52 +00:00
Randy Kunkee
af0ec07692
Prevent always overwriting slapd.conf in install-conf rule.
2000-07-24 20:48:53 +00:00
Kurt Zeilenga
e7e7bca4c0
Fix typo
2000-07-23 21:22:19 +00:00
Kurt Zeilenga
3a73af57c1
conform schema routines to ldap naming conventions
2000-07-22 17:30:44 +00:00
Kurt Zeilenga
cd5aed0bbe
Use sigaction to set SA_RESTART (if appropriate).
...
Portability of this code needs to tested.
2000-07-22 00:37:51 +00:00
Kurt Zeilenga
5b4fd50db6
No need to include <ac/signal.h> twice
2000-07-21 23:34:13 +00:00
Kurt Zeilenga
33cb84f57c
Add experimental reindexer.
2000-07-21 23:24:24 +00:00
Kurt Zeilenga
27f674a926
Share function declarations between varients
2000-07-21 22:47:46 +00:00
Kurt Zeilenga
19324c4292
Remove lint
2000-07-21 21:56:33 +00:00
Kurt Zeilenga
3cada60a1b
Plug a couple of minor memory leaks
2000-07-21 17:25:41 +00:00
Kurt Zeilenga
7cb1176502
Plug memory leak of normalized value in value_find()
2000-07-20 23:56:12 +00:00
Kurt Zeilenga
2890bc5b6d
Fix entry/children always allowed bug!
2000-07-20 22:52:44 +00:00
Kurt Zeilenga
804100b431
Fix sasl end game processing.
2000-07-20 18:39:40 +00:00
Kurt Zeilenga
a8521d3034
Fix mech==NULL bug
2000-07-20 01:04:34 +00:00
Randy Kunkee
1228f6defc
Move indented #defines to lh-column -- OSF4.0e does not allow the '#' to
...
be indented. Use "#<tab>define" instead.
2000-07-19 10:04:09 +00:00
Kurt Zeilenga
ce63e21f00
New slapindex framework (no meat)
2000-07-19 02:24:08 +00:00
Randy Kunkee
46ca9103b6
Fix MAXARGS boundary condition problem: slapd crashed if number of tokens
...
parsed == MAXARGS (only applicable if you have really large objectclasses).
2000-07-19 01:40:05 +00:00
Kurt Zeilenga
c0bbb090b7
Fix substring indices and enable in tests.
2000-07-18 22:59:34 +00:00
Kurt Zeilenga
9c5ad6291b
Add experimental caseExact/Ignore substrings indexer/filter routines.
2000-07-18 17:46:34 +00:00
Kurt Zeilenga
3c91b7e05a
Clarify message logged upon host_access() failure
2000-07-18 03:12:55 +00:00
Kurt Zeilenga
95eea5accc
First cut SASL "interactive" and "quiet" modes (default is "automatic")
2000-07-17 00:56:29 +00:00
Kurt Zeilenga
d2b05a3858
Rework SASL command line arguments. Default is now to authenticate
...
using best available mechanism. (authzid prompting to be disabled)
To use simple bind, -x is required (implied if -P 2) with -D/-[Ww]
To use simple "anonymous" bind, just -x will do.
2000-07-15 23:25:46 +00:00
Kurt Zeilenga
a6154d03f2
Misc cleanup
2000-07-15 00:45:31 +00:00
Kurt Zeilenga
5bca08d716
Store sasl callbacks in session handle so that they can properly freed.
2000-07-15 00:01:09 +00:00
Kurt Zeilenga
c8ca70f3ae
Fix callbacks.
2000-07-14 22:00:16 +00:00
Kurt Zeilenga
1e3aa01b7b
Fix SSF reporting.
2000-07-14 20:57:52 +00:00
Kurt Zeilenga
36fb2d9d78
rework SASL callbacks
2000-07-14 20:56:30 +00:00
Kurt Zeilenga
14859793d0
Add logging support
2000-07-14 04:35:36 +00:00
Kurt Zeilenga
85c2a7a2a8
Update NT build to include recently added SASL sources.
2000-07-13 23:43:24 +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
Julio Sánchez Fernández
3fa223ad59
Oops, hope this gets it right
2000-07-12 20:15:38 +00:00
Julio Sánchez Fernández
e1b50dbf56
QUIPU cleaning removed necessary tool install logic
2000-07-12 19:59:58 +00:00
Kurt Zeilenga
1f1993989a
s/enable-unix/enable-local/
...
s/LDAP_PF_UNIX/LDAP_PF_LOCAL/
s/AF_UNIX/AF_LOCAL/
s/PF_UNIX/PF_LOCAL/
2000-07-09 21:49:36 +00:00
Kurt Zeilenga
489fd210df
Change reporting of SASL username
2000-07-06 01:22:42 +00:00
Kurt Zeilenga
5c4cef793f
Fix error handling
2000-07-05 22:15:43 +00:00
Kurt Zeilenga
51cef9dbed
Return last step output in final response.
...
And some code cleanup.
2000-07-05 21:43:11 +00:00
Kurt Zeilenga
8484d2c757
Remove lint
2000-07-05 21:03:57 +00:00
Randy Kunkee
df2af6bf47
Only process back-* subdirectories that have a Makefile.
2000-07-05 17:05:42 +00:00
Kurt Zeilenga
d7c4b4c4e7
Fix leak pointed out by christian.lorenz@suse.de (ITS#614)
2000-07-04 20:27:59 +00:00
Mark Valence
d4d03e36e5
Added "threads" config to slapd.conf.
2000-07-04 19:24:13 +00:00
Kurt Zeilenga
2eb664f481
Add octetString syntax to undefined attribute type
2000-07-02 17:50:18 +00:00
Kurt Zeilenga
b1172dc5ac
Add experimental support for undefined attribute types.
2000-07-02 17:16:18 +00:00
Kurt Zeilenga
7ec41919ff
Rename escape_value to filter_escape_value
2000-07-02 17:14:37 +00:00
Kurt Zeilenga
5594efabc0
Provide caseExactIA5SubstringsMatch using OpenLDAP OID
2000-07-02 16:36:21 +00:00
Kurt Zeilenga
b21ba52482
Clarify ad_type usage
2000-07-02 08:06:55 +00:00
Mark Valence
bf1c91b165
Fix seg fault (test003).
2000-07-02 07:18:55 +00:00
Kurt Zeilenga
1566454e6e
Add sets to NT build, remove LINT
2000-07-01 04:58:23 +00:00
Kurt Zeilenga
af611de371
Escape filter strings
2000-07-01 04:57:54 +00:00
Kurt Zeilenga
b6f7392865
Fix typos
2000-06-30 21:57:29 +00:00
Kurt Zeilenga
2ece0ee378
s/SUBSTRINGS/SUBSTR/
2000-06-30 21:26:43 +00:00
Mark Valence
517fa54bb0
Fix aci link error.
2000-06-30 18:04:10 +00:00
Kurt Zeilenga
1f1f8849eb
Quick fix to aci link error
2000-06-30 17:09:52 +00:00
Kurt Zeilenga
1a20c9a582
Skip over unsupported tags
2000-06-30 17:09:26 +00:00
Kurt Zeilenga
854b6d1839
genTime: Move validate above normalizer
2000-06-30 02:18:58 +00:00
Mark Valence
3705a26f2d
Add support for Set ACLs and ACIs. Still need to make this syntax awa
...
re.
2000-06-29 22:02:15 +00:00
Dmitry Kovalev
6078008495
minor fix (eliminate warnings)
2000-06-29 21:54:31 +00:00
Mark Valence
4b1ff75bdd
Prepare for Set ACLs and ACIs.
2000-06-29 21:41:54 +00:00
Dmitry Kovalev
e90ef57645
changes for 2.0-beta
...
including:
- fixes according to new API changes
- closing db connection in connection_destroy callback, not unbind
- support of new schema code, samples changed accordingly
- support for multiple objectclasses (to distinguish from unique objectclass-to-tables mapping)
- auto 'ref' attribute support
- samples now include illustrations of using these 2 features to make named referrals as described in ldapext-namedref draft
more to come:
- documentation update
- different improvements to be more close to native directory (after beta?)
2000-06-29 21:14:43 +00:00
Kurt Zeilenga
8d4ec58151
Initial, very unforgiving, booleanValidate and booleanMatch.
2000-06-29 19:00:17 +00:00
Mark Valence
16f2a29c23
Fix negated tests in IA5StringNormalize and numericStringNormalize.
2000-06-28 05:29:09 +00:00
Mark Valence
11ccf96104
Updated attribute routine to pass back bervals.
2000-06-28 05:26:17 +00:00
Kurt Zeilenga
664fabdf4c
Update matching rule usage
2000-06-26 17:54:45 +00:00
Kurt Zeilenga
064d6aae65
Reverse SASL mechanism restriction #ifdef
2000-06-26 05:29:37 +00:00
Kurt Zeilenga
8670bb6ba2
Add missing sockerr call
2000-06-26 05:23:33 +00:00
Kurt Zeilenga
3112f21612
Add attribute type/matching rule support for structuralObjectClass attribute
...
type. Add type to core.schema. Not yet populated on add nor checked on modify.
2000-06-26 05:13:41 +00:00
Kurt Zeilenga
317d04a5d9
Modify backend_attribute to return bervals and adjust ACLs
...
(actually, ACL here might be dangerous)
2000-06-26 01:22:32 +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
e2fa599482
Move old files to the Attic
2000-06-25 22:01:42 +00:00
Kurt Zeilenga
07c7d3c3cb
QUIPU -> Attic
2000-06-25 21:40:13 +00:00
Kurt Zeilenga
acb451a031
Return unwillingToPerform for step 2 kerberos bind.
2000-06-25 20:39:34 +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
49f4147385
Added -llber 'N' ber_printf format which inserts a NULL if
...
an internal flag set. Used for SEQUENCE testing. Flag must
be set using debugger. Modified ber_printf to use new format
were needed for extensibility testing.
Added first cut -lldap support for extended responses.
Modified ldapsearch(1) to handle v3 search references when not
chasing. Also added extended/unsolicited notification handling
and extended partial response handling. Changes include a
number of LDIF enhancements.
Fixed getpassphrase() returns NULL bugs
2000-06-24 01:40:39 +00:00
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
Kurt Zeilenga
693fb9424a
unifdef -DSLAPD_SCHEMA_NOT_COMPAT -USLAPD_SCHEMA_COMPAT
2000-06-06 19:43:18 +00:00
Kurt Zeilenga
dd00feb04d
Add presense indexing
2000-06-06 19:32:15 +00:00
Kurt Zeilenga
6d542e26a5
remove init arg from attrs_index_config proto
2000-06-06 19:31:45 +00:00
Kurt Zeilenga
352b447aa4
Don't automatically index objectlclass eq, ineffective more than not
2000-06-06 19:30:49 +00:00
Kurt Zeilenga
10082bc346
Use err2txt for unknown error
2000-06-06 05:54:36 +00:00
Mark Valence
78f24c1d89
Fix memory leak in new schema code.
2000-06-06 05:21:14 +00:00
Kurt Zeilenga
43f3e1e9b2
Remove not to be implemented control.
2000-06-06 04:50:24 +00:00
Kurt Zeilenga
3e9868b4ec
Prepare for unifdef -DSLAPD_SCHEMA_NOT_COMPAT
2000-06-06 04:49:19 +00:00
Mark Valence
a5ee438c93
Updated for schemas.
2000-06-06 04:24:11 +00:00
Kurt Zeilenga
bf3c642e68
Complete group ACL impl. under new schema code
2000-06-06 02:11:27 +00:00
Kurt Zeilenga
5278e67b28
Remove lint
2000-06-06 02:11:01 +00:00
Kurt Zeilenga
4a1f646682
Move experimental Back-BDB2 to Attic
2000-06-06 01:23:17 +00:00
Kurt Zeilenga
1af849c720
DNSSRV use res_query, not res_search
...
Update configure and depend --enable-dnssrv upon finding res_query
Update back-dnssrv to better handle ManageDSAit control
2000-06-05 23:56:26 +00:00
Kurt Zeilenga
1aa4b07c98
Remove support for DNS DNs (not to be confused with X.500 DN using
...
domainComponents (DC)).
2000-06-05 20:07:02 +00:00
Kurt Zeilenga
ca6de2138e
Include core.schema, not old schema files
2000-06-05 17:47:15 +00:00
Kurt Zeilenga
09806eec40
Use #ifdef, not #if
2000-06-05 16:18:48 +00:00
Kurt Zeilenga
e4a9292d74
A simple (and correct) backend group selection.
2000-06-05 07:38:23 +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
Mark Valence
08f8cecddc
Fix broken non-schema build (var not defined).
2000-06-05 06:00:15 +00:00
Mark Valence
7401eddb02
Keep from ldbm_sync'ing a DBCache unless it has been changed.
2000-06-05 05:10:30 +00:00
Mark Valence
3d599d1bd3
Use "uri" directive (instead of "server") to specify server. Add "bin
...
ddn" and "bindpw" directives for supporting group lookups.
2000-06-05 04:59:26 +00:00
Mark Valence
96c61ea465
backend_group selects the correct backend for the group.
2000-06-05 04:34:59 +00:00
Kurt Zeilenga
51e619d424
Add ManageDSAit support to back-dnssrv
...
Fix backend critical controls crash
Move 'associatedDomain' to core.schema
2000-06-05 03:10:46 +00:00
Mark Valence
bd7c946ccc
Update to work with schemas (SLAPD_SCHEMA_NOT_COMPAT=1)
2000-06-04 23:02:19 +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
Mark Valence
f8c1bc5ccb
Fix parameter order error.
2000-06-04 22:59:34 +00:00
Mark Valence
6916d0d527
Fix memory leak.
2000-06-04 22:59:06 +00:00
Mark Valence
47888f1c6b
Bug fix.
2000-06-04 04:34:21 +00:00
Mark Valence
bac87c2562
Bug fix for new sockbuf code under NT. Added mutex protection against
...
deadlock in connection_resched.
2000-06-04 04:29:07 +00:00
Kurt Zeilenga
b05d071c3a
Fix anonymous mapping
2000-06-03 16:29:34 +00:00
Kurt Zeilenga
4b352c57ed
Raise MAXDBCACHE to 128.
2000-06-03 03:37:02 +00:00
Kurt Zeilenga
45c6324a9d
Move ldapd into the Attic, quipu tools remain for now.
2000-06-01 23:00:22 +00:00
Kurt Zeilenga
c23536faa9
remove lint
2000-06-01 22:01:00 +00:00
Kurt Zeilenga
2e0912622b
ITS#537: lber io rewrite from Gambor Gombas.
...
Copyright 2000 Gábor Gombás. All rights reserved.
This is free software. You may redistribute and use it under the same
terms as OpenLDAP itself.
2000-06-01 20:59:21 +00:00
Kurt Zeilenga
a3ee061fdc
Install *.schema only
...
Install *.schema as read-only
2000-06-01 15:27:10 +00:00
Kurt Zeilenga
7c7fab11d4
Add extensibleObject support
2000-05-31 18:46:13 +00:00
Kurt Zeilenga
14663e1733
Add project public directory schema
2000-05-31 00:47:40 +00:00
Kurt Zeilenga
cd4c2c06d3
Move schema needed by slapd to core.schema so that only one file
...
is required to be included.
This leaves openldap.schema empty. Will use it to hold example
schema from the OpenLDAP Public Directory.
2000-05-31 00:13:10 +00:00
Kurt Zeilenga
eb70b602ee
Rework ACI codes to use OpenLDAPaci. Add needed schema elements.
...
Needs work. Volunteers welcomed.
2000-05-30 21:34:55 +00:00
Kurt Zeilenga
773d839924
Clean up 'ref' DESC
2000-05-30 20:20:25 +00:00
Kurt Zeilenga
34edec3107
Strip installed executables
...
better library clean
2000-05-30 18:23:56 +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
6ec3f1438a
Update directory comment
2000-05-29 05:54:36 +00:00
Kurt Zeilenga
c70cb72ef9
install $(localstatedir)/openldap-ldbm with mode 700
2000-05-29 05:51:24 +00:00
Kurt Zeilenga
e45979599d
Add NumericString syntax and matching rules.
2000-05-29 04:58:40 +00:00
Kurt Zeilenga
e4a7b953f3
SLAPD_SCHEMA_NOT_COMPAT: fix typo
2000-05-29 04:57:31 +00:00
Kurt Zeilenga
bdf9b0d017
SLAPD_SCHEMA_NOT_COMPAT: working ACLs! (have not tested ACIs)
2000-05-29 03:51:26 +00:00
Kurt Zeilenga
9e5312e166
SLAPD_SCHEMA_NOT_COMPAT: ACL cleanup (not yet working)
2000-05-29 03:44:06 +00:00
Kurt Zeilenga
287de3517d
SLAPD_SCHEMA_NOT_COMPAT: working tests 1-4!
2000-05-29 01:08:09 +00:00
Kurt Zeilenga
e31e42374e
SLAPD_SCHEMA_NOT_COMPAT: cheap DN match
2000-05-29 00:27:49 +00:00
Kurt Zeilenga
30c43c307c
SLAPD_SCHEMA_NOT_COMPAT: working modify? need additional match
...
routines, such as distinguishedNameMatch, to be sure.
2000-05-28 23:51:39 +00:00
Julio Sánchez Fernández
3e3acf87c8
Let the caller decide how liberal the schema parsing routines will be.
...
Most flags do nothing yet.
2000-05-28 22:45:56 +00:00
Kurt Zeilenga
13daacdbda
Fix error text handling
2000-05-28 22:38:21 +00:00
Kurt Zeilenga
3350957674
SLAPD_SCHEMA_NOT_COMPAT: ACI cleanup
2000-05-28 22:17:34 +00:00
Kurt Zeilenga
a4277ba3e1
SLAPD_SCHEMA_NOT_COMPAT: copy mod op
2000-05-28 21:45:49 +00:00