diff --git a/server/database/postgresql/actions.py b/server/database/postgresql/actions.py
index e76141a115..437615bb7b 100644
--- a/server/database/postgresql/actions.py
+++ b/server/database/postgresql/actions.py
@@ -21,7 +21,7 @@ def setup():
--with-pam \
--with-libxml \
--with-libxslt \
- --without-ldap \
+ --with-ldap \
--enable-integer-datetimes \
--enable-thread-safety \
--enable-depend \
diff --git a/server/database/postgresql/pspec.xml b/server/database/postgresql/pspec.xml
index 8ece19e861..c4532f251b 100644
--- a/server/database/postgresql/pspec.xml
+++ b/server/database/postgresql/pspec.xml
@@ -24,6 +24,7 @@
tcl-devel
libxslt-devel
libxml2-devel
+ openldap-server
@@ -36,7 +37,11 @@
Essential shared libraries for any PostgreSQL client program or interface
mit-kerberos
- tcl
+ python
+ zlib
+ libxml2
+ openssl
+ e2fsprogs
libxslt
openldap-client
@@ -66,6 +71,12 @@
service
postgresql-lib
+ pam
+ zlib
+ libxml2
+ openssl
+ readline
+ e2fsprogs
mit-kerberos
openldap-client
@@ -91,6 +102,7 @@
postgresql-lib
tcl
+ perl
/usr/bin/pltcl_listmod