Updated -lldap SASL error reporting
Updated -lldap TLS error reporting
Updated slapadd error reporting
+ Updated slapd chroot handling (ITS#810)
Added slapd numericString indexing
Build Environment
Fixed make comment bug (ITS#811)
}
#if defined(HAVE_CHROOT)
- if ( sandbox && chroot( sandbox ) ) {
- perror("chroot");
- rc = 1;
- goto stop;
+ if ( sandbox ) {
+ if ( chdir( sandbox ) ) {
+ perror("chdir");
+ rc = 1;
+ goto stop;
+ }
+ if ( chroot( sandbox ) ) {
+ perror("chroot");
+ rc = 1;
+ goto stop;
+ }
}
#endif