[Samba] ktpass.sh error / How to generate a keytab for a new service (apache) with SAMBA4?

Marc Muehlfeld samba at marc-muehlfeld.de
Mon Apr 29 14:40:29 MDT 2013

Hello Tim,

Am 29.04.2013 18:52, schrieb Tim Vangehugten:
> I was trying to get a new keytab in samba4 for my apache service. So I
> tried the following command:
> sh ktpass.sh --out /etc/apache.keytab --princ
> HTTP/myhost.samba.my.domain at SAMBA.MY.DOMAIN --pass VerySecure123 --enc
> des-cbc-md5
> I get the following error: Unable to find kvno for principal
> HTTP/myhost.samba.my.domain at SAMBA.MY.DOMAIN
> Am I doing something wron or shouldn't I be using ktpass.sh?

Maybe you find here something helpfull:


More information about the samba mailing list