[Date Prev][Date Next] [Chronological] [Thread] [Top]

chroot and nonroot user

is it possible to run slapd chrooted and as a nonroot user at the same time?

I can run slapd as a nonroot user: 
slapd -u ldap -h "ldap://";
or I can run slapd chrooted:
slapd -r /home/ldap/openldap -f /etc/openldap/slapd_chroot.conf

But if I want to combine both options slapd doesn't exits and I get the error 
No passwd entry for user ldap

I copied /etc/passwd and /etc/group to /home/ldap/openldap/etc but I still 
get the same error message.
Does someone know a solution for this problem?