Kurt Zeilenga
431dad371c
Fix slapd SASL/ExternalOps encoding
...
Add controls to extended ops API signatures, need impl.
Update password to support optional server side generation of
new password, verification of old password, and changing of
non-bound user's passwords.
1999-12-10 04:52:32 +00:00
Howard Chu
ffca59fc51
Add some mutex symbols, delete unused *_values symbols
1999-12-10 03:42:39 +00:00
Kurt Zeilenga
0c8fdd5b20
Return protocol error if reqdata was provided.
1999-12-09 23:21:48 +00:00
Kurt Zeilenga
1b787171fc
Place passwd extended op into builtin list.
1999-12-09 23:05:15 +00:00
Mark Valence
1fadca5419
Start TLS extended op routine.
1999-12-09 22:41:45 +00:00
Mark Valence
454284f1ea
Adds for Start TLS functionality on slapd and LDAP C API.
1999-12-09 22:33:22 +00:00
Mark Valence
31eea5f43c
On Windows, WSAENOTSOCK is treated the same as EBADF. This is needed because of a race condition (sock is selected just after another thread closes it), which needs a proper fix.
1999-12-09 22:05:00 +00:00
Kurt Zeilenga
354d0d5b50
Modify password code such that backend end routine calls into
...
frontend to complete parsing of extended op reqdata.
Modify password extended operation to allow optional id (DN)
entry to change (not tested). Also, provide room to allow
server side password generation (not implemented). Added optional old
password field to support proxying (not implemented).
Need to implement replog() support.
1999-12-09 21:30:32 +00:00
Mark Valence
bb693fd1b5
Bug fix: re-used Connection have TLS value for previous conn.
1999-12-09 21:06:42 +00:00
Kurt Zeilenga
5e12c84a6f
Add simple password test program.
...
Rework lutil_passwd routines to use struct berval instead of strings.
1999-12-09 01:11:16 +00:00
Howard Chu
2ee9c196d2
Fix the 1.71 fix - only offset the length if the last character of the
...
referral URL is not a '/'. Also in send_search_reference, corrected the
comparison for the pre-V3 case. Previously, referrals were being dropped
completely for V2 subtree searches. More work is still needed, V2 onelevel
referral handling is wrong.
1999-12-08 23:31:11 +00:00
Kurt Zeilenga
26c7d69e8c
Update for new password codes for MSVC5
1999-12-08 06:44:22 +00:00
Kurt Zeilenga
d5edb4bff6
Reengineered ldappasswd(1). Uses extended operation to set
...
user password. Likely to be modified to use bind control
instead. Use of modify deprecated in favor mechanisms that
support passwords stored externally to the directory (such
as in a SASL service).
Modified slapd extended operation infrastructure to support
backend provided extended operations.
1999-12-08 04:37:59 +00:00
Gary Williams
552c86de98
release build needs advapi32.lib added to link
1999-12-07 20:08:05 +00:00
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
Kurt Zeilenga
5d5588836f
Fix ldap_rename parameter order (ITS#387)
1999-12-04 17:19:11 +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
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
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
Kurt Zeilenga
32601a6e6a
Move ndn generate to end of str2entry (for clarity).
1999-09-23 21:24:44 +00:00
Kurt Zeilenga
c9941e6e60
Don't initialize pointers to NULL using calloc().
1999-09-23 20:54:41 +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
Ben Collins
ed75be1b3c
* configure.in: add tcl8.2 to list of tcl libs to search for, also added new MOD_TCL_LIB
...
and related AC_SUBST() so that when back-tcl is compiled as a dynamic module we link
-ltcl to the module and not slapd (this is the correct way to do this since the .la file
handles giving the correct libs when we pass the module to it in the linker line with
-dlopen). Also modified the perl backend in a similar way except that the PERL_CPPFLAGS
always go to the module and never to slapd (slapd doesn't need them).
* build/mod.mk: added $(MODLIBS) to the dynamic module link line to accomodate module
specific libraries. These should be defined in the back-*/Makefile.in file for each
module (so far only back-tcl and back-perl need it).
* build/top.mk: modified the perl ldflags and cppflags slightly
* servers/slapd/Makefile.in: same here
* servers/slapd/back-perl/Makefile.in: added MODLIBS=$(MOD_PERL_LDFLAGS) for when we are
using a dynamic module (problem, libtool wont allow linking static libs into a libtool
lib, so unless perl's libs are compiled dynamic, then back-perl can't be a dynamic
module. We need a test for this on perl and tcl).
* servers/slapd/back-tcl/Makefile.in: added MODLIBS=$(MOD_TCL_LIB)
* back-perl and back-tcl now compile
1999-09-23 05:32:10 +00:00
Howard Chu
668ea66e8a
Another typo. dn_normalize is supposed to be dn_normalize_case.
1999-09-23 05:05:25 +00:00
Ben Collins
1eb8ec2000
* backend.c: SLAPD_LDAP_TCL -> SLAPD_TCL_DYNAMIC
1999-09-22 22:11:42 +00:00
Ben Collins
53da7b6cda
* build/top.mk: removed references to TMPROOT and added DESTDIR support
...
* all others: Added DESTDIR support
1999-09-22 21:51:30 +00:00
Julio Sánchez Fernández
d26a527996
Much as we would like to, we have to live for the time being with
...
broken objectclass and attributetype definitions where the OID is
missing. The implementation of OIDmacros was making this impossible.
This change tries to restore the old behaviour, while preserving the
new feature. Note that part of the restored behaviour lets OIDs that
are not in the numericoid format get through. We may lose this, but
then we need to fix some of the sample provided schemas, notably
pilot.schema.
1999-09-22 18:32:48 +00:00
Julio Sánchez Fernández
9f4cbeb916
Add JPEG syntax to those known.
1999-09-22 18:15:22 +00:00
Ben Collins
7a0523b53d
* configure.in: Added better check for libwrap (the old way failed when
...
libwrap was a dynamic library). Added -lwrap to new subst var WRAP_LIBS
so we have more control over where it get's linked (dynamic libwrap
causes problems when we link to programs that don't define certains
globals that libwrap expects).
* build/top.mk: Added placeholder for WRAP_LIBS subst
* servers/slapd/Makefile.in: Added $(WRAP_LIBS) to the slapd and sslapd
link command line specifically so it doesn't get thrown in with the rest
of the LIBS.
* configure: rebuilt
1999-09-22 15:00:51 +00:00
Howard Chu
5757ffc5d3
Fix typo in previous commit
1999-09-22 06:41:12 +00:00
Howard Chu
c40583a2f1
Fix memory leak if duplicate attr name in at_insert
1999-09-22 05:18:15 +00:00
Kurt Zeilenga
b78e463065
jpegPhoto: correct syntax and add reference to inetorgperson draft
1999-09-22 03:08:14 +00:00
Kurt Zeilenga
8d295978e5
Add inetOrgPerson from Smith's I-D 3. Update jpegPhoto with DESC.
1999-09-22 03:06:12 +00:00
Kurt Zeilenga
6b0ccd4a5d
Add experimental detection of BerkeleyDB2 DB_THREAD.
...
If not available, LDBM uses big mutex and BDB2 is disabled.
Should add BerkeleyDB version detection...
1999-09-20 20:55:54 +00:00
Howard Chu
b070303a6b
Fix previous dn checkin
1999-09-19 01:29:45 +00:00
Howard Chu
10ad231cac
Undo previous commit
1999-09-19 01:04:38 +00:00
Howard Chu
f991ef04e6
Added mixed-case as well as up-cased DN argument. The behavior of back-bdb2
...
and back-ldbm are preserved, they only use the up-cased DNs. back-passwd
uses the mixed-case DN. All others are using mixed-case DN, may need more
fixing.
1999-09-18 23:40:03 +00:00
Julio Sánchez Fernández
0ab1eeae39
Let oc_check_allowed grok things like userCertificate;binary
...
oc_check_required should be fixed too.
1999-09-17 15:51:44 +00:00
Julio Sánchez Fernández
c7a7829c00
Let at_find find the AttributeType that matches a given AttributeDescription.
...
Useful to deal with things like userCertificate;binary.
1999-09-17 15:48:23 +00:00
Julio Sánchez Fernández
654fefc74a
Add missing paren.
1999-09-17 15:38:39 +00:00
Kurt Zeilenga
f130d6c47f
changes based upon draft-lachman-laser-ldap-mail-routing-00.txt
1999-09-16 02:52:28 +00:00
Kurt Zeilenga
ccfba5f2c0
Misc. cleanup
1999-09-16 02:31:29 +00:00
Kurt Zeilenga
cb99b10783
Added lachman mail at/oc to misc.schema.
1999-09-16 02:31:03 +00:00
Kurt Zeilenga
202dbd1b1f
Use ptrdiff_t for pointer offset.
1999-09-15 03:26:23 +00:00
Kurt Zeilenga
fc10815fc8
config should return error if backend or database initialization fail.
1999-09-13 18:47:05 +00:00
Hallvard Furuseth
04a5418db0
Add missing ')' when HAVE_TCPD
1999-09-11 06:17:37 +00:00
Kurt Zeilenga
9d6c0aa00a
Allow replace with no values
...
dn: cn=foo
changetype: modify
replace: bar
-
1999-09-10 01:55:46 +00:00
Kurt Zeilenga
e642a1b9cd
Add OpenLDAP RCSid
1999-09-08 22:52:19 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Kurt Zeilenga
1cfeeaade0
db2 flags should be u_int32_t, not int.
1999-09-08 17:28:02 +00:00
Hallvard Furuseth
f3880e5633
Remove lint
1999-09-06 04:42:20 +00:00
Kurt Zeilenga
b660f54bb4
Further trim_refs_url fixes from Hallvard. Need additional testing.
1999-09-05 22:32:01 +00:00
Kurt Zeilenga
e25287a90f
Fix = vs == bug
1999-09-05 22:13:22 +00:00
Hallvard Furuseth
07b9eb68a3
Kill //-style comments
1999-09-05 20:53:13 +00:00
Hallvard Furuseth
38cbda07f3
Handle unknown syntaxes as binary
1999-09-04 22:19:09 +00:00
Hallvard Furuseth
19d82f676d
Accept unknown object classes
1999-09-04 21:41:27 +00:00
Hallvard Furuseth
4a5e2febed
Some constification & lint removal
1999-09-04 21:15:49 +00:00
Hallvard Furuseth
203f5b058f
Change -d option to not detach even with -d 0 or compiled with --disable-debug.
1999-09-04 20:24:40 +00:00
Kurt Zeilenga
2e86c0516b
Remove #if 0 used to hide dn subtree index problem. Fixed
...
by Hallvard's IDL changes!
1999-09-04 01:19:58 +00:00
Hallvard Furuseth
1cde481298
Move `#include "ldap_defaults.h"' into slap.h, which #ifdefs on it.
1999-09-03 23:10:05 +00:00
Hallvard Furuseth
33cc7d4cf1
Introduce and use LDAP_GCCATTR() = __attributes__() in gcc
1999-09-03 21:06:33 +00:00
Hallvard Furuseth
dc6754c781
Remove incorrect use of <matched> entry
1999-09-03 20:25:58 +00:00
Hallvard Furuseth
2363640b33
Copy back-ldbm patches 1.37 (idl_insert_key returncodes) & 1.38 (SAFEMEMCPY bug)
1999-09-03 11:17:21 +00:00
Hallvard Furuseth
5b6c6b5855
Fix SAFEMEMCPY bug from revision 1.32 in idl_insert()
1999-09-03 11:01:18 +00:00
Kurt Zeilenga
5bb08cba85
Backout rev 1.37 change which was committed by mistake.
1999-09-03 05:31:43 +00:00
Hallvard Furuseth
5c9f3b6755
Plug memory leaks when modrdn failure. Fix Typo in debug message.
1999-09-03 05:12:24 +00:00
Howard Chu
0963a783b0
Fix extraneous call to ldap_msgfree.
1999-09-02 12:08:43 +00:00
Hallvard Furuseth
76a94de251
Fix: obey be->be_readonly. Also add & obey global_readonly.
1999-09-02 10:39:51 +00:00
Hallvard Furuseth
7cb866642d
Fix Debug printf format
1999-09-02 08:11:54 +00:00
Hallvard Furuseth
c09a2c63e7
Cleanup:
...
Fix printf formats, remove unused variables, add missing prototypes in slapd,
add static/const, add some return types or change to void return type.
1999-09-02 08:05:17 +00:00
Hallvard Furuseth
1886192447
Fix str2lower() -> ldap_pvt_str2lower()
1999-09-02 07:43:31 +00:00
Hallvard Furuseth
06c3e9a0d2
Fix ber_pvt_sb_udp_set_dst() argument
1999-09-02 07:41:58 +00:00
Hallvard Furuseth
b290faf0db
Remove unused vars/function
1999-09-02 07:36:17 +00:00
Hallvard Furuseth
cc2278b36a
Axe <varargs.h> support: Don't use LDAP_P() on varargs prototype.
...
Also fix debug_printf macro when !LDAP_DEBUG: It did not take arguments.
1999-09-02 06:19:21 +00:00
Hallvard Furuseth
85e79b1348
Axe <varargs.h> support. Assume STDC C translator is available
...
to build OpenLDAP.
1999-09-02 06:14:23 +00:00
Kurt Zeilenga
41e57c041f
Add OpenLDAP RCS id
1999-09-02 00:52:43 +00:00
Kurt Zeilenga
6b80f345a4
Fix idl_insert_key() return codes.
1999-09-01 18:30:13 +00:00
Kurt Zeilenga
f252bde681
if/else clause was reversed and attr->values used where values
...
should have been.
1999-09-01 07:29:07 +00:00
Hallvard Furuseth
8bbaca258f
Fix uninitialized variable
1999-09-01 06:54:33 +00:00
Kurt Zeilenga
5b8d286d40
Fix idle timeout code.
1999-09-01 06:37:46 +00:00
Hallvard Furuseth
7b88ccd954
Fix uninitialized variables
1999-09-01 05:44:16 +00:00
Hallvard Furuseth
aa516d3e80
include ac/string.h
1999-09-01 05:28:52 +00:00
Kurt Zeilenga
ac8b5468aa
Clean up soctpair for NT. Add USE_PAIR to allow pair(2) use.
1999-08-31 16:47:42 +00:00
Kurt Zeilenga
b509dd4d8c
sockpair cleanup including:
...
provide prototype in lutil.h
use LBER_SOCKET_T instead of int in prototype. (didn't use
ber_socket_t so all of lber.h wouldn't have be dragged in)
rename signal handlers, use RETSIGTYPE, and make SIGHUP wake
rename fd to sd to reflect descriptor must be usable as a socket.
renamed sel_exit_fds to wake_sds to reflect current use
improve readability of sockpeer.c including removing obtuse goto.
1999-08-31 05:18:06 +00:00
Howard Chu
0319dcad17
Use lutil_pair(), WAKE_LISTENER now uses this socket.
1999-08-31 03:26:35 +00:00
Kurt Zeilenga
85a3baa8ff
Shouldn't need to restall signal handler outside of handler.
1999-08-31 01:44:33 +00:00
Kurt Zeilenga
188ad48057
do_admin should reinstall handler on called signal number and
...
not assume LDAP_SIGUSR2
1999-08-31 01:41:52 +00:00
Hallvard Furuseth
6632e41ee8
Export ldap_pvt_<find_wildcard,filter_value_unescape>() from libldap.
...
Use them in slapd/str2filter.c.
1999-08-31 00:44:49 +00:00
Hallvard Furuseth
10bbb7c9ff
Typo in debug message
1999-08-31 00:40:07 +00:00
Gary Williams
6db0228171
validate object class before checking required and allowed
1999-08-30 14:19:53 +00:00
Kurt Zeilenga
9826f704b5
Back out to simple sock_errno sock_errstr macros and use WSAGetErrorString
...
instead of WSAGetLastErrorString to preserve errno like semantics.
1999-08-29 23:33:35 +00:00
Howard Chu
3925d53ccd
Replaced sock_errno()/sock_errstr() macros with SOCK_ERR(num,str)
1999-08-29 23:09:27 +00:00
Kurt Zeilenga
32aa582abe
Make sock_errstr expect an error value instead of relying on current
...
errno.
1999-08-29 20:32:34 +00:00
Kurt Zeilenga
580447be5b
Fix Debug() with too few arguments.
1999-08-29 20:13:33 +00:00
Howard Chu
74543e6c68
Defined tcp_read and tcp_write. Use them in daemon.c
1999-08-29 04:01:16 +00:00
Howard Chu
193d30bf84
In previous commit - change strerror() to STRERROR().
...
Use strerror() if available.
1999-08-29 02:59:29 +00:00
Howard Chu
801bac51c9
per Hallvard's advice: fixed definition of sock_errstr().
1999-08-29 02:54:58 +00:00
Howard Chu
d75975edf8
Use sock_errno() and sock_errstr() in socket debug messages.
...
Use a UDP socket connected to itself to allow signals to terminate the
select() in slapd_daemon_task().
1999-08-29 01:51:45 +00:00
Howard Chu
a60406860f
Use strerror()
1999-08-29 01:50:12 +00:00
Hallvard Furuseth
ac09c64f5c
Fix fprintf format args
1999-08-29 00:26:44 +00:00
Kurt Zeilenga
0afcadc4dd
Remove misplaced asserts. connection_resched changes connection state
...
to UNUSED without holding connections mutex. It's not safe for
connection_init to check connection state until after acquires the
c_mutex.
1999-08-27 19:31:42 +00:00
Kurt Zeilenga
9bf50242c3
Plug ber leakage:
...
result was leaking ber's in some error cases. ber_flush now called
with no freeing so that caller of send_ldap_ber() can free its own ber.
c->c_currentber was also being leaked if connection was destory
current when a PDU input was outstanding.
Fixed ber_flush to free ber upon write only to file.
1999-08-27 05:45:53 +00:00
Hallvard Furuseth
2330f1466d
Plug memory leaks (free output from ldif_parse_line)
1999-08-27 03:21:43 +00:00
Kurt Zeilenga
03ea068193
Disable removal of subtree indices upon delete. This allows
...
modrdn to run, but masks the underlying subtree index bug (which
I haven't found yet).
Apply modrdn/dn2id changes to BDB2.
1999-08-26 22:43:08 +00:00
Kurt Zeilenga
4c19272651
Assert ID != NOID when fetching from the datastore.
...
Add additional abandon point to modrdn.
test005-modrdn still shows error. Likely in dn2id, index, or idl codes.
1999-08-26 21:00:22 +00:00
Kurt Zeilenga
60033b38ac
Use NULL pointer to indicate values need not be freed instead of
...
relying on developer selecting the right goto label.
1999-08-26 19:12:15 +00:00
Kurt Zeilenga
c71fcf58fa
Remove use of uninitialized variable.
1999-08-26 19:10:28 +00:00
Kurt Zeilenga
bc1186bfb1
Fix "database fubar" crash
1999-08-26 19:09:40 +00:00
Kurt Zeilenga
a40b1f3126
Backout delete before add rdn index change.
1999-08-26 01:48:47 +00:00
Kurt Zeilenga
e455a7d486
Defer updating dn2id until after rdn checks... (test005 still broken)
1999-08-26 01:33:57 +00:00
Kurt Zeilenga
ed3df0a729
Delete old rdn before adding new rdn.
1999-08-26 01:07:24 +00:00
Kurt Zeilenga
68744ced8d
fix dn2id delete bug... breaks modrdn.
1999-08-26 00:51:27 +00:00
Kurt Zeilenga
406f33eb12
This fixes dn2id delete bug... but breaks modrdn.
1999-08-26 00:48:24 +00:00
Kurt Zeilenga
5c63fd55b5
Implement ldap_dn_normalize and friends. Should be used by clients
...
to validate input dn's BEFORE sending dn's to server.
Also fixed getfilter to use REG_EXTENDED|REG_NOSUB. (and fixed one
case where REG_BASIC was still used).
s/strdup/LDAP_STRDUP/
Added ldap_pvt_str2lower/upper
1999-08-25 06:44:08 +00:00
Kurt Zeilenga
46802eee03
Add REG_NOSUB as we only need matched results.
1999-08-24 04:33:34 +00:00
Kurt Zeilenga
2d2719123d
Rename filter entry's strcpy_special() to strcpy_regex() to better
...
reflect its purpose. Modify switch to support REG_EXTENDED expressions.
Use REG_EXTENDED instead of REG_BASIC everywhere.
Modify <ac/regex.h> to support <gnuregex.h> for testing purposes.
Requires: env CPPFLAGS="-DHAVE_GNUREGEX_H=1" LIBS=-lgnuregex ./configure
1999-08-24 01:13:30 +00:00
Hallvard Furuseth
85c0f926fe
Plug minor memory leak
1999-08-22 03:36:19 +00:00
Hallvard Furuseth
d08a8cbbd6
Initialize lineno
1999-08-22 03:32:13 +00:00
Hallvard Furuseth
1a16766b3c
Always compile acl_dn_pat when it is set, otherwise acl.c breaks
1999-08-22 03:30:45 +00:00
Kurt Zeilenga
387186fc33
Stop mergers if dup returns NULL.
1999-08-20 22:59:00 +00:00
Kurt Zeilenga
87675a953d
ACIs from Mark Valence <kurash@sassafras.com> (ITS#261)
1999-08-20 22:42:04 +00:00
Kurt Zeilenga
255e36df0b
Backout fetch_one copy change
1999-08-20 22:37:30 +00:00
Kurt Zeilenga
6677c7ad1d
Fix slurpd constification where dependent upon slap.h
1999-08-20 22:24:58 +00:00
Kurt Zeilenga
546262acb8
complete this round of constification
1999-08-20 19:50:11 +00:00
Kurt Zeilenga
8ac21b67a1
more const'ification
1999-08-20 19:29:43 +00:00
Kurt Zeilenga
3f85d6b2ac
const'ification
1999-08-20 19:12:41 +00:00
Kurt Zeilenga
2a74677799
const'fication
1999-08-20 19:00:44 +00:00
Howard Chu
95d9fe1046
Fix warnings from previous OID parse commit
1999-08-19 23:44:53 +00:00
Kurt Zeilenga
52ecfc74d2
s/slapentry/slapadd/
1999-08-19 22:27:24 +00:00
Kurt Zeilenga
b6753b47d3
s/HAVE_QUIPU/BUILD_QUIPU/
1999-08-19 22:26:35 +00:00
Howard Chu
75c9a1e222
Add OIDmacros for attribute & objectclass numericOIDs. Allow parsing
...
attribute syntaxes using syntax description in addition to syntax OID.
Removed all whitespace from syntax descriptions.
1999-08-19 22:09:33 +00:00
Kurt Zeilenga
bf86644ba3
Add CSRIMALLOC Support
1999-08-19 20:01:42 +00:00
Kurt Zeilenga
e8af46f2a7
More unifdef -DSLAP_CLEANUP
1999-08-19 19:15:45 +00:00
Kurt Zeilenga
e1630c79cd
unifdef -DSLAP_CLEANUP
1999-08-19 18:55:01 +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
ebce52fa52
Free ldif buffer... test001 now shows no leaks!
1999-08-19 18:19:20 +00:00
Kurt Zeilenga
8fcb25216f
Fix MAJOR memory leak.
1999-08-19 18:16:04 +00:00
Kurt Zeilenga
5b4e2498d9
Add CSRIMALLOC support
1999-08-19 18:13:36 +00:00
Kurt Zeilenga
1429fc36eb
Apply dn_parent memory leak fix to bdb2
1999-08-19 18:13:10 +00:00
Kurt Zeilenga
a1987f662d
Centralize slap init/startup/shutdown/destroy into slapcommon
1999-08-19 17:20:15 +00:00
Kurt Zeilenga
79a3553039
Fix typo in last commit... odd that test001 didn't bomb because of this.
1999-08-19 17:08:32 +00:00
Kurt Zeilenga
c51f35fe0f
Add hacks to allow debugging with CSRI malloc.
...
(test001-populate runs without leak)
Free global entry string buffer on shutdown.
1999-08-19 17:06:28 +00:00
Kurt Zeilenga
0e502ed0b2
Fix dn_parent memory leak.
1999-08-19 16:51:43 +00:00
Kurt Zeilenga
0ced1a9b1e
Fix SLAP_CLEANUP (this #ifdef should really be removed)
1999-08-19 16:51:23 +00:00
Hallvard Furuseth
2d6460f880
plug memory leak
1999-08-19 11:44:44 +00:00
Kurt Zeilenga
8ead8c5fd9
Clean up debug messages.
1999-08-19 00:40:18 +00:00
Kurt Zeilenga
fc2b55f53d
Fix typos in 'make clean'
1999-08-18 07:20:30 +00:00
Kurt Zeilenga
ac50982e37
Add schema checking, continue mode, and fix a few leaks.
1999-08-18 01:45:59 +00:00
Hallvard Furuseth
aad3c488da
Add <ac/string.h>
1999-08-17 21:21:43 +00:00
Kurt Zeilenga
aeda441fc4
Remove lint.
1999-08-17 21:11:52 +00:00
Kurt Zeilenga
b01f6de098
Update MSVC project and remove lint
1999-08-17 21:10:52 +00:00
Hallvard Furuseth
56bbc0b486
Add missing progname argument to fprintf
1999-08-17 21:10:48 +00:00
Kurt Zeilenga
508248c784
Make -d levels additive
1999-08-17 19:30:40 +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
Howard Chu
ac16254ea6
Fix typo: "extenisbleObject" -> "extensibleObject"
1999-08-17 01:54:02 +00:00
Howard Chu
22ad6bd6d4
Add "modulepath" config statement for setting the search path for locating
...
loadable modules. Gratuitously renamed "loadmodule" to "moduleload".
"modulepath" takes a single argument, a colon-separated list of absolute
pathnames.
1999-08-17 01:30:09 +00:00
Howard Chu
d620793b6f
Make init_module return a success/fail value.
1999-08-17 00:28:01 +00:00
Hallvard Furuseth
3b5b9e1e5f
back-ldbm: Kill ldbm_ignore_nextid_file, replace with slapMode==SLAP_TOOL_MODE
1999-08-16 07:09:28 +00:00
Hallvard Furuseth
697dae9fac
s/text/text ? text : ""/ in Statslog
1999-08-16 06:28:33 +00:00
Hallvard Furuseth
6147119dc8
Add ldap_*2name() in <include,libldap>/schema, use them in slapd/schema
1999-08-16 02:59:11 +00:00
Hallvard Furuseth
5c15a5adeb
ITS#251: Remove 1st "u" (old UDP option) from getopt()
1999-08-16 02:24:16 +00:00
Kurt Zeilenga
5cf9fad3e3
Allow "" DNs
1999-08-14 01:39:54 +00:00
Kurt Zeilenga
70bb39ccbc
Assert on malloc failure
1999-08-14 01:34:25 +00:00
Kurt Zeilenga
aec2f1f17e
Fix add to topless root.
1999-08-14 01:19:29 +00:00
Kurt Zeilenga
26437c46b0
Added labeledURI (standard track schema) from RFC2047
...
Minor schema file cleanup
1999-08-14 00:04:27 +00:00
Kurt Zeilenga
5007e92278
Fix empty dn.
1999-08-13 22:43:21 +00:00
Kurt Zeilenga
34647dd8d7
Force to LDAPv3 until BIND
1999-08-13 06:09:48 +00:00
Kurt Zeilenga
7015167974
Add DN_INDICES search filter and has_children support. Move id2children
...
behind -UDN_INDICES.
1999-08-13 00:55:08 +00:00
Kurt Zeilenga
c4dedab0da
Add LDAPsubentry to allow some structure to be added to subentries
1999-08-12 19:00:20 +00:00
Kurt Zeilenga
693229dfdd
Add "objectclass: LDAPsubentry" to provide structure to subentries
1999-08-12 18:58:51 +00:00
Kurt Zeilenga
397294fc40
Add dn_subtree() (used for subtree index generation)
1999-08-12 04:20:32 +00:00
Kurt Zeilenga
00ba798bd4
Left DN_INDICES defines by mistake... it's not ready for prime time yet.
...
Change prefixes to make eyeballing .dbb files easier
1999-08-12 01:05:33 +00:00
Kurt Zeilenga
1ffe5122b7
Implement DN_PARENT_PREFIX and framework for DN_SUBTREE_PREFIX.
1999-08-11 20:59:28 +00:00
Kurt Zeilenga
49207930cf
Modify replace_values not to merge in new values when no value is
...
was provided.
1999-08-11 19:05:40 +00:00
Kurt Zeilenga
740f1b422e
Add LDAPsubentry (without OID).
1999-08-11 19:01:05 +00:00
Kurt Zeilenga
82ac9547c9
Removed redundant dn_normalization(strdup(ndn)) from dn2id codes.
...
Added initial DN_INDICES code behind #ifdef DN_INDICES.
Generates only equality index. Will add parent and subtree indices next.
1999-08-11 02:57:07 +00:00
Howard Chu
b2647a713a
Fix build dependencies. Last try was not parallel-safe.
1999-08-09 23:01:31 +00:00
Kurt Zeilenga
65ed23a120
limit maxindirect to 9
...
ifdef CONT_POSTFIX, swap index and old key in new key. Not defined as
it would cause more grief than good (but should be enabled on next major
index change).
1999-08-09 18:51:02 +00:00
Kurt Zeilenga
db6e9af351
Remove lint.
1999-08-09 18:48:23 +00:00
Howard Chu
638f37743b
Fix explicit backend dependencies. Wildcard was unreliable.
1999-08-09 01:29:27 +00:00
Hallvard Furuseth
bbd3d9e77c
ldap_op.c: Get LDAP->ld_lberoptions from libldap/ldap-int.h.
...
slurp.h: #undef ldap_debug before a #define which conflicts with ldap-int.h.
1999-08-08 15:18:38 +00:00
Hallvard Furuseth
9f67a2e6c9
Separate put_nextid() out from next_id_write() in back-ldbm/nextid.c.
...
Use it in tools/ldif2id2entry.c instead of making the NEXTID file "by hand".
1999-08-08 07:28:44 +00:00
Kurt Zeilenga
5a0a5c7841
Remove bogus free.
1999-08-08 04:30:51 +00:00
Kurt Zeilenga
d01f571e7c
Fix typo in previous commit as well as integrate bubble move
...
replacement.
1999-08-08 00:54:27 +00:00
Kurt Zeilenga
120534222c
Replace bubble move with SAFEMEMCPY
1999-08-08 00:02:05 +00:00
Kurt Zeilenga
5ecf77c034
Eliminate a bubble move.
1999-08-07 23:25:48 +00:00
Kurt Zeilenga
136bb9c231
Use a cursor to step through ID_BLOCKS.
1999-08-07 21:14:24 +00:00
Howard Chu
366e8fd5ad
Final round of module changes
1999-08-07 11:37:43 +00:00
Howard Chu
0743e963ca
Modified to use libtool's ltdl instead of gmodule
1999-08-07 07:58:11 +00:00
Howard Chu
00ac49a1fd
Modified for use with libtool's ltdl instead of gmodule
1999-08-07 07:54:45 +00:00
Hallvard Furuseth
6054463eeb
Minor cleanup:
...
Fix Statlog() formats, remove an implicit int, include <ctype.h> for isspace().
1999-08-07 05:36:48 +00:00
Hallvard Furuseth
8e03d254b8
Plug memory leaks (parallell to back-ldbm/idl.c version 1.26)
1999-08-07 03:38:24 +00:00
Hallvard Furuseth
64f2d924d7
Fix typo in error message: idl_fetch -> bdb2i_idl_fetch
1999-08-07 03:31:46 +00:00
Kurt Zeilenga
9c3ed0310b
Add copyright notices.
1999-08-06 23:07:46 +00:00
Howard Chu
b78a4a34f9
Preliminary Make rules to allow building backends as modules.
1999-08-06 16:15:05 +00:00
Howard Chu
03b58cc9cf
For dynamic modules, must explicitly zero BackendInfo structure in
...
init_module. Since it's a local var, you have no idea what kind of
garbage is sitting in important function pointers...
1999-08-06 13:16:26 +00:00
Hallvard Furuseth
496f9b1476
Factor out ldif entry parsing so all ldif2* tools will read the same format.
...
Valid LDIF files are parsed the same way as before.
1999-08-06 03:01:23 +00:00
Hallvard Furuseth
71fa2027a7
Typo: s/elineno, elineno/elineno, lineno/ in error message
1999-08-06 02:02:34 +00:00
Kurt Zeilenga
352354bcbb
Add missing "\n" in usage statement
1999-08-05 20:50:40 +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
7b6a923937
Add basic configure support of --enable-quipu
1999-08-05 01:23:04 +00:00
Kurt Zeilenga
bc73fffe12
Update projects to use ldif2common.*
...
Remove lint
1999-08-05 00:08:26 +00:00
Kurt Zeilenga
c73106936b
Add copyright notice.
1999-08-04 23:59:53 +00:00
Kurt Zeilenga
9ea7a42b99
Add copyright notice and a few comments here and there
1999-08-04 23:59:13 +00:00
Gary Williams
a1c9d88e49
don't force debug to 65535
1999-08-04 18:13:46 +00:00
Hallvard Furuseth
023e18fb4a
s/return 0/return EXIT_SUCCESS/ in main(), #include <ac/stdlib.h> to get EXIT_*
1999-08-04 06:05:05 +00:00
Hallvard Furuseth
c0a0028c43
Align somewhat with ldif2ldbm: Obey HAVE_SYS_PARAM_H, cast strcasecmp to AVL_CMP
1999-08-04 05:53:50 +00:00
Hallvard Furuseth
48b63d4f16
Factor out ldif2* intialization to ldif2common.c
1999-08-04 05:49:36 +00:00
Kurt Zeilenga
1fe5f59027
Add sasl.c
1999-08-04 00:44:02 +00:00
Kurt Zeilenga
b67eb8e2be
Don't have time to finish SASL right now... this is a work in progress
...
but is safely tucked away behind --with-cyrus-sasl.
1999-08-04 00:11:22 +00:00
Kurt Zeilenga
354d49fb9a
List supportedSASLmechanisms based upon what sasl_listmech() returns.
1999-08-03 23:23:05 +00:00
Kurt Zeilenga
ecb9c3b3fb
Add multimaster replication support (ITS#170) based upon
...
updated patch submitted Philipp Klaus <ldapml@internet.access.ch>
Can be enabled using --enable-multimaster. TODO:
Replication test likely should be adjusted to test multimaster environment.
1999-08-03 22:15:19 +00:00
Kurt Zeilenga
10591cb47d
Update default access usage comment.
1999-08-03 21:35:53 +00:00
Kurt Zeilenga
643091f1f7
change order of tag and err in logging (only). Does not effect encoding.
1999-08-03 20:28:16 +00:00
Kurt Zeilenga
2b79ff2c48
Initial inet_aton() detection.
1999-08-03 20:02:44 +00:00
Kurt Zeilenga
59c8a88c2f
Needs <ac/stdlib.h> for EXIT_*
1999-08-03 18:41:55 +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
Kurt Zeilenga
f90ed5aef8
Add a little SASL framework and remove old X-DIGEST-MD5 hardcode.
...
This code is not called (yet).
1999-08-03 02:37:42 +00:00
Hallvard Furuseth
79fb44b129
Replace NULLBER with NULL
...
Replace `lber_int_debug = ...' with `ber_set_option( ... )'
1999-08-03 02:31:29 +00:00
Hallvard Furuseth
0310b8b048
Remove obsolete 7th arg (opatts) from send_search_entry() calls.
...
Add missing arg (refs or ctrls) to send_ldap_result() calls.
NOTE: Did not implement referral/ldapcontrol support in back-tcl.
1999-08-03 01:38:43 +00:00
Kurt Zeilenga
538048dac2
Disable connectionless support until someone implements
...
a UDP listener.
1999-08-02 07:40:15 +00:00
Hallvard Furuseth
8743c05359
Change 'unsigned long len' to ber_len_t in get_filter()
1999-08-02 05:29:35 +00:00
Hallvard Furuseth
576956ceb0
Finish s/lber_bprint/ber_bprint/ renaming
1999-08-02 01:20:48 +00:00
Hallvard Furuseth
d716086a2d
Delete spurious 7th arg (of 8) to send_search_entry()
1999-08-01 20:31:03 +00:00
Hallvard Furuseth
a49590eab7
Missed an instance of s/struct attrinfo/AttrInfo/
1999-08-01 20:25:15 +00:00
Hallvard Furuseth
c34a8d8f5e
Kill lber_debug
1999-08-01 20:23:35 +00:00
Hallvard Furuseth
5d42c1d022
Align with ldif2id2children.c: s/int vlen;/ber_len_t vlen;/
1999-08-01 17:54:09 +00:00
Hallvard Furuseth
79cb528e7e
s/getopt() != -1/getopt() != EOF/
1999-08-01 15:35:53 +00:00
Kurt Zeilenga
6fb50094d8
Experimental fix to ITS#179 fix.
1999-07-31 03:37:40 +00:00
Kurt Zeilenga
48d5465ab7
Add support for "foo:< http://localhost/path .
...
Requires FreeBSD's -lfetch...
Implementations to other URL APIs encouraged.
Probably should be moved to -llutil.
1999-07-31 03:23:26 +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
Julio Sánchez Fernández
18393e882c
When recreating a database from an ldif file created by ldbmcat,
...
NEXTID would not be set to one higher than the highest number
used, but to one higher than the last entry in the ldif file.
1999-07-30 18:53:23 +00:00
Julio Sánchez Fernández
3a1aab088d
IDs in the LDIF input were not being used in id2children creation.
1999-07-30 18:37:00 +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
79e28bda6f
Fix modlist bug in last commit
1999-07-29 18:19:06 +00:00
Kurt Zeilenga
51d16c18a9
Save attributes until we've completed schema check and
...
modified indices.
1999-07-29 04:41:49 +00:00
Kurt Zeilenga
4bf65c0d0a
Add suffixalias.c
1999-07-29 02:32:40 +00:00
Kurt Zeilenga
de8a1d518a
Slightly better ITS#238 fix than last commit... has Debug
...
message, doesn't bother to open/close index files...
1999-07-28 23:19:16 +00:00
Kurt Zeilenga
0e4e5c7a13
Fix index_change_vals NULL vals bug (ITS#238)
1999-07-28 22:57:52 +00:00
Kurt Zeilenga
5456f4ed18
Default lastmod to ON.
1999-07-27 20:05:37 +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
008bbf56db
Fix -USLAPD_RLOOKUPS
1999-07-27 18:49:32 +00:00
Kurt Zeilenga
c12547cf3b
Resurrect suffix aliasing...
1999-07-27 18:43:30 +00:00
Kurt Zeilenga
44e15153e7
Fix "dn" index. Only "sub" was being generated instead of "eq,sub".
1999-07-27 00:51:19 +00:00
Kurt Zeilenga
f374c39ab0
move wsa error to -llutil
1999-07-27 00:38:29 +00:00
Kurt Zeilenga
4d72e20bae
Relocate to -llutil
1999-07-27 00:37:48 +00:00
Howard Chu
04c5711506
Moved unbind processing into connection_destroy. unbind handler is not needed.
1999-07-25 22:16:01 +00:00
Howard Chu
f491c89387
Fix unportable code. Thanks, Hallvard.
1999-07-25 22:13:52 +00:00
Kurt Zeilenga
b9764fff76
Back out paralyzing changes.
1999-07-24 21:40:58 +00:00
Howard Chu
5692be1fe4
Minor changes to support parallel make.
1999-07-24 09:21:34 +00:00
Kurt Zeilenga
a39cf6f93d
Add support for LDAP_ALL_OPERATIONAL_ATTRIBUTES ("+") (based on
...
LDAPext discussions).
Add attrs and attrsonly support to monitor/config info.
Add rdn attributes to schema/monitor/config.
Add extensibleObject objectclass to schema/monitor/config.
Add top objectclass to rootdse/monitor/config.
Remove opattrs option from send_search_entry().
1999-07-24 03:39:23 +00:00
Kurt Zeilenga
06b667b8c6
Move subschemasubentry from "no-user-mod operational" to "operational"
...
as it's not stored the directory.
1999-07-24 02:22:14 +00:00
Kurt Zeilenga
6ba2272321
Adhere to "servers will not return operational attributes" in
...
all cases (including root dse).
1999-07-24 02:12:42 +00:00
Kurt Zeilenga
cabe6ebe16
Really fix subschemasubentry...
1999-07-24 01:27:32 +00:00
Kurt Zeilenga
7ee088518c
Fix subschemasubentry operational attribute.
1999-07-24 00:45:25 +00:00
Julio Sánchez Fernández
44e371d45c
Add missing semicolon.
1999-07-23 09:45:34 +00:00
Randy Kunkee
820ac76ceb
Include sys/param.h on OSF4.0e to define MAXPATHLEN.
1999-07-23 00:59:27 +00:00
Kurt Zeilenga
d147e609d2
Implement TCP_NODELAY on both client and server side.
1999-07-22 21:49:35 +00:00
Kurt Zeilenga
f0c1fc37f5
Fix IP: typo in peername
1999-07-22 20:37:56 +00:00
Kurt Zeilenga
983f43785b
Fix "*" op-attr search
1999-07-22 20:19:18 +00:00
Kurt Zeilenga
766b78765f
Typo made all missed all aliasedobjectname values.
1999-07-22 19:17:16 +00:00
Kurt Zeilenga
c9778dd116
Implement better DN checking... make sure attribute type is
...
an OID or a proper type string (letter followed by 0 or more
alnum/-).
1999-07-22 19:06:56 +00:00
Kurt Zeilenga
68d561a97b
Add limited LDAP_INVALID_DN_SYNTAX support. dn_normalize{,_case}() now returns
...
NULL does not meet basic syntax rules.
1999-07-22 17:14:42 +00:00
Kurt Zeilenga
3f91cffa15
Fix unknown critical extensions.
1999-07-22 05:06:41 +00:00
Kurt Zeilenga
42304b7ada
Fix control parsing and controls free routine.
1999-07-22 04:47:58 +00:00
Kurt Zeilenga
0ed1a76d27
Release writer lock on new parent.
1999-07-22 03:42:02 +00:00
Kurt Zeilenga
5600097ae1
Update ACL field names and usage statement to match -devel post
1999-07-22 00:50:11 +00:00
Kurt Zeilenga
a11630f9b8
Fix maxDeref directive
1999-07-22 00:49:25 +00:00
Kurt Zeilenga
d5b1892ccc
Fix acl parse bug
1999-07-21 21:08:05 +00:00
Kurt Zeilenga
933908f72f
ACL CHANGES:
...
by <who> <access> changed to by <who>+ <access> (joined with AND)
added peername=<regex> sockname=<regex> url=<regex>
removed addr=<regex> (use peername instead).
replace dn_upcase with str2upper and str2lower. Use where needed.
1999-07-21 20:54:23 +00:00
Gary Williams
b8b68f0668
set tls_port to zero if !defined(HAVE_TLS) to satisfy assert in slapd_daemon_init
1999-07-21 15:08:50 +00:00
Julio Sánchez Fernández
f0f29cd82e
Backout the input exhaustion change, it loops. Still looking for
...
the right way.
1999-07-21 13:22:35 +00:00
Gary Williams
f4eb2feba5
use rd instead of i looking for listeners (line 848)
1999-07-20 21:55:06 +00:00
Julio Sánchez Fernández
288a28a762
Add support for TLSVerifyClient.
1999-07-20 18:05:50 +00:00
Julio Sánchez Fernández
504038ffac
Move the input data exhaustion loop to connection.c from daemon.c
1999-07-20 18:03:29 +00:00
Julio Sánchez Fernández
76227acb1f
Move the input data exhaustion loop to connection.c from daemon.c
...
Let transport (TLS or somesuch) force reading or writing on
sockets even if the higher layers think otherwise.
1999-07-20 18:02:44 +00:00
Julio Sánchez Fernández
535cc34421
If we did gethostbyname, we need no further address manipulation.
1999-07-20 11:26:44 +00:00
Kurt Zeilenga
cb94e155ae
Don't call Debug inside a signal handler
1999-07-20 07:11:56 +00:00
Kurt Zeilenga
b2937bee5b
s/struct entry/Entry/
1999-07-19 21:08:59 +00:00
Kurt Zeilenga
598c472bf9
s/backend_db/slap_backend_db/
1999-07-19 21:01:07 +00:00
Kurt Zeilenga
6847e329bc
Fix new URL startup code.
1999-07-19 20:48:19 +00:00
Kurt Zeilenga
170836751a
Namespace changes
...
added slap_ and ldbm_ to many structures
added typedefs to many structures
used typedefs
New main.c argument parsing with ldap url support (replacing -a address).
New sockaddr_in handling and support for multiple listeners.
1999-07-19 19:40:33 +00:00
Hallvard Furuseth
30b3958f94
Introduce got_<gid,uid> (the r1.4 change misbehaved with -user <root>).
...
Also free <user> in !HAVE_GETPWUID case.
1999-07-18 01:04:49 +00:00
Kurt Zeilenga
12f481d657
Import patches mistakenly applied to OPENLDAP_DEVEL_REFERRALS.
...
ldap_modify: delete of last attribute value should delete attribute (ITS#229)
thr_nt: use sleep to yield
1999-07-18 00:33:30 +00:00
Kurt Zeilenga
f92d01c2bb
fix substring_comp_candidates logic if intersection of candidates
...
is ever empty. See ITS#228.
1999-07-16 22:26:57 +00:00
Kurt Zeilenga
059ee8c86d
(re)introduce o_connid such that STATS doesn't need c_mutex (which it
...
didn't bother to acquire)...
1999-07-16 22:24:32 +00:00
Hallvard Furuseth
425bab2c47
Add comment thatPass socklen_t* instead of int* to getsockopt, accept, getpeername, recvfrom
1999-07-16 18:57:11 +00:00
Julio Sánchez Fernández
0053b27ce0
Look on connection_read() if it returns positive so it has a chance
...
to exhaust all protocol units received from the transport layer.
I think this is the necessary fix for the TLS-data-ready/
socket-not-ready issue, but I have not experimented that problem
yet, so I am unsure about its effectiveness.
Now, do we need something like that for connection_write? How would
we go about implementing it?
1999-07-16 18:53:30 +00:00
Julio Sánchez Fernández
ea8669c37d
Clear c_needs_tls_acccept on ldap_pvt_tls_accept errors
1999-07-16 18:48:13 +00:00
Hallvard Furuseth
5ab862aee7
Pass socklen_t* instead of int* to getsockopt, accept, getpeername, recvfrom
1999-07-16 18:43:10 +00:00
Julio Sánchez Fernández
68b508d2f0
Move calls to ldap_pvt_tls_accept to connection_read instead of
...
connection_init so that we get into the select() logic.
Make use of new flags in the connection.
BTW, and before I forget, it sort of works. I have connected with
a Netscape client using a secure connection and did a failed
search (my test database is empty), but the trace looked correct.
Make sure you have your CA certificate in your Netscape preinstalled.
Otherwise, the connection fails with error 0xFFFFFFFF that is rather
uninformative.
1999-07-16 15:52:17 +00:00
Julio Sánchez Fernández
a4a675f987
Two new flags in Connection. One to indicate that it is a raw TLS
...
section (that is, not SASL). The second to indicate that we need to
do SSL_accept on this connection.
1999-07-16 15:43:47 +00:00
Julio Sánchez Fernández
8af470a543
Fix syntax oid for type 2.16.840.1.113730.3.1.34 (ref)
1999-07-16 10:51:31 +00:00
Julio Sánchez Fernández
ac49f25f75
Definitely, 'dn' and 'distinguishedName' are different things. The
...
former is a pseudo attribute type used internally by slapd to represent
the distinguished name of an entry and its existance should not be
visible. The latter is an "abstract" attribute type that is not meant
to exist in practice except as supertype of other dn-valued types.
So, the definition of attribute type 2.5.4.49 has been changed to be
just distinguishedName. Work on the OPENLDAP_DEVEL_SCHEMA branch will
treat pseudo attributes especially and will not be visible to the
clients.
1999-07-16 10:39:40 +00:00
Julio Sánchez Fernández
fd8b582aa9
We should stop using SSL to refer to TLS. This is a first step.
1999-07-16 10:28:51 +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
Kurt Zeilenga
9568a013a8
Backend lock wasn't being released properly.
1999-07-16 00:16:54 +00:00
Julio Sánchez Fernández
edb1d671f8
Initialize the TLS environment *after* reading the config files.
1999-07-15 21:07:01 +00:00
Julio Sánchez Fernández
fd49eacc4b
Parse more TLS options in slapd.conf
1999-07-15 21:05:08 +00:00
Julio Sánchez Fernández
d92c7c1c7d
A couple of options for TLS configuration. Still a conflict here,
...
the default context is initialized before the config file is read,
so the locations are not know at context initialization.
1999-07-15 15:04:02 +00:00
Julio Sánchez Fernández
1df71e1814
Get rid of two compilation warnings. One is thought to be properly
...
taken care of. The second, however, on remove_old_locks is unclear.
1999-07-14 19:51:35 +00:00
Julio Sánchez Fernández
e74ff638ba
Parsing of flag -T was falling through to the default case.
...
Init the TLS environment if necessary. Lots of things needed here,
in particular, preparing properly the default context.
1999-07-14 19:49:39 +00:00
Julio Sánchez Fernández
6d75d0f8fb
connection_init now takes one more argument that indicates whether to
...
use TLS right away or not on that connection.
1999-07-14 19:44:18 +00:00
Julio Sánchez Fernández
c18d6e7ecf
Only bind on TLS port if explicitly requested with -T, otherwise all
...
kind of conflicts happen when running tests.
1999-07-14 13:39:30 +00:00
Julio Sánchez Fernández
5b7babdee4
Bind and listen on TLS port too
1999-07-14 13:16:13 +00:00
Julio Sánchez Fernández
8542e45380
Extend slapd_args with TLS info
1999-07-14 13:14:54 +00:00
Julio Sánchez Fernández
0dac59ca26
Include $(TLS_LIBS)
1999-07-13 19:15:14 +00:00
Kurt Zeilenga
12b87ceebc
Fix debug message.
1999-07-13 08:24:26 +00:00
Hallvard Furuseth
fb3b8e5ef1
Fix LDAP_CONNECTIONLESS code rot
1999-07-13 06:39:55 +00:00
Hallvard Furuseth
c4a13efbea
Fix NULLxxx -> NULL
1999-07-13 06:37:19 +00:00
Hallvard Furuseth
4e80e9b9f2
Add opattrs=0 arg to send_search_entry() call
1999-07-13 05:05:59 +00:00
Hallvard Furuseth
b5455b8e47
Erase bad space from blank Makefile line
1999-07-13 04:13:21 +00:00
Hallvard Furuseth
55fa595f56
Add missing newline at EOF
1999-07-13 04:11:49 +00:00
Hallvard Furuseth
7e3ede2e01
Erase bad space from blank Makefile line
1999-07-13 04:01:25 +00:00
Kurt Zeilenga
5e14b911e6
Mirror <ac/time.h> inclusion made in re12
1999-07-09 21:10:19 +00:00
Kurt Zeilenga
469baeb3c0
Forgot the most important part of unsolicited notifications... exop!
1999-07-07 18:53:51 +00:00
Kurt Zeilenga
e9c2895472
Add support for unsolicited notifications.
1999-07-07 18:51:39 +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
7541ccbe10
Fix CRITICIAL typo.
1999-07-07 18:32:41 +00:00
Kurt Zeilenga
6c1758ae33
Add matching rule assertion structure to filter union.
1999-07-07 18:02:32 +00:00
Kurt Zeilenga
fb593fc5b9
Add controls.c to pick up get_ctrls().
1999-07-05 23:08:43 +00:00
Kurt Zeilenga
32cefa43a0
Add controls.c: initial version of get_ctrls()
1999-07-05 23:04:35 +00:00
Kurt Zeilenga
00086db3f6
Add get_ctrls()...
1999-07-05 23:01:17 +00:00
Kurt Zeilenga
51d1c90887
unifdef -DSLAPD_ACLGROUPS -DSLAPD_ACLAUTH
1999-07-05 06:26:26 +00:00
Kurt Zeilenga
549c89f817
Regarding previous commit:
...
Fix broken ACL macros.
Fix o_dn/o_ndn == NULL vs "".
1999-07-04 19:53:00 +00:00
Kurt Zeilenga
49f39bc4cf
o_dn/o_ndn must not be NULL. Set to "" upon receiving bind request.
1999-07-04 19:37:25 +00:00
Kurt Zeilenga
106eef41d8
HEADS UP: connections are forced to "anonymous" status upon receiving
...
of a bind request and, upon failure, are left "anonymous."
Rework ACL code to hide access testing within macros to facilate additions
and eventual redesign.
Addition of #ifdef SLAPD_ACLAUTH to conditional include EXPERIMENTAL
"auth" access controls. Adds ACL_AUTH "auth" access level (above none,
below "compare"). bind requires anonymous access at this level or above access
to "entry"/"userPassword"/"krbName". This allows administrators to restrict
which entries can be bound to. (This will likely become default behavior
after testing has completed).
1999-07-04 18:46:24 +00:00
Kurt Zeilenga
daf40a51c1
Abandon all operations upon receiving a BindRequest.
1999-07-02 21:42:53 +00:00
Kurt Zeilenga
b7bbc7504d
More bind changes to support SASL/DIGEST.
...
Added configuration support for "digest-realm <realm>" configure directive.
Added connection state and bind_in_progress fields to cn=monitor connection
attribute.
1999-07-02 19:48:07 +00:00
Kurt Zeilenga
175ace59c8
Send LDAP_SASL_BIND_IN_PROGRESS if o_bind_in_progress is true.
1999-07-02 00:46:28 +00:00
Kurt Zeilenga
6f8fad20f2
Add conn/op bind_in_progress flags such that operations can detect
...
if multiple step SASL binds are in progress.
1999-07-02 00:04:47 +00:00
Kurt Zeilenga
97bc107537
Add macros to support testing of error categories to ldap.h
...
Modify ldap_result to assert returned error is not an one reserved
for API use.
Modify frontend LDAP operation routines to return an error code.
The returned value will be used to determine if an unsolicited notification
should be sent to the client.
Need to review returned error codes. Namely some LDAP_PROTOCOL_ERROR
will like need to be changed (as they will cause unsolicited notifications).
1999-07-01 21:20:45 +00:00
Kurt Zeilenga
d7b311c6e1
s/LDAP_NOT_SUPPORTED/LDAP_UNWILLING_TO_PERFORM/
1999-07-01 04:43:48 +00:00
Kurt Zeilenga
ddd0559284
Fairly complete slapd SASL bind parsing... and centralized cleanup code.
...
Update error strings and cldap misuse of server error.
1999-07-01 04:42:01 +00:00
Kurt Zeilenga
129ee42f37
NO-OP SASL parsing... DIGEST-MD5 coming soon.
1999-07-01 03:18:00 +00:00
Kurt Zeilenga
f9db1ea889
Rework BER decoding with lieu of LDAPv3 controls (coming soon).
...
Add place holder for handling LDAPv3 extended operations (coming soon).
1999-06-30 22:43:27 +00:00
Kurt Zeilenga
14820afdd9
Reimplement connection counters. Format of "connection" attribute
...
changed significantly.
1999-06-30 02:50:40 +00:00
Kurt Zeilenga
9225707a06
Modify lutil_passwd to accept a third argument char** methods to
...
specific which methods may be used. This will facilate development
of a slapd config directive "passwordMethod ..." to specify which
methods should be allowed.
1999-06-29 22:24:53 +00:00
Kurt Zeilenga
fe00263875
expose oc_check_operational from schema.c
...
Use everywhere.
Apply search ACLs to operational attributes.
Only provide operational attributes when explicitly requested.
1999-06-29 04:52:55 +00:00
Kurt Zeilenga
a7dfc2aada
Add sasl "mech" argument to backend bind routines.
1999-06-29 03:29:26 +00:00
Kurt Zeilenga
1ee85df297
Add framework for sasl and controls.
1999-06-29 03:17:22 +00:00
Kurt Zeilenga
c0af81253a
remove obsolete file.
1999-06-29 03:01:02 +00:00
Kurt Zeilenga
dcc5bdfe7e
Log out to stderr, add LDAP_VERSION3 support to bind.c and modrdn.c
1999-06-29 01:02:48 +00:00
Kurt Zeilenga
2660d0b42f
Remove old U-Mich v3.0 and OLD_LDAP_* crud.
...
Leave only LDAPv2+ and LDAPv3.
1999-06-29 00:03:34 +00:00
Kurt Zeilenga
cf89dd83cd
don't set unsigned variables to -1 and expect them to be negative.
...
verify uid/gid are positive, not non-negative.
1999-06-27 03:58:06 +00:00
Bastiaan Bakker
5a470f8959
Merged dynamic module support patch (see ITS #196 ). To enable, run ./configure w
...
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00
Bastiaan Bakker
e2b5b21155
Added connection initialisation and destruction notification. Now backends can register functions in backend_info.bi_connection_init and backend_info.bi_connection_destroy that will be called when a connection is initialized or destroyed.
1999-06-23 12:31:35 +00:00
Kurt Zeilenga
0b924192e7
Move nt_debug to -llutil and generalize for all platforms.
1999-06-21 22:52:28 +00:00
Kurt Zeilenga
2fda53f375
Add missing arguments to Debug() calls... and adapt nt_debug for general
...
use.
1999-06-21 22:36:13 +00:00
Kurt Zeilenga
6bd26a6aed
remove lint.
1999-06-21 22:35:02 +00:00
Kurt Zeilenga
52e69dfc14
All "o=foo" add to suffix "" if bound as root.
1999-06-19 05:11:18 +00:00
Kurt Zeilenga
c57e5952f9
Use ber_mem* and friends
1999-06-19 05:08:13 +00:00
Kurt Zeilenga
f9a560114a
Allow adding of dn: o=foo if suffix is "" and rootdn.
1999-06-19 04:26:17 +00:00