#
c1e33626 |
| 12-Oct-2022 |
jsg <jsg@openbsd.org> |
avoid use after free in error paths ok miod@ martijn@
|
#
696b5899 |
| 24-Oct-2019 |
tb <tb@openbsd.org> |
The ber_* namespace is used by liblber since time immemorial, so move our BER API to the unused ober_* prefix to avoid some breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba,
The ber_* namespace is used by liblber since time immemorial, so move our BER API to the unused ober_* prefix to avoid some breakage in ports.
Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen.
tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
show more ...
|
#
915c3f33 |
| 13-Feb-2019 |
deraadt <deraadt@openbsd.org> |
(unsigned) means (unsigned int) which on ptrdiff_t or size_t or other larger types really is a range reduction... Almost any cast to (unsigned) is a bug. ok millert tb benno
|
#
fdd30f56 |
| 20-Jan-2017 |
benno <benno@openbsd.org> |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily.
ok krw@ jmatthew@
|
#
7576e124 |
| 16-Nov-2014 |
bluhm <bluhm@openbsd.org> |
Convert the logic in the error function of the ldap schema parser. Instead of creating a temporary format string, create a temporary message. OK doug@
|
#
033e44ab |
| 12-Nov-2012 |
gsoares <gsoares@openbsd.org> |
fix a potential memory leak; OK martinh@ sthen@
|
#
6c195454 |
| 04-Nov-2010 |
martinh <martinh@openbsd.org> |
Publish matching rules in the cn=schema subentry as the matchingRules attribute. This is an operational attribute and only returned if explicitly asked for. Required by RFC 4517.
|
#
d6378167 |
| 03-Nov-2010 |
martinh <martinh@openbsd.org> |
Validate matching rules against attribute syntaxes. All matching rules from RFC 4517 are recognized, except the optional wordMatch and keywordMatch.
Requires a current core.schema file.
|
#
ef9fbfc9 |
| 21-Sep-2010 |
martinh <martinh@openbsd.org> |
Warn if schema file can't be opened.
|
#
78a17c8c |
| 03-Sep-2010 |
martinh <martinh@openbsd.org> |
Resolve matching rules from superior attribute types at schema load time instead of when each attribute is validated.
|
#
7c686fcd |
| 03-Sep-2010 |
martinh <martinh@openbsd.org> |
Implement attribute syntaxes from RFC4517. This adds validation to the most common attribute types. Specialized attribute types like Delivery Method or Teletex Terminal Identifier are recognized for
Implement attribute syntaxes from RFC4517. This adds validation to the most common attribute types. Specialized attribute types like Delivery Method or Teletex Terminal Identifier are recognized for completeness, but not validated.
show more ...
|
#
d6f9690c |
| 01-Sep-2010 |
martinh <martinh@openbsd.org> |
Add missing leading string quote character in attribute type description. Caused syntax errors when parsing schema from the subschema.
|
#
b27b53f1 |
| 02-Jul-2010 |
martinh <martinh@openbsd.org> |
Dump parsed schema to buffer and send in requests for the cn=schema subschema namespace. Only do this if 'objectClasses' and 'attributeTypes' are expicitly requested. This allows clients to for examp
Dump parsed schema to buffer and send in requests for the cn=schema subschema namespace. Only do this if 'objectClasses' and 'attributeTypes' are expicitly requested. This allows clients to for example present custom editing forms.
show more ...
|
#
964ebf41 |
| 02-Jul-2010 |
martinh <martinh@openbsd.org> |
Fix memory leaks in schema parser.
|
#
19467dd7 |
| 01-Jul-2010 |
martinh <martinh@openbsd.org> |
Parse (and ignore) schema extensions with an X- prefix. Bail on unknown keywords.
|
#
fc0162c4 |
| 01-Jul-2010 |
martinh <martinh@openbsd.org> |
Give a more descriptive error message when an object class definition references non-existent attribute types.
from william@
|
#
b59d2504 |
| 01-Jul-2010 |
martinh <martinh@openbsd.org> |
Fix two possible null pointer assignments in the error path. found by clang static analyzer
|
#
322d08dd |
| 30-Jun-2010 |
martinh <martinh@openbsd.org> |
remove trailing spaces
|
#
4e302eb7 |
| 30-Jun-2010 |
martinh <martinh@openbsd.org> |
Verify that any object class subclassing is allowed.
|
#
a2a43363 |
| 29-Jun-2010 |
martinh <martinh@openbsd.org> |
Rewrite the schema parser, as it's not a context-free grammar. This also brings the config parser more in line with other parse.y in the tree. The new schema parser also supports symbolic OID names.
Rewrite the schema parser, as it's not a context-free grammar. This also brings the config parser more in line with other parse.y in the tree. The new schema parser also supports symbolic OID names.
You need to update your /etc/ldapd.conf. Schema files are no longer included with the 'include' keyword, you have to use 'schema' for that.
Moves schema-related structures to a separate include file to ease reuse.
show more ...
|