]> git.sur5r.net Git - openldap/log
openldap
24 years agoRemove declaration of strerror_r, it clashes on AIX and we never use it
Howard Chu [Wed, 10 May 2000 16:11:38 +0000 (16:11 +0000)]
Remove declaration of strerror_r, it clashes on AIX and we never use it
anyway.

24 years agoTweak the symlink creation rules for braindead "ln" commands.
Howard Chu [Wed, 10 May 2000 16:10:11 +0000 (16:10 +0000)]
Tweak the symlink creation rules for braindead "ln" commands.

24 years agoFix pthread_create test for AIX. AIX deviates from POSIX in that threads
Howard Chu [Wed, 10 May 2000 16:09:26 +0000 (16:09 +0000)]
Fix pthread_create test for AIX. AIX deviates from POSIX in that threads
are created detached by default. We need to set the thread attributes in
advance, otherwise pthread_detach will fail.

24 years agoRemove extra --enable-modules flag...
Kurt Zeilenga [Wed, 10 May 2000 04:31:42 +0000 (04:31 +0000)]
Remove extra --enable-modules flag...

24 years agoAdd experimental code to check simple bind passwords
Kurt Zeilenga [Wed, 10 May 2000 04:29:51 +0000 (04:29 +0000)]
Add experimental code to check simple bind passwords
against Cyrus SASLdb.  Like other cleartext mechanisms,
should be protected from eavesdropping.

24 years agoUpdate comment concerning stable client development platforms.
Kurt Zeilenga [Wed, 10 May 2000 04:28:10 +0000 (04:28 +0000)]
Update comment concerning stable client development platforms.

24 years agoAdd IPv6/IPSEC project (volunteers welcomed)
Kurt Zeilenga [Tue, 9 May 2000 18:48:03 +0000 (18:48 +0000)]
Add IPv6/IPSEC project (volunteers welcomed)

24 years agos/cmds/rcpt_cmds/ to avoid conflict with Linux Redhat "prandom".
Kurt Zeilenga [Tue, 9 May 2000 17:25:59 +0000 (17:25 +0000)]
s/cmds/rcpt_cmds/ to avoid conflict with Linux Redhat "prandom".

24 years agomove default "directory"
Kurt Zeilenga [Wed, 3 May 2000 19:01:29 +0000 (19:01 +0000)]
move default "directory"

24 years agoError handling changes including separation of client v. server
Kurt Zeilenga [Wed, 3 May 2000 18:59:58 +0000 (18:59 +0000)]
Error handling changes including separation of client v. server
SASL to LDAP translation.  plus comments and other minor changes

24 years agoupdate based upon latest changes and thoughts
Kurt Zeilenga [Wed, 3 May 2000 18:58:20 +0000 (18:58 +0000)]
update based upon latest changes and thoughts

24 years agoUse (unsigned char) -1 instead of 0xffU.
Kurt Zeilenga [Wed, 3 May 2000 18:55:27 +0000 (18:55 +0000)]
Use (unsigned char) -1 instead of 0xffU.

24 years agoDone did hashed password generation (via extend op)
Kurt Zeilenga [Wed, 3 May 2000 12:57:05 +0000 (12:57 +0000)]
Done did hashed password generation (via extend op)

24 years agosetting UFN prefix to NULL should clear prefix not cause crash.
Kurt Zeilenga [Wed, 3 May 2000 10:45:36 +0000 (10:45 +0000)]
setting UFN prefix to NULL should clear prefix not cause crash.

24 years agoMove default LDBM directory from /usr/tmp to $(localstatedir)
Kurt Zeilenga [Wed, 3 May 2000 10:07:21 +0000 (10:07 +0000)]
Move default LDBM directory from /usr/tmp to $(localstatedir)

24 years agoAvoid C++ keyword 'new' in header files.
Bastiaan Bakker [Sun, 30 Apr 2000 15:26:51 +0000 (15:26 +0000)]
Avoid C++ keyword 'new' in header files.

24 years agoAdded example 'moduleload' lines to slapd.conf
Bastiaan Bakker [Sun, 30 Apr 2000 15:01:32 +0000 (15:01 +0000)]
Added example 'moduleload' lines to slapd.conf

24 years agoChange count test for non-zero reference counts to check for ... non-zero.
Randy Kunkee [Wed, 26 Apr 2000 09:24:58 +0000 (09:24 +0000)]
Change count test for non-zero reference counts to check for ... non-zero.

24 years agoRework order of things to allow restart in oneshot mode.
Randy Kunkee [Wed, 26 Apr 2000 09:24:12 +0000 (09:24 +0000)]
Rework order of things to allow restart in oneshot mode.

24 years agoDon't depend error handling on exact resultCode.
Kurt Zeilenga [Wed, 26 Apr 2000 09:21:19 +0000 (09:21 +0000)]
Don't depend error handling on exact resultCode.

24 years agoA NULL (empty) SASL mechanism should not result in a protocol error.
Kurt Zeilenga [Wed, 26 Apr 2000 09:20:25 +0000 (09:20 +0000)]
A NULL (empty) SASL mechanism should not result in a protocol error.

24 years agoClarify error string, add comment
Kurt Zeilenga [Wed, 26 Apr 2000 09:17:54 +0000 (09:17 +0000)]
Clarify error string, add comment

24 years agoFix typo in multbyte tag code
Kurt Zeilenga [Wed, 26 Apr 2000 09:17:05 +0000 (09:17 +0000)]
Fix typo in multbyte tag code

24 years agofix -UHAVE_CYRUS_SASL
Kurt Zeilenga [Tue, 25 Apr 2000 19:28:00 +0000 (19:28 +0000)]
fix -UHAVE_CYRUS_SASL

24 years agoSASL: me thinks I got the states okay... now to test.
Kurt Zeilenga [Tue, 25 Apr 2000 18:02:50 +0000 (18:02 +0000)]
SASL: me thinks I got the states okay...  now to test.

24 years agoSASL closer to working from frontend only, need to work through
Kurt Zeilenga [Tue, 25 Apr 2000 17:23:54 +0000 (17:23 +0000)]
SASL closer to working from frontend only, need to work through
states.

24 years agoSASL code without backend support. Should work with
Kurt Zeilenga [Tue, 25 Apr 2000 16:03:17 +0000 (16:03 +0000)]
SASL code without backend support.   Should work with
external store, but not yet tested.  [Intent is to support
both in same server... may not be doable]

24 years agoFix NULL filter bug
Kurt Zeilenga [Tue, 25 Apr 2000 13:52:44 +0000 (13:52 +0000)]
Fix NULL filter bug

24 years agoFramework for authpasswd. Needs work. Behind #ifdef
Kurt Zeilenga [Tue, 25 Apr 2000 13:28:03 +0000 (13:28 +0000)]
Framework for authpasswd.  Needs work.  Behind #ifdef

24 years agoFix typo in prev commit
Kurt Zeilenga [Tue, 25 Apr 2000 13:25:55 +0000 (13:25 +0000)]
Fix typo in prev commit

24 years agobind/sasl cleanup PRIOR TO moving call from backend to frontend
Kurt Zeilenga [Tue, 25 Apr 2000 13:21:42 +0000 (13:21 +0000)]
bind/sasl cleanup PRIOR TO moving call from backend to frontend

24 years agoSCHEMA_NOT_COMPAT changes
Kurt Zeilenga [Tue, 25 Apr 2000 13:21:06 +0000 (13:21 +0000)]
SCHEMA_NOT_COMPAT changes

24 years agoentry_schema_check rename
Kurt Zeilenga [Tue, 25 Apr 2000 13:20:05 +0000 (13:20 +0000)]
entry_schema_check rename

24 years agoLDAP_OPERATIONS_ERROR -> LDAP_OTHER
Kurt Zeilenga [Tue, 25 Apr 2000 13:18:59 +0000 (13:18 +0000)]
LDAP_OPERATIONS_ERROR -> LDAP_OTHER
and other error handling changes

24 years agoentry_schema_check() rename and more (error handling)
Kurt Zeilenga [Tue, 25 Apr 2000 13:15:55 +0000 (13:15 +0000)]
entry_schema_check() rename and more (error handling)

24 years ago(slightly) better comments
Kurt Zeilenga [Tue, 25 Apr 2000 13:13:42 +0000 (13:13 +0000)]
(slightly) better comments

24 years agoUpdate
Kurt Zeilenga [Tue, 25 Apr 2000 13:12:40 +0000 (13:12 +0000)]
Update

24 years agoreturn more descriptive error text
Kurt Zeilenga [Tue, 25 Apr 2000 13:12:20 +0000 (13:12 +0000)]
return more descriptive error text

24 years agoremove SASL bind call. Frontend code coming.
Kurt Zeilenga [Tue, 25 Apr 2000 13:10:31 +0000 (13:10 +0000)]
remove SASL bind call.  Frontend code coming.

24 years agoentry_schema_check() rename
Kurt Zeilenga [Tue, 25 Apr 2000 13:07:14 +0000 (13:07 +0000)]
entry_schema_check() rename

24 years agoLDAP_OPERATIONS_ERROR -> LDAP_OTHER
Kurt Zeilenga [Tue, 25 Apr 2000 13:06:22 +0000 (13:06 +0000)]
LDAP_OPERATIONS_ERROR -> LDAP_OTHER
and other misc changes

24 years agoFix comment
Kurt Zeilenga [Tue, 25 Apr 2000 13:02:42 +0000 (13:02 +0000)]
Fix comment

24 years agoreplace inetOrgPerson I-D with RFC
Kurt Zeilenga [Tue, 25 Apr 2000 11:55:35 +0000 (11:55 +0000)]
replace inetOrgPerson I-D with RFC

24 years agoFix NULL pointer deref bugs
Kurt Zeilenga [Tue, 25 Apr 2000 10:43:15 +0000 (10:43 +0000)]
Fix NULL pointer deref bugs

24 years agoApply experimental multibyte tag fix
Kurt Zeilenga [Tue, 25 Apr 2000 10:42:32 +0000 (10:42 +0000)]
Apply experimental multibyte tag fix

24 years agoreplace ldap_dnssrv_init() with lower level calls
Kurt Zeilenga [Tue, 25 Apr 2000 10:38:03 +0000 (10:38 +0000)]
replace ldap_dnssrv_init() with lower level calls
    ldap_domain2dn()
    ldap_domain2hostlist()
and provide prototype to soon-to-be-implemented
    ldap_dn2domain().
ldap_dnssrv_init(), if needed, can easily be implemented
using ldap_create(), ldap_set_option() and the above
commands.

24 years agoAdd description of global command line arguments....
Kurt Zeilenga [Tue, 25 Apr 2000 10:34:19 +0000 (10:34 +0000)]
Add description of global command line arguments....

24 years agoUpdate as needed.
Kurt Zeilenga [Tue, 25 Apr 2000 10:33:34 +0000 (10:33 +0000)]
Update as needed.

24 years agoAdd comment regarding staleness of I-D committed in this repo.
Kurt Zeilenga [Tue, 25 Apr 2000 10:32:39 +0000 (10:32 +0000)]
Add comment regarding staleness of I-D committed in this repo.

24 years agoFix typos in version checking
Kurt Zeilenga [Tue, 25 Apr 2000 10:30:42 +0000 (10:30 +0000)]
Fix typos in version checking

24 years agofor slurpd's replica directory (slurpd.status, and rej file) use a subdir of what...
Ben Collins [Mon, 24 Apr 2000 17:03:45 +0000 (17:03 +0000)]
for slurpd's replica directory (slurpd.status, and rej file) use a subdir of what the user specifies (add replica/ to it) to avoid /tmp races. A lot of the files that slurpd uses cannot be opened with O_EXCL, nor can we safely determine if there are any hardlinks from another file to it, so we create our own subdirectory so we can control the perms, even in /tmp

24 years agofilecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile...
Ben Collins [Mon, 24 Apr 2000 16:47:41 +0000 (16:47 +0000)]
filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use

24 years agouse strcpy instead of sprintf when all we have is two args (source and dest)
Ben Collins [Mon, 24 Apr 2000 16:44:16 +0000 (16:44 +0000)]
use strcpy instead of sprintf when all we have is two args (source and dest)

24 years agowhen opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions
Ben Collins [Mon, 24 Apr 2000 16:42:16 +0000 (16:42 +0000)]
when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions

24 years agowith the -t option (writing to /tmp) open files with O_CREAT|O_EXCL to overcome race...
Ben Collins [Mon, 24 Apr 2000 16:41:36 +0000 (16:41 +0000)]
with the -t option (writing to /tmp) open files with O_CREAT|O_EXCL to overcome race conditions

24 years agoStartTLS requires LDAPv3
Kurt Zeilenga [Thu, 20 Apr 2000 14:15:39 +0000 (14:15 +0000)]
StartTLS requires LDAPv3
Set version to required protocol.

24 years agoITS#503: Extend ldap tools to support SASL/TLS
Kurt Zeilenga [Thu, 20 Apr 2000 09:23:51 +0000 (09:23 +0000)]
ITS#503: Extend ldap tools to support SASL/TLS
Submitted by Gabor Gombas <gombasg@inf.elte.hu>

24 years agoLDAP_OPERATIONS -> LDAP_OTHER
Kurt Zeilenga [Wed, 19 Apr 2000 13:42:08 +0000 (13:42 +0000)]
LDAP_OPERATIONS -> LDAP_OTHER

24 years agoAdd RCSid
Kurt Zeilenga [Wed, 19 Apr 2000 13:37:52 +0000 (13:37 +0000)]
Add RCSid

24 years agoFix == v != bug
Kurt Zeilenga [Wed, 19 Apr 2000 13:35:43 +0000 (13:35 +0000)]
Fix == v != bug

24 years agoFix realloc bug and remove use of LDAP_MOD_BVALUES
Kurt Zeilenga [Wed, 19 Apr 2000 08:43:37 +0000 (08:43 +0000)]
Fix realloc bug and remove use of LDAP_MOD_BVALUES

24 years agoobjectclass=* -> (objectclass=*)
Kurt Zeilenga [Wed, 12 Apr 2000 08:38:01 +0000 (08:38 +0000)]
objectclass=* -> (objectclass=*)

24 years agoobjectclass=* -> NULL
Kurt Zeilenga [Wed, 12 Apr 2000 08:37:11 +0000 (08:37 +0000)]
objectclass=* -> NULL

24 years agoobjectclass=* -> NULL
Kurt Zeilenga [Wed, 12 Apr 2000 08:31:32 +0000 (08:31 +0000)]
objectclass=* -> NULL

24 years agoFix c_mutex unlock bug
Kurt Zeilenga [Wed, 12 Apr 2000 01:40:06 +0000 (01:40 +0000)]
Fix c_mutex unlock bug

24 years agoFix debug messages
Kurt Zeilenga [Wed, 12 Apr 2000 01:39:52 +0000 (01:39 +0000)]
Fix debug messages

24 years agoFix debug message
Kurt Zeilenga [Wed, 12 Apr 2000 01:35:53 +0000 (01:35 +0000)]
Fix debug message

24 years agoAdd .ldaprc to SYSNOPSIS
Kurt Zeilenga [Wed, 12 Apr 2000 01:23:43 +0000 (01:23 +0000)]
Add .ldaprc to SYSNOPSIS

24 years agoFix improperly terminated comment
Kurt Zeilenga [Wed, 12 Apr 2000 01:10:50 +0000 (01:10 +0000)]
Fix improperly terminated comment

24 years agofix uninitialized ndn bug
Kurt Zeilenga [Wed, 12 Apr 2000 01:09:36 +0000 (01:09 +0000)]
fix uninitialized ndn bug

24 years agofix = vs == bug
Kurt Zeilenga [Wed, 12 Apr 2000 01:06:58 +0000 (01:06 +0000)]
fix = vs == bug

24 years ago#define LDAP_LDIF to default to LDIF input
Kurt Zeilenga [Wed, 12 Apr 2000 01:03:51 +0000 (01:03 +0000)]
#define LDAP_LDIF to default to LDIF input
Fix ldaphost == NULL bug

24 years ago#define LDAP_LDIF to default to LDIF output
Kurt Zeilenga [Wed, 12 Apr 2000 01:02:58 +0000 (01:02 +0000)]
#define LDAP_LDIF to default to LDIF output

24 years agoobjectclass=* -> NULL
Kurt Zeilenga [Wed, 12 Apr 2000 01:00:48 +0000 (01:00 +0000)]
objectclass=* -> NULL

24 years agoAdd TLS/SASL flags
Kurt Zeilenga [Wed, 12 Apr 2000 00:03:07 +0000 (00:03 +0000)]
Add TLS/SASL flags

24 years agoChecking uninitialized variables.
Julio Sánchez Fernández [Mon, 10 Apr 2000 12:11:20 +0000 (12:11 +0000)]
Checking uninitialized variables.
Add addresses optimization to rfc822-ext too.

24 years agoAdded a method to make delivery to the local mailbox conditional on
Julio Sánchez Fernández [Fri, 7 Apr 2000 15:00:22 +0000 (15:00 +0000)]
Added a method to make delivery to the local mailbox conditional on
the presence of a certain value in some other attribute.  Used to
implement mailForwardingAddress both in addition to normal delivery
and excluding normal delivery, selectable entry by entry.  The model
is mailDeliveryOption in Netscape MS.  The implementation aims to
become more general, though.  Affects "search-with-filter", any
entry can potentially use a parameter, introduced with "param=".

Optimize the case where we have to copy the message to an address that
is served by the directory.  Formerly, we would have the MTA deal with
it and invoke mail500 again later.  This has necessitated loading the
list of domains that are solved by us with "domain".  A new definition,
"host", takes the role of the old "domain" that was the FQDN of our
host for routing loop avoidance.

24 years agoThe old mail500 had a method to try to translate the local address
Julio Sánchez Fernández [Thu, 6 Apr 2000 16:16:46 +0000 (16:16 +0000)]
The old mail500 had a method to try to translate the local address
part into something to check against the cn of entries.  It is
supported again thorugh the selector %s in the search.
Explicitly initialize some pointers in automatic storage.

24 years agoAdded support for doing routing at the MTA, that is the right thing
Julio Sánchez Fernández [Wed, 5 Apr 2000 19:15:33 +0000 (19:15 +0000)]
Added support for doing routing at the MTA, that is the right thing
anyway.  A new syntax is defined, "present", that indicates that
values of an attribute type are not used, only presence is
significant.  To do routing at the MTA, define both mailHost and
mailRoutingAddress with syntax "present".  Otherwise, use "host" and
"rfc822" and mail500 will try to do routing by itself, if possible.
Read the comments in the code for the ugly details.
Added a new configuration line "own-address" that describes the FQDN of
our host to compare with mailHost.  The line can be repeated.

24 years agoUsing a stale obj from Tcl_GetResultObj() to store error results
Randy Kunkee [Tue, 4 Apr 2000 09:42:44 +0000 (09:42 +0000)]
Using a stale obj from Tcl_GetResultObj() to store error results
caused incorrect data in result array and possibly segmentation
violations when searches terminated due to errors such as timeout,
exceeding search limit, or the remote server going down in the middle
of a search.  Also correctly puts error message on top of
traceback stack (instead of randomly in memory per the stale result obj).

A segmentation violation could have manifested later in the program's
life, or perhaps during termination of the interpreter.

24 years agoThe add routine in the backend already frees the entry in error, so
Julio Sánchez Fernández [Thu, 30 Mar 2000 13:14:42 +0000 (13:14 +0000)]
The add routine in the backend already frees the entry in error, so
avoid trying to free it again.

24 years agohttp://www.ietf.org/internet-drafts/draft-ietf-ldapext-acl-model-05.txt
Kurt Zeilenga [Wed, 29 Mar 2000 12:17:51 +0000 (12:17 +0000)]
http://www.ietf.org/internet-drafts/draft-ietf-ldapext-acl-model-05.txt

24 years agoWe need to inherit syntax_compat from superior. Problem manifests
Julio Sánchez Fernández [Fri, 24 Mar 2000 13:44:37 +0000 (13:44 +0000)]
We need to inherit syntax_compat from superior.  Problem manifests
itself in that cn suddenly becomes case-sensitive.

24 years agoThe approach used was not powerfull enough to deal with things like
Julio Sánchez Fernández [Thu, 23 Mar 2000 16:19:01 +0000 (16:19 +0000)]
The approach used was not powerfull enough to deal with things like
nested groups or the laser mail routing draft.  Mostly, this is
because a flag saying the attribute type is 'final' is not flexible
enough.  The old 'final' flag is gone and replaced by a priority
level.

Change 'forward' to 'route' to be consistent with the laser wording.

Add new 'domain' spec in the configuration file to describe what are
the local domains so that we do not loop when doing the laser thing.

We were escaping asterisks in filters.  This seems incorrect.  Removed.

24 years agoMove presence index change outside of values for loop.
Kurt Zeilenga [Mon, 20 Mar 2000 23:38:38 +0000 (23:38 +0000)]
Move presence index change outside of values for loop.

24 years agoITS#441: unhex escape referrals. Needs review before being
Kurt Zeilenga [Mon, 20 Mar 2000 22:00:16 +0000 (22:00 +0000)]
ITS#441: unhex escape referrals.  Needs review before being
applied to RE 1.2.

24 years agowrap sql *.c files with #ifdef SLAPD_SQL to facilate NT builds
Kurt Zeilenga [Sun, 19 Mar 2000 06:18:27 +0000 (06:18 +0000)]
wrap sql *.c files with #ifdef SLAPD_SQL to facilate NT builds
without -DSLAPD_SQL

24 years agoReturn okay after setting LDAP_OPT_X_TLS_CERT (ITS#447)
Kurt Zeilenga [Sat, 18 Mar 2000 23:55:51 +0000 (23:55 +0000)]
Return okay after setting LDAP_OPT_X_TLS_CERT (ITS#447)

24 years agofix up comment
Kurt Zeilenga [Fri, 17 Mar 2000 22:57:49 +0000 (22:57 +0000)]
fix up comment

24 years agoChage DEFAULT_DB_PAGE_SIZE to 4096 and allow external define to
Kurt Zeilenga [Fri, 17 Mar 2000 20:28:36 +0000 (20:28 +0000)]
Chage DEFAULT_DB_PAGE_SIZE to 4096 and allow external define to
override ldbm.h setting.

24 years agoDepend HAVE_NT_THREADS on _WINNT
Kurt Zeilenga [Fri, 17 Mar 2000 19:35:20 +0000 (19:35 +0000)]
Depend HAVE_NT_THREADS on _WINNT

24 years agoNeed SOFTADD fix for previous fix
Kurt Zeilenga [Fri, 17 Mar 2000 18:31:40 +0000 (18:31 +0000)]
Need SOFTADD fix for previous fix

24 years agoFix multivalued indices. Need to add indices of remaining
Kurt Zeilenga [Fri, 17 Mar 2000 18:22:16 +0000 (18:22 +0000)]
Fix multivalued indices.  Need to add indices of remaining
values after delete of any value.

24 years agoRegen.
Kurt Zeilenga [Fri, 17 Mar 2000 02:10:14 +0000 (02:10 +0000)]
Regen.

24 years agoFix usage in comment
Kurt Zeilenga [Fri, 17 Mar 2000 02:07:59 +0000 (02:07 +0000)]
Fix usage in comment

24 years agos/userPassword/password/ (variable name)
Kurt Zeilenga [Fri, 17 Mar 2000 02:06:50 +0000 (02:06 +0000)]
s/userPassword/password/ (variable name)

24 years agoDon't add subentries of the RootDSE to namingContexts
Kurt Zeilenga [Fri, 17 Mar 2000 02:06:10 +0000 (02:06 +0000)]
Don't add subentries of the RootDSE to namingContexts

24 years agoMUST -> MAY ( cn )
Kurt Zeilenga [Fri, 17 Mar 2000 02:05:21 +0000 (02:05 +0000)]
MUST -> MAY ( cn )

24 years agoRemove discrete right macro (not used)
Kurt Zeilenga [Fri, 17 Mar 2000 01:48:44 +0000 (01:48 +0000)]
Remove discrete right macro (not used)

24 years agoMissing entry causes slapd to segfault (ITS#482)
Kurt Zeilenga [Fri, 17 Mar 2000 01:47:40 +0000 (01:47 +0000)]
Missing entry causes slapd to segfault  (ITS#482)
Fix provided by pturgyan@umich.edu