0 Votes

Changes for page KerberosAndLDAP

Last modified by Sirius Rayner-Karlsson on 2024/05/09 10:54

From version 23.1
edited by Sirius Rayner-Karlsson
on 2024/05/06 02:53
Change comment: There is no comment for this version
To version 24.1
edited by Sirius Rayner-Karlsson
on 2024/05/06 02:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,16 +2,18 @@
2 2  
3 3  = Debian =
4 4  
5 +The guide I followed was https://wiki.debian.org/LDAP/OpenLDAPSetup#Kerberos which while it worked required some minor tweaks. I obtained edit privileges for the Debian Wiki and updated the guide with the fixes that I found. I however have a Synology NAS and that can run an LDAP Server. So this guide differs a little from the upstream Debian Guide.
5 5  
6 -The guide I followed was https://wiki.debian.org/LDAP/OpenLDAPSetup#Kerberos[[https://wiki.debian.org/LDAP/OpenLDAPSetup#Kerberos]] which while it worked required some minor tweaks. I obtained edit privileges for the Debian Wiki and updated the guide with the fixes that I found. I however have a Synology NAS and that can run an LDAP Server. So this guide differs a little from the upstream Debian Guide.
7 -
8 8  I will assume that you have installed the LDAP Server package on your NAS and gone through initial configuration steps, so it has a domain, there is a DN you can bind as and so forth. The Synology NAS can be leveraged for a multitude of things, and running DNS, DHCP, WebServices and Containers are but a few. I will also assume you have a Debian system (12.5 or later, though this guide should work with 11.x and likely 10.x as well) that will become your KDC and KAdmin server.
9 9  
10 10  I also recommend that you create actual ~#~#.ldif~#~# files rather than use here-documents as used in this guide. It is far easier to make adjustments to things if you have a file to edit rather than having to type it all out again or paste it and then have to try and make edits to it without making mistakes. The guide is for illustration and expectation is that you do not follow it verbatim but adapt it to your needs.
11 11  
12 12  
13 -===== Install the packages containing the LDAP-enabled Kerberos servers ([[krb5-kdc-ldap>>url:https://packages.debian.org/krb5-kdc-ldap]] and [[krb5-admin-server>>url:https://packages.debian.org/krb5-admin-server]]) and the [[schema2ldif>>url:https://packages.debian.org/schema2ldif]] tool on your Debian host: =====
12 +===== Install the packages containing the LDAP-enabled Kerberos servers: =====
14 14  
14 +(% class="wikigeneratedid" %)
15 +The packages you need are [[krb5-kdc-ldap>>url:https://packages.debian.org/krb5-kdc-ldap]], [[krb5-admin-server>>url:https://packages.debian.org/krb5-admin-server]] and [[schema2ldif>>url:https://packages.debian.org/schema2ldif]] .
16 +
15 15  (% style="color:#400" %)
16 16  ##{{{$ sudo apt install krb5-kdc-ldap krb5-admin-server schema2ldif}}}##
17 17