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

slapd-sock as overlay

Hello Guys,
Could you please tell me where I could find a guide to configure slapd-sock as overlay for an existing database? I am not using slapd.conf but olc.

I tried the configuring but I am getting "error 80, implementation error, could not open socket".
Below is the configuration:

dn: olcDatabase={1}mdb,cn=config
objectClass: olcDatabaseConfig
objectClass: olcMdbConfig
olcDatabase: {1}mdb
olcDbDirectory: /var/lib/ldap
olcSuffix: dc=ericsec,dc=com
olcAccess: {0}to attrs=userPassword by self write by anonymous auth by * none
olcAccess: {1}to attrs=shadowLastChange by self write by * read
olcAccess: {2}to * by * read
olcLastMod: TRUE
olcRootDN: cn=admin,dc=ericsec,dc=com
olcRootPW: {SSHA}lxpvQanVD5GoVXKiDB1HNEInKYussacd

dn: olcOverlay={0}sock,olcDatabase={1}mdb,cn=config
objectClass: olcConfig
objectClass: olcOverlayConfig
objectClass: olcOvSocketConfig
olcOverlay: {0}sock
olcDbSocketPath: /tmp/sockoverlay-listener1
olcDbSocketExtensions: binddn peername ssf
olcOvSocketOps: bind unbind search

Eagerly waiting for the reply.