Howard Chu
6226684204
Eliminate an unnecessary malloc/free
2002-08-07 00:47:57 +00:00
Kurt Zeilenga
f1047b704e
ITS#2010: use snprintf instead of strcpy to prevent buffer overflow
2002-08-06 19:31:00 +00:00
Kurt Zeilenga
3f2faa1a84
other->invalid
2002-08-06 05:38:49 +00:00
Kurt Zeilenga
a35d5b90fc
For IA5, printable, telephone:
...
Don't allow empty string values.
Treat string values with only spaces as one space.
DirectoryString needs more work (space handling needs
to be done post normalization).
2002-08-06 05:35:59 +00:00
Kurt Zeilenga
6fdcdeb816
Add a summary to strings comment
2002-08-06 04:25:54 +00:00
Kurt Zeilenga
48f72b6862
Update string commment with examples.
2002-08-06 04:03:13 +00:00
Kurt Zeilenga
82540c5cc1
Add start of discussion of strings in LDAP/X.500 and OpenLDAP.
2002-08-06 03:52:02 +00:00
Kurt Zeilenga
3b3232f21c
Fix nameAndOptionalUUID normalization,
...
now uses bitStringNormalize().
2002-08-06 03:18:02 +00:00
Kurt Zeilenga
3fbfd3064a
Remove lint
2002-08-06 03:08:12 +00:00
Howard Chu
e14f471a27
Add #include "lutil.h" for lutil_str* functions
2002-08-06 02:36:34 +00:00
Howard Chu
1c69a2ab2b
ITS#1998 ber_mem2bv should accept 0-length calls, just like ber_strdup.
2002-08-06 02:35:51 +00:00
Howard Chu
61731500d0
ITS#1998 UTF8StringNormalize should accept all-space vals
2002-08-06 02:35:24 +00:00
Kurt Zeilenga
428c15d883
Misc clean up of last commit.
...
Still need to fix my devbox so I can test this....
2002-08-05 23:40:08 +00:00
Kurt Zeilenga
119462adfa
Rework saslRegex code (not yet tested)
2002-08-05 23:16:28 +00:00
Kurt Zeilenga
aab1f5b0a4
Minor updates
2002-08-05 20:05:25 +00:00
Kurt Zeilenga
9c9bd4d5ab
Set O_EXCL
2002-08-05 19:49:27 +00:00
Kurt Zeilenga
5972fb95f4
Fix LDIF LF / CRLF handling.
...
Patch suggested by Matthew Backes <lucca@csun.edu>
2002-08-05 19:48:50 +00:00
Kurt Zeilenga
64791571aa
Prevent overflow in .rej creation (ITS#2007)
2002-08-05 19:44:24 +00:00
Kurt Zeilenga
c673b651e8
Set O_EXCL (ITS#2009)
2002-08-05 19:43:01 +00:00
Kurt Zeilenga
d38d19edc1
Fix lutil_str*() warnings
2002-08-05 17:56:13 +00:00
Kurt Zeilenga
f6a15a1bfb
Forced commit:
...
The log entries for the previous two commits were swapped by mistake.
2002-08-05 17:54:35 +00:00
Kurt Zeilenga
526d010635
Patch: add OpenLDAPaci #public# access (ITS#2005)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
I couldn't find a way for an OpenLDAPaci to grant public access to an
entry, so I added a dnType #public# for that. It is in the position
of subjectDn in the draft, which seems kind of stupid, so I put it
in the position of dnType instead.
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
2002-08-05 17:53:39 +00:00
Kurt Zeilenga
f8c0481dd4
Patch: ACL #access-id#<invalid-DN> granted access to everyone (ITS#2006)
...
================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================
There is a bug in OpenLDAPaci's "access-id": If the specified DN is
invalid so dnNormalize2() fails, everyone gets access.
This means that e.g. "#access-id#[all]" gives public access, so it
might be considered a feature, but I fixed it anyway:-) I guess that
means the change should be documented in the release notes, though.
See also ITS#2005 (add OpenLDAPaci #public# access).
Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, Aug 2002.
2002-08-05 17:52:16 +00:00
Howard Chu
dcba22cc05
ITS#1956, bvalp declaration
2002-08-03 09:15:17 +00:00
Howard Chu
771f70eb0f
Fix ITS#1994, Windows heap consistency
2002-08-03 02:57:52 +00:00
Pierangelo Masarati
40f3da36b0
need <lutil.h> for lutil_gentime
2002-08-02 10:24:03 +00:00
Pierangelo Masarati
540dbbe1ed
fix previous commit
2002-08-02 10:00:44 +00:00
Kurt Zeilenga
884b476c32
Add note regarding user/system checks and operational attributes.
2002-08-02 00:55:50 +00:00
Howard Chu
91aff0b3e2
Revert previous commit. Fix needs more design.
2002-08-01 07:09:11 +00:00
Howard Chu
d9eac72099
ITS#1995 return error text when ldap_pvt_tls_check_hostname fails
2002-08-01 03:23:29 +00:00
Howard Chu
478283ea47
ITS#910, ITS#1983 retry partial writes in ber_pvt_sb_do_write
...
blind fix, needs testing
2002-08-01 03:03:52 +00:00
Kurt Zeilenga
d22612e8db
ITS#1951: saslRegexp limits syntax of regular expressions
...
Don't normalize regex.
Also, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
2002-08-01 01:10:55 +00:00
Howard Chu
d01375b200
Fix bdb_idl_union of range and list (related to ITS#1969
2002-07-31 23:43:56 +00:00
Kurt Zeilenga
838643d5ad
operationsError != Internal Error
...
hence, s/LDAP_OPERATIONS_ERROR/LDAP_OTHER/
2002-07-31 22:49:02 +00:00
Kurt Zeilenga
478a7103c0
Add member filter components to groupOfName assertions
2002-07-30 04:14:58 +00:00
Kurt Zeilenga
182dcf27e2
clean up curly matching
2002-07-28 07:37:46 +00:00
Kurt Zeilenga
eb581e43e7
Fix for:
...
SASL regex segmentation faults with group based acls (ITS#1978)
based, in part, by patch submitted by Simon Wilkinson <simon@sxw.org.uk>.
2002-07-28 07:27:55 +00:00
Kurt Zeilenga
dc4413349e
Fix up restart code for EINTR
2002-07-28 05:30:39 +00:00
Kurt Zeilenga
c054d8458a
Fix pkiUser
2002-07-27 10:25:42 +00:00
Kurt Zeilenga
e53214b26f
ITS#1965: use snprintf
2002-07-27 07:39:50 +00:00
Kurt Zeilenga
1677f178ce
ITS#1985 fix: blind commit
2002-07-27 07:37:04 +00:00
Kurt Zeilenga
2f9b89b4af
Improve schema error messages
2002-07-27 06:08:51 +00:00
Howard Chu
f2af8dfdd7
If HAVE_EBCDIC, translate dbname from ASCII to EBCDIC in ldbm_open.
2002-07-27 04:43:48 +00:00
Howard Chu
b934eeb948
test progs need -llutil
2002-07-27 03:34:23 +00:00
Howard Chu
db8aec69e2
test programs need -llutil
2002-07-27 03:20:47 +00:00
Howard Chu
0fcec3a01c
test programs need -llutil
2002-07-27 03:06:15 +00:00
Howard Chu
3b141ba108
Fix segfault from ITS#1960 hacks
2002-07-27 02:19:44 +00:00
Howard Chu
b6620f3d25
Use lutil_gentime
2002-07-27 02:10:43 +00:00
Howard Chu
d4df52a659
Silence struct tm warnings
2002-07-27 02:10:02 +00:00
Howard Chu
5ed1677d13
Detect EBCDIC for SP2NL/NL2SP translation
2002-07-27 00:56:33 +00:00