smbk5pwd failed to compile due to a lacking kadm5/admin.h include file. MIT-KRB5 does not install <include>/kadm5/admin.h file (actually there is no kadm5). Is Heimdal depency the solver? If smb deals with samba there is an issue because here are my openldap use flags: berkdb crypt gdbm kerberos perl readline ssl -debug -ipv6 -minimal -odbc -overlays -samba -sasl -slp -tcpd As you can see samba use flag is disabled.
*** This bug has been marked as a duplicate of 135238 ***