diff --git a/server/openldap/actions.py b/server/openldap/actions.py
index ed0df63a30..b68f5e7834 100644
--- a/server/openldap/actions.py
+++ b/server/openldap/actions.py
@@ -63,7 +63,7 @@ def setup():
--localstatedir=/var/lib"
if get.buildTYPE() == "emul32":
- options += " --prefix=/emul32 \
+ options = " --prefix=/emul32 \
--libdir=/usr/lib32 \
--libexecdir=/emul32/libexec \
--disable-bdb \
diff --git a/server/openldap/pspec.xml b/server/openldap/pspec.xml
index e5998232bb..b7700171ec 100644
--- a/server/openldap/pspec.xml
+++ b/server/openldap/pspec.xml
@@ -50,7 +50,8 @@
Command-line ldap client commands (ldapsearch, ldapadd etc..)
nss
-
+ nspr
+ cyrus-sasl
/etc/openldap/ldap.conf*
@@ -68,6 +69,10 @@
OpenLDAP server slapd and releated tools
OpenLDAP server slapd, additional backends, configuration files, schema definitions required for operation, and database maintenance tools
+ db
+ perl
+ tcp-wrappers
+ libtool-ltdl
nss
cyrus-sasl
openldap-client
@@ -103,9 +108,11 @@
emul32
openssl-32bit
+ glibc-32bit
libtool-ltdl-32bit
+ glibc-32bit
openssl-32bit
openldap-client