summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldapd/validate.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The ber_* namespace is used by liblber since time immemorial,tb2019-10-241-4/+4
| | | | | | | | | | | | 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
* Fix format string errors in log messages and update ldapd to use relayd's log.creyk2018-05-151-2/+2
| | | | OK benno@ jmatthew@
* work on making log.c similar in all daemons:benno2017-01-201-1/+2
| | | | | | | 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@
* Resolve matching rules from superior attribute types at schema load timemartinh2010-09-031-12/+2
| | | | instead of when each attribute is validated.
* Implement attribute syntaxes from RFC4517. This adds validation to the mostmartinh2010-09-031-2/+11
| | | | | | common attribute types. Specialized attribute types like Delivery Method or Teletex Terminal Identifier are recognized for completeness, but not validated.
* Free the list of object classes allocated after validating an entry.martinh2010-07-011-19/+45
|
* remove trailing spacesmartinh2010-06-301-2/+2
|
* Validate that an entry can't belong to an abstract object class directly,martinh2010-06-301-3/+32
| | | | | unless it also belongs to a subclassed object class (structural or auxiliary).
* Move OBJ_NAME and ATTR_NAME macros to schema.h so it's reachable frommartinh2010-06-301-7/+3
| | | | schema parser. Also fix a typo.
* Validate that all attributes are allowed by any of its object classes.martinh2010-06-301-28/+119
| | | | | | Properly expand the object class hierarchy before doing this. Also verify that there is only one structural object class. Finally add support for the extensibleObject auxiliary object class.
* Rewrite the schema parser, as it's not a context-free grammar.martinh2010-06-291-4/+4
| | | | | | | | | | 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.
* Initial import of ldapd, a small LDAP daemon. Work in progress.martinh2010-05-311-0/+282
ok deraadt@ jacekm@ gilles@ back@ henning@ blambert@