Browse Source

ldap: add some indices

main
Dustin Frisch 23 hours ago
parent
commit
714fffcb56
No known key found for this signature in database GPG Key ID: B4C3BF012D9B26BE
  1. 8
      flake.lock
  2. 6
      machines/ldap/ldap.nix

8
flake.lock

@ -203,11 +203,11 @@
"ldap-sync": {
"flake": false,
"locked": {
"lastModified": 1731935440,
"narHash": "sha256-hMVN9As58cqqiu9JQaS4ffmzhG4xV01QhNKsTP5BF9c=",
"lastModified": 1732122980,
"narHash": "sha256-RRwJR4JFMH7jXjtBE1QqO8Tcd6j9j2Zvy2M7Ff8WLfM=",
"ref": "refs/heads/main",
"rev": "4b4b76543b298f0db15644c308c3a4deaaa4dbdd",
"revCount": 17,
"rev": "20a07fe35505e5b8b0dd525ba42461fb2e82ce2a",
"revCount": 24,
"type": "git",
"url": "https://gogs.informatik.hs-fulda.de/fooker/ldap-sync.git"
},

6
machines/ldap/ldap.nix

@ -85,6 +85,12 @@ in
# Increase max DB size to fit all the users
olcDbMaxSize = "10737418240";
olcDbIndex = [
"uid,uidNumber pres,eq"
"cn,sn pres,eq,sub"
"objectClass eq"
];
olcAccess = [
# Custom access rules for userPassword attributes
''{0}to attrs=userPassword

Loading…
Cancel
Save