Commit Graph

3155 Commits

Author SHA1 Message Date
Kurt Zeilenga
54f1ebafff Add description of global command line arguments.... 2000-04-25 10:34:19 +00:00
Kurt Zeilenga
ae2ab4a1c2 Update as needed. 2000-04-25 10:33:34 +00:00
Kurt Zeilenga
140a155f3e Add comment regarding staleness of I-D committed in this repo. 2000-04-25 10:32:39 +00:00
Kurt Zeilenga
fe8be04237 Fix typos in version checking 2000-04-25 10:30:42 +00:00
Ben Collins
32bdecbb5f 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 2000-04-24 17:03:45 +00:00
Ben Collins
a44adcfb43 filecheck(), we should strcpy the file passed (f arg) and not always slapd_replogfile, else this function is of little real use 2000-04-24 16:47:41 +00:00
Ben Collins
4319e67736 use strcpy instead of sprintf when all we have is two args (source and dest) 2000-04-24 16:44:16 +00:00
Ben Collins
50a41f3ee2 when opening files in /tmp use O_CREAT|O_EXCL to overcome race conditions 2000-04-24 16:42:16 +00:00
Ben Collins
97493c3404 with the -t option (writing to /tmp) open files with O_CREAT|O_EXCL to overcome race conditions 2000-04-24 16:41:36 +00:00
Kurt Zeilenga
4ecf780e48 StartTLS requires LDAPv3
Set version to required protocol.
2000-04-20 14:15:39 +00:00
Kurt Zeilenga
c02d7e2cb6 ITS#503: Extend ldap tools to support SASL/TLS
Submitted by Gabor Gombas <gombasg@inf.elte.hu>
2000-04-20 09:23:51 +00:00
Kurt Zeilenga
28d7d099be LDAP_OPERATIONS -> LDAP_OTHER 2000-04-19 13:42:08 +00:00
Kurt Zeilenga
16dc181de4 Add RCSid 2000-04-19 13:37:52 +00:00
Kurt Zeilenga
6a4ff3b996 Fix == v != bug 2000-04-19 13:35:43 +00:00
Kurt Zeilenga
01de012e1c Fix realloc bug and remove use of LDAP_MOD_BVALUES 2000-04-19 08:43:37 +00:00
Kurt Zeilenga
51993c8e79 objectclass=* -> (objectclass=*) 2000-04-12 08:38:01 +00:00
Kurt Zeilenga
250a816549 objectclass=* -> NULL 2000-04-12 08:37:11 +00:00
Kurt Zeilenga
816ace24cf objectclass=* -> NULL 2000-04-12 08:31:32 +00:00
Kurt Zeilenga
2d4fb1e6e1 Fix c_mutex unlock bug 2000-04-12 01:40:06 +00:00
Kurt Zeilenga
065af58fb7 Fix debug messages 2000-04-12 01:39:52 +00:00
Kurt Zeilenga
4854c6173b Fix debug message 2000-04-12 01:35:53 +00:00
Kurt Zeilenga
393ff0ad71 Add .ldaprc to SYSNOPSIS 2000-04-12 01:23:43 +00:00
Kurt Zeilenga
2f0ec52df9 Fix improperly terminated comment 2000-04-12 01:10:50 +00:00
Kurt Zeilenga
360c56a78a fix uninitialized ndn bug 2000-04-12 01:09:36 +00:00
Kurt Zeilenga
21431725fc fix = vs == bug 2000-04-12 01:06:58 +00:00
Kurt Zeilenga
72c0de5d95 #define LDAP_LDIF to default to LDIF input
Fix ldaphost == NULL bug
2000-04-12 01:03:51 +00:00
Kurt Zeilenga
6b4aac2678 #define LDAP_LDIF to default to LDIF output 2000-04-12 01:02:58 +00:00
Kurt Zeilenga
870dbca576 objectclass=* -> NULL 2000-04-12 01:00:48 +00:00
Kurt Zeilenga
0bad880b0b Add TLS/SASL flags 2000-04-12 00:03:07 +00:00
Julio Sánchez Fernández
0dbd442090 Checking uninitialized variables.
Add addresses optimization to rfc822-ext too.
2000-04-10 12:11:20 +00:00
Julio Sánchez Fernández
36a4ed4f59 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.
2000-04-07 15:00:22 +00:00
Julio Sánchez Fernández
8d6808862f 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.
2000-04-06 16:16:46 +00:00
Julio Sánchez Fernández
4cf241aa69 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.
2000-04-05 19:15:33 +00:00
Randy Kunkee
f67aea1321 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.
2000-04-04 09:42:44 +00:00
Julio Sánchez Fernández
976ac15785 The add routine in the backend already frees the entry in error, so
avoid trying to free it again.
2000-03-30 13:14:42 +00:00
Kurt Zeilenga
79f075b22c http://www.ietf.org/internet-drafts/draft-ietf-ldapext-acl-model-05.txt 2000-03-29 12:17:51 +00:00
Julio Sánchez Fernández
7a7855508c We need to inherit syntax_compat from superior. Problem manifests
itself in that cn suddenly becomes case-sensitive.
2000-03-24 13:44:37 +00:00
Julio Sánchez Fernández
88e1ffcde1 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.
2000-03-23 16:19:01 +00:00
Kurt Zeilenga
ebfb0b8261 Move presence index change outside of values for loop. 2000-03-20 23:38:38 +00:00
Kurt Zeilenga
4035b05232 ITS#441: unhex escape referrals. Needs review before being
applied to RE 1.2.
2000-03-20 22:00:16 +00:00
Kurt Zeilenga
94d3673dbe wrap sql *.c files with #ifdef SLAPD_SQL to facilate NT builds
without -DSLAPD_SQL
2000-03-19 06:18:27 +00:00
Kurt Zeilenga
1a348f9fbe Return okay after setting LDAP_OPT_X_TLS_CERT (ITS#447) 2000-03-18 23:55:51 +00:00
Kurt Zeilenga
abbd5ec2fa fix up comment 2000-03-17 22:57:49 +00:00
Kurt Zeilenga
177279176c Chage DEFAULT_DB_PAGE_SIZE to 4096 and allow external define to
override ldbm.h setting.
2000-03-17 20:28:36 +00:00
Kurt Zeilenga
d14c7ad7c2 Depend HAVE_NT_THREADS on _WINNT 2000-03-17 19:35:20 +00:00
Kurt Zeilenga
3e5c381d3a Need SOFTADD fix for previous fix 2000-03-17 18:31:40 +00:00
Kurt Zeilenga
d1803fce0a Fix multivalued indices. Need to add indices of remaining
values after delete of any value.
2000-03-17 18:22:16 +00:00
Kurt Zeilenga
404ca4a985 Regen. 2000-03-17 02:10:14 +00:00
Kurt Zeilenga
4c0be829e1 Fix usage in comment 2000-03-17 02:07:59 +00:00
Kurt Zeilenga
28c6217a12 s/userPassword/password/ (variable name) 2000-03-17 02:06:50 +00:00