Allow LDAP modifications for entry creation
commitd6979fcc40e00fd6ddd393c724cd728349b86de8
authorFrancisco Blas (klondike) Izquierdo Riera <klondike@klondike.es>
Tue, 16 Dec 2014 06:12:26 +0000 (16 07:12 +0100)
committerNico Williams <nico@cryptonector.com>
Mon, 25 Sep 2017 23:24:23 +0000 (25 18:24 -0500)
tree1d52028b89657c578cb471fe6d099637aba93bbf
parentf4bb4df4a66ca6e056db9426000f8369844d241a
Allow LDAP modifications for entry creation

Heimdal will refuse to create new entries when an entry already exists even
if said entry has no kerberos info and is a new entry.

This patch fixes this issue by allowing object modifications even if the
flags disallow them when we are inserting a new principal on the database.

Signed-off-by: Francisco Blas Izquierdo Riera (klondike) <klondike@gentoo.org>
lib/hdb/hdb-ldap.c