I set up openldap with the smbkrb5passwd use flag because I want to realize a Samba + LDAP PDC wich should server the LDAP users for linux clients too. The smbk5pwd overlay should update the Samba NTpassword hash if a linux client uses a simple passwd. The problem now is that after emerging openldap with this useflag (and enabling it in the slapd.conf) LDAP won't start any more until I would configure kerberos (wich I do not want to use). I had to edit the ebuild myself and remove the hardcoded kerberos support of smbk5pwd. I now just use this settings: mydef="-DDO_SAMBA" It would be great if this line is put together trough openldaps main use flags kerberos and samba. Reproducible: Always Steps to Reproduce: 1. emerge openldap with smbkrb5passwd 2. set everything up without kerberos 3. start ldap Actual Results: LDAP won't start any more. Expected Results: LDAP should start because openldap has USE="-kerberos"
You do NOT need USE=smbkrb5passwd for changing passwords like that. You only need USE=samba.