Commit Graph

1105 Commits

Author SHA1 Message Date
Kurt Zeilenga
831bfa760e reduce slap_passwd_check to simple form 1999-12-06 21:42:10 +00:00
Kurt Zeilenga
6a0dbb229b Modify slapd.conf to match example provided in Quick Start Guide 1999-12-04 18:35:33 +00:00
Howard Chu
ed05ed8025 Fix memory losses, ITS#379 1999-12-03 00:21:32 +00:00
Howard Chu
cbc5c8494e Fix off-by-one in v2ref 1999-12-02 05:19:24 +00:00
Howard Chu
d1841b5c1f Fix WAKE_LISTENER hang in single-threaded server 1999-12-02 03:45:54 +00:00
Howard Chu
7eec31c8f6 Don't call FD_SET for an fd if it is already set. This causes major problems
on NT due to their fd_set implementation.
1999-12-02 03:21:06 +00:00
Mark Valence
9c88ec691d Removed unnecessary #include "back-ldbm.h". 1999-12-01 01:45:23 +00:00
Kurt Zeilenga
a9fb92467e Add send_ldap_sasl() to facility implementation of SASL bind. 1999-11-29 17:44:14 +00:00
Howard Chu
e63364baac Read a full buffer from wake_sds whenever we wake up from select(). 1999-11-28 04:05:59 +00:00
Howard Chu
eaaea51b53 Fixes for NT dynamic linking. 1999-11-27 23:40:08 +00:00
Kurt Zeilenga
3978748e35 Fix prototypes to use ber_int_t consistently. 1999-11-25 17:52:47 +00:00
Howard Chu
e9a246744e load_extension was referenced unconditionally, but is only defined
in extended.c if SLAPD_EXTERNAL_EXTENSIONS is defined. Add #ifdef here.
1999-11-25 10:07:14 +00:00
Kurt Zeilenga
10649f5601 adjust to kerberos/passwd rearrangements. 1999-11-24 00:49:02 +00:00
Kurt Zeilenga
3c586012e3 Switch userpasswd from 'ces' to 'bin'. 1999-11-23 19:03:40 +00:00
Kurt Zeilenga
42bb3e2e85 Move userPassord and krbName authentication routines to the frontend. 1999-11-23 19:00:09 +00:00
Mark Valence
6b23a78ac1 Add supportedACIMechanisms to root DSE (when compiling with ACIs enabled). 1999-11-22 18:44:07 +00:00
Mark Valence
d93ef01ac7 Add get_supported_acimech() for use by root_dse, check aci OIDs against supported list. 1999-11-22 18:42:46 +00:00
Mark Valence
0b9f7c8240 Added get_supported_acimech() 1999-11-22 18:40:05 +00:00
Mark Valence
72fff129d2 Add supportedACIMechanisms to operation attributes list. 1999-11-22 18:38:42 +00:00
Mark Valence
0cebfef468 Add supportedACIMechanisms and aCIMechanism attributetypes. 1999-11-22 18:24:08 +00:00
Kurt Zeilenga
45a6876db1 Add OID for LDAPsubentry... this item likely to change 1999-11-22 01:28:24 +00:00
Kurt Zeilenga
a1a5f9752c Add some simple DESC... every item should have a DESC 1999-11-22 00:57:26 +00:00
Kurt Zeilenga
bc0d17ba1e Shift a few more "core" items from pilot to core. 1999-11-22 00:01:44 +00:00
Kurt Zeilenga
1113769e54 Move dcObject uidObject to core.schema 1999-11-21 23:40:03 +00:00
Kurt Zeilenga
faf7f146b2 Remove Netscape (draft) TTL schema 1999-11-21 23:39:14 +00:00
Kurt Zeilenga
adc617ca16 Add RFC2589 Dynamic Directory schema 1999-11-21 23:38:14 +00:00
Kurt Zeilenga
c7dc3e235c Add OpenLDAP RCSid 1999-11-21 23:26:12 +00:00
Kurt Zeilenga
c49ee66b78 Plug memory leak. 1999-11-21 23:20:25 +00:00
Mark Valence
de24d31499 schema definitions from Active Directory. 1999-11-21 19:50:35 +00:00
Kurt Zeilenga
3d0dd02b17 Advertise LDAP_CONTROL_X_CHANGE_PASSWD.
Implementation coming soon.
1999-11-17 23:43:25 +00:00
Mark Valence
bd922dcd3b Use get_supported_extension() accessor instead of supportedextensions[] extern. 1999-11-17 23:29:30 +00:00
Kurt Zeilenga
bbeec83869 ITS#357 (cont): Don't crash on at_cn == NULL. 1999-11-17 22:53:54 +00:00
Mark Valence
43a6e2e878 Added "ntdom" backend info. 1999-11-17 22:52:34 +00:00
Kurt Zeilenga
8032f5885d ITS#357: at_cn == NULL causes crash 1999-11-17 22:43:07 +00:00
Kurt Zeilenga
a995aef4a5 Install schema. 1999-11-17 21:14:22 +00:00
Mark Valence
883f9de61d Added get_supported_extension(), removed extern supportedExtensions[]. 1999-11-17 19:17:31 +00:00
Mark Valence
fbe44c195d Use get_supported_extension() accessor instead of supportedextensions[] extern. 1999-11-17 18:59:41 +00:00
Mark Valence
e1d1259191 Added get_supported_extension(int) accessor (replaces supportedExtensions extern). 1999-11-17 18:55:01 +00:00
Kurt Zeilenga
0de4adaf09 Use objectclass LDAProotDSE for root DSE instead of LDAPsubentry.
Still need object classes for both of these.  Suspect we'll need
to assign "experimental" ones from our arc.
1999-11-17 01:47:49 +00:00
John Quillan
c6744aea36 fixed problem in which we didn't statically link in the dynamic
loader, there for not allowing any modules with shared libraries
to be loaded.
1999-11-11 06:14:41 +00:00
Howard Chu
9f7b1160dd Move str2access and access2str outside #ifdef LDAP_DEBUG clause 1999-11-10 20:28:42 +00:00
Mark Valence
951b275ed6 Added support for external extensions (based on moduleload). All new code is conditional on SLAPD_EXTERNAL_EXTENSIONS. 1999-11-09 21:42:45 +00:00
Mark Valence
be9c0c2467 Rewrite to better support external modules hooking into slapd. Added module_init() and module_kill() routines for startup and (clean) shutdown. 1999-11-09 21:32:19 +00:00
Mark Valence
a432217976 Added calls to new module_init() and module_kill() routines. 1999-11-09 21:22:12 +00:00
Mark Valence
47d4d7fbb0 Added new module_* routines, changed def. of load_extension. 1999-11-09 21:20:23 +00:00
Mark Valence
249313f75a Removed previous changes for extensions -- extensions now use moduleload. 1999-11-09 21:18:37 +00:00
Mark Valence
4903dbcd76 Bug fixes to do_extended(). 1999-11-09 04:14:38 +00:00
Mark Valence
c8aa051571 Load extension library on "extension" keyword in configs (actual load routine is in extended.c). Protected by #ifdef SLAPD_EXTERNAL_EXTENSIONS. 1999-11-09 03:37:05 +00:00
Mark Valence
90c4709eb7 In preparation for extensions improvements, added send_ldap_extended. 1999-11-09 03:29:50 +00:00
Mark Valence
edc7062f34 In preparation for extensions improvements -- added send_ldap_extended and load_extension. 1999-11-09 03:28:17 +00:00
Mark Valence
23cb3a0555 Added a "dnattr" case for ACIs (still need to check the ACI OID). 1999-11-08 18:50:51 +00:00
Kurt Zeilenga
f4856214fb *** empty log message *** 1999-11-08 15:38:59 +00:00
Kurt Zeilenga
58eb1534f9 Needs <ldap.h> due to stubs. 1999-11-08 15:30:51 +00:00
Mark Valence
af855ec94b Updated ACI code to work with new ACL changes. All changes are within the SLAPD_ACI_ENABLED #ifdef's. 1999-11-06 05:05:50 +00:00
Howard Chu
fe79f5d12a Fix - v2ref returned a pointer that it did not allocate, and send_ldap_result
would try to free it. Also, send_search_result was not freeing the pointer,
but it should have been.
1999-11-05 22:50:58 +00:00
Howard Chu
f0916150f3 Delete unnecessary exports 1999-11-05 22:49:45 +00:00
Howard Chu
e8182f97c4 Relocated the stubs function to avoid being dependent on
HAVE_NT_SERVICE_MANAGER - when threads are disabled, HAVE_NT_SERVICE_MANAGER
is not defined, but the stubs still must remain defined.
1999-11-05 22:49:26 +00:00
Howard Chu
25323de5cb Fix to prevent freeing the same pointer twice on mod errors 1999-11-05 22:46:45 +00:00
Howard Chu
3b49944829 Fix to avoid freeing an uninitialized pointer 1999-11-05 22:45:43 +00:00
Kurt Zeilenga
3908eae03f Make stat message consistent with other operations. 1999-11-03 18:12:28 +00:00
Kurt Zeilenga
6f497089f5 Do not maintain a presence search on 'objectclass' as all entries
*should* have an 'objectclass' attribute present.
1999-11-02 23:13:40 +00:00
Howard Chu
bacc581531 Removed explicit include of <ac/param.h> because it must be included
after <stdlib.h>, but <stdlib.h> is included in slap.h. Moved <ac/param.h>
include into slap.h.
1999-11-02 19:39:56 +00:00
Howard Chu
af87072275 Fix broken patch to v2ref 1999-11-01 23:23:41 +00:00
Howard Chu
9168ab6777 Obsolete file 1999-11-01 22:38:24 +00:00
Kurt Zeilenga
14f107e9ed Changes to support NT single debug 1999-11-01 22:17:06 +00:00
Kurt Zeilenga
5b5db4def6 Additional mods to fix NT single threaded support. 1999-11-01 22:00:18 +00:00
Kurt Zeilenga
b7af076fee Use centralized output directories.
Update single debug/release not to use service manager nor event manager.
Likely breaks MINGW32 port.
1999-11-01 21:25:22 +00:00
Kurt Zeilenga
bb1b81473b Add configure tests for ssize_t and caddr_t and remove NT preamble
(excepting WIN32_LEAN_AND_MEAN).  Rework openlog/closelog use to
eliminate need for defines.
1999-11-01 18:14:26 +00:00
Kurt Zeilenga
4cc712db53 Add <ac/param.h> to wrap <sys/param.h> 1999-11-01 17:21:24 +00:00
Kurt Zeilenga
37a25fa648 Set modifiersname/timestamp upon creation.
Remove LDAP_LOCALTIME support.
1999-11-01 17:19:01 +00:00
Kurt Zeilenga
baa34f752b Do not attempt to obtain sizeof(sin_addr.s_addr) or &sin_addr.s_addr
as s_addr member of in_addr may be a bitfield.
1999-10-30 04:58:06 +00:00
Howard Chu
1a1248ef45 Delete obsolete symbols acl_access_allowed and acl_get_applicable 1999-10-28 11:16:44 +00:00
Howard Chu
0db4dcecb0 Specifies the symbols that slapd must export, for Mingw32 support
See README 1.27 log
1999-10-28 07:20:07 +00:00
Howard Chu
adaecb2a9f Added stubs function, for dummy references to exported symbols.
See README 1.27 log
1999-10-28 07:15:17 +00:00
Howard Chu
f68db53909 Fix Winsock-related warnings and/or bugs.
See README 1.27 log
1999-10-28 07:14:25 +00:00
Howard Chu
2395c6c23c Added line to #include "ldap_pvt.h". Part of Mingw32 support.
See README 1.27 log.
1999-10-28 07:13:33 +00:00
Howard Chu
8efb675f3e Added numsubordinates operational attribute 1999-10-28 07:09:30 +00:00
Kurt Zeilenga
aa23b21baf Add comment containing possible dn attributetype specification. 1999-10-28 01:00:11 +00:00
Kurt Zeilenga
3fbee54fa5 Remove lint 1999-10-27 04:40:56 +00:00
Howard Chu
448fc0e99a For LDAPV2 results, make sure Referrals are appended to any error text
instead of replacing it.
1999-10-27 04:36:10 +00:00
Kurt Zeilenga
0ec43c31ba Add more shortcircuits (for $$ cases) 1999-10-26 22:29:47 +00:00
Kurt Zeilenga
3261f219a3 Add support for Root DSE ACLs.
Add "users" shorthand (dn="^.+$")
Add regex short circuiting for common dn regexs.
1999-10-26 03:19:41 +00:00
Kurt Zeilenga
92238e52ae All text messages to be returned with LDAPv2 search results when
no referrals need to be returned.
1999-10-25 00:00:23 +00:00
Kurt Zeilenga
06eb390586 Make accessmask2str reentrant. 1999-10-21 23:19:22 +00:00
Kurt Zeilenga
3d765d6108 Additional changes to improve logic and logging. Still buggy. 1999-10-21 20:29:52 +00:00
Kurt Zeilenga
873c8f213b More acl parsing fixes... and print fixes. 1999-10-21 18:44:26 +00:00
Kurt Zeilenga
9c5b7aa29d Fix parsing of descrete attributes. 1999-10-21 18:27:23 +00:00
Kurt Zeilenga
f6829ee903 Initial commit of new ACL engine. Engine supports descrete access
privs, additive/substractive rules, and rule continuation.  Existing
rules that use 'defaultaccess none' should be 100% compatible.  Rules
that rely other defaultaccess settings will require addition of
explicit clauses granting the access.
Needs additional testing and tuning of logs
1999-10-21 17:53:56 +00:00
Kurt Zeilenga
64e8eeaa95 Slight modification to last commit to cast %ld args to long 1999-10-20 00:25:04 +00:00
Howard Chu
f0b0fe9f94 Fix stupid "got <garbage> of 0 so far" debug message after ber_get_next. 1999-10-19 12:15:42 +00:00
Kurt Zeilenga
859dbe1398 Change the defaultaccess to 'auth'
Set defaultaccess to 'read' in distribution slapd.conf and add warnings
Set schemacheck to 'on' in distribution slapd.conf and add warnings
1999-10-15 20:34:42 +00:00
Kurt Zeilenga
795d98456a Add bogus OID string to LDAPsubentry 1999-10-15 20:33:06 +00:00
Kurt Zeilenga
a1165cc505 s/^attribute/attributetype/ 1999-10-13 21:57:44 +00:00
Kurt Zeilenga
7e53b5bdeb Change 'attribute' directive to 'attributetype'
(and allowing 'attribute' for backwards compatibility).
manuals and *.schema to be updated as time permits.
1999-10-13 20:28:00 +00:00
Kurt Zeilenga
0136c5f88f Update comments 1999-10-06 00:10:08 +00:00
Kurt Zeilenga
88cd7cace1 Add other schema references (nameref, alias, subentry) to core.schema.
Add openldap.schema (currently empty except for a few comments) to
hold OpenLDAP specific schema items (such as for cn=monitor).
1999-10-06 00:04:04 +00:00
Howard Chu
d08ac44eef Fix bug in reporting errors from ltdl library. 1999-09-28 09:54:00 +00:00
Kurt Zeilenga
0524589f7f ITS#303: value_add_fast() empty value bug. Ignore empty value.
This is technical incorrect, but we don't have the codes in place
to correctly handle empty values yet.
1999-09-24 04:19:37 +00:00
Kurt Zeilenga
5c876f85e6 bind should not return noSuchObject 1999-09-24 02:19:31 +00:00
Kurt Zeilenga
7a0b0b2bbf In preparation for adding dn_rewrite()...
s/dn_normalize/dn_validate/
s/dn_normalize_case/dn_normalize/
1999-09-24 01:46:37 +00:00