add missing prerequisite gnutls-bin to dev-init make target

This commit is contained in:
Arthur Lu 2025-02-11 07:09:48 +00:00
parent f54d729ad0
commit a537cb8157
2 changed files with 2 additions and 2 deletions

View File

@ -21,6 +21,7 @@ var APIVersion = "1.0.4"
func Run() {
gob.Register(LDAPClient{})
gin.SetMode(gin.ReleaseMode)
log.Printf("Starting ProxmoxAAS-LDAP version %s\n", APIVersion)
@ -40,7 +41,6 @@ func Run() {
}
log.Printf("Generated session secret key of length %d\n", n)
gin.SetMode(gin.ReleaseMode)
router := gin.Default()
store := cookie.NewStore(secretKey)
store.Options(sessions.Options{

View File

@ -2,7 +2,7 @@
prerequisites:
@echo "=================== Installing Prerequisites ==================="
apt install debconf-utils slapd ldap-utils sudo gettext
apt install debconf-utils slapd ldap-utils sudo gettext gnutls-bin
git clone https://git.tronnet.net/tronnet/open-ldap-setup
cd open-ldap-setup/; bash gencert.sh < ../gencert.conf;
rm -rf open-ldap-setup/