babim / docker-sambaad

Active Directory Domain Controller by samba4 on Alpine Linux
MIT License
17 stars 7 forks source link

Provide Kerberos Example #2

Open marc-christian-schulze opened 6 years ago

marc-christian-schulze commented 6 years ago

First, thanks a lot for providing this container! Bootstrapping this container for using as LDAP regsitry was quiet easy but i struggle a bit with performing Kerberos Authentication. I created a new user with samba-tool user add MySelf MySecret added the user to my realm samba-tool spn add MySelf@MYREALM.LAN MySelf exported the keytab samba-tool domain exportkeytab MySelf.keytab --principal MySelf but still I'm failing with a CLIENT_NOT_FOUND Response from the KDC server.

A working example how to use this Container for Kerberos authentication including the set-up of a new Kerberos user would be very helpful to get started.

babim commented 6 years ago

krb5.conf.zip Thank you care! I just create this container for test because I can't login windows after join AD with this container (AD server). I often use LDAP AD by Zentyal. I'm not clear understand your question. But if you fail when authen from client over kerberos. I have a my /etc/krb5.conf