Probably that error is something regarding socket read/write permissions
Il giorno gio 5 set 2019 alle ore 17:14 Giuseppe De Marco < giuseppe.demarco@unical.it> ha scritto:
Hi Shiva,
Here you should find what you're looking for: https://github.com/peppelinux/pyMultiLDAP
Il giorno gio 5 set 2019 alle ore 17:10 Shiva Prasad Thagadur Prakash < shivaprasadtp8@gmail.com> ha scritto:
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.
Thanks, Shiva
-- ____________________ Dott. Giuseppe De Marco CENTRO ICT DI ATENEO University of Calabria 87036 Rende (CS) - Italy Phone: +39 0984 496961 e-mail: giuseppe.demarco@unical.it