ldapweb: bump image and config

Change-Id: I5dd24c3dca84f191c45d453f31812f2091d3036c
Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1622
Reviewed-by: q3k <q3k@hackerspace.pl>
diff --git a/hswaw/kube/ldapweb.libsonnet b/hswaw/kube/ldapweb.libsonnet
index 5e56e34..2cc9432 100644
--- a/hswaw/kube/ldapweb.libsonnet
+++ b/hswaw/kube/ldapweb.libsonnet
@@ -4,7 +4,7 @@
 {
     cfg:: {
         # Manually built from code.hackerspace.pl/informatic/ldap-web-public.
-        image: "registry.k0.hswaw.net/informatic/ldap-web:1633769899",
+        image: "registry.k0.hswaw.net/radex/ldap-web:1695415920",
         webFQDN: error "webFQDN must be set!",
     },
 
@@ -35,7 +35,6 @@
             metadata+: ldapweb.metadata,
             data: {
                 "config.py": |||
-                    # -*- coding: utf-8 -*-
                     import flask_wtf
                     import wtforms
                     import secrets
@@ -43,8 +42,18 @@
                     secret_key = secrets.token_hex(32)
 
                     ldap_url = 'ldap://ldap.hackerspace.pl'
-                    dn_format = "uid=%s,ou=people,dc=hackerspace,dc=pl" 
-                    
+                    dn_format = "uid=%s,ou=people,dc=hackerspace,dc=pl"
+
+                    ldapweb_admin_group = 'cn=zarzad,ou=Group,dc=hackerspace,dc=pl'
+
+                    ldap_base = 'dc=hackerspace,dc=pl'
+                    ldap_people = 'ou=People,dc=hackerspace,dc=pl'
+                    admin_groups = {
+                        'Fatty': 'cn=fatty,ou=Group,dc=hackerspace,dc=pl',
+                        'Starving': 'cn=starving,ou=Group,dc=hackerspace,dc=pl',
+                        'Potato': 'cn=potato,ou=Group,dc=hackerspace,dc=pl',
+                    }
+
                     admin_dn = 'cn=ldapweb,ou=Services,dc=hackerspace,dc=pl'
                     admin_pw = 'unused'
                     
@@ -59,6 +68,7 @@
                         'telephonenumber': 'Phone Number',
                         'mobiletelephonenumber': 'Mobile Number',
                         'sshpublickey': 'SSH Public Key',
+                        'mifareidhash': 'MIFARE ID Hash',
                     }
                     
                     full_name = {
@@ -73,8 +83,9 @@
                         'telephonenumber',
                         'mobiletelephonenumber',
                         'sshpublickey',
+                        'mifareidhash',
                     ])
-                    can_delete = can_add 
+                    can_delete = can_add
                     can_modify = can_add | set([
                         'givenname', 'surname', 'commonname', 'gecos',
                     ])