How to configure overlay unique in cn=config

2010-10-14 Thread Jarek
Hello! I'm trying to configure unique attribue: unique.ldiff: dn: olcOverlay=unique,olcDatabase={1}hdb,cn=config objectClass: olcOverlayConfig objectClass: olcUniqueConfig olcOverlay: unique olcUniqueAttribute: mail ldapadd -v -Y EXTERNAL -H ldapi:/// -f unique.ldiff ldap_initialize(

Re: auditlog overlay

2010-10-14 Thread Thierry Lacoste
Did you 'chown ldap:ldap /var/log/audit.log' before starting slapd ? This file must be owned by the ldap user. Although I'm not sure, there maybe a problem because the ldap user doesn't own /var/log. I put my auditlog together with the bdb files (in the directory given by your 'directory'

Re: PPolicy error.

2010-10-14 Thread Meghanand Acharekar
On Mon, Oct 11, 2010 at 7:57 PM, Christian Manal moen...@informatik.uni-bremen.de wrote: Am 11.10.2010 16:06, schrieb Meghanand Acharekar: On Mon, Oct 11, 2010 at 7:08 PM, Christian Manal moen...@informatik.uni-bremen.de wrote: Am 11.10.2010 15:25, schrieb Meghanand Acharekar: On

slapcat command removes nssov overlay socket

2010-10-14 Thread Sergei Butakov
Hi, I'm using OpenLDAP-2.4.23 with nssov overlay and nss-pam-ldapd-0.7.10. Command slapcat removes nssov overlay socket /var/run/nslcd/socket (it shows strace slapcat). Can anyone, who also uses nssov overlay, check it? To avoid this, I commented out in contrib/slapd-modules/nssov/nssov.c

Re: ldapsearch complains about DN having invalid syntax, but same DN works in JXplorer

2010-10-14 Thread Diego Lima
Hi John, When using ldapsearch as follows: ldapsearch -x -W -D 'cn=Manager,dc=example,dc=com' -b -s base I get the following after providing my password: ldap_bind: Invalid DN syntax (34)     additional info: invalid DN Could you set your loglevel to 256 and provide us the

Re: How to configure overlay unique in cn=config

2010-10-14 Thread Benjamin Griese
Hey buddy, if you use Apache Directory Studio amongst other things for configuring overlays, it automatically gets you the right dependencies if you choose for example OC olcUnique, you need also need to have OC olcOverlay and so on, ADS automatically sets it for you in a wizard like process.