diff --git a/srcpkgs/libldap/template b/srcpkgs/libldap/template
index f47f215d11..17c124653e 100644
--- a/srcpkgs/libldap/template
+++ b/srcpkgs/libldap/template
@@ -1,6 +1,6 @@
 # Template file for 'libldap'
 pkgname=libldap
-version=2.4.30
+version=2.4.31
 wrksrc="openldap-${version}"
 homepage="http://www.openldap.org"
 distfiles="ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/openldap-$version.tgz"
@@ -11,7 +11,7 @@ configure_args="--enable-dynamic --enable-proctitle --with-tls
 short_desc="OpenLDAP libraries"
 license="OpenLDAP License v2.8 -- BSD alike"
 maintainer="Juan RP <xtraeme@gmail.com>"
-checksum=fc013e528616f8578d9f221409c48af9b8937a62005e0bec88f6f1c4c8ff3d81
+checksum=bde845840df4794b869a6efd6a6b1086f80989038e4844b2e4d7d6b57b39c5b6
 long_desc="
  These are the run-time libraries for the OpenLDAP (Lightweight Directory
  Access Protocol) servers and clients."