Oops. The module is loaded. My bad. Forgot sudo. I just need to figure out how to connect to the server. When I use ~$ ldapsearch -h 81.91.108.76 -D "cn=admin, dc=test,dc=com" -W -b dc=test,dc=com -E vlv=1/1:1 I get an error: VLV control requires server side sort control
On Thu, Nov 13, 2014 at 4:23 PM, Igor Shmukler igor.shmukler@gmail.com wrote:
Hello,
Well, I sort of jumped the gun on worked. The script worked fine. No errors. However, the sssvlv is unable. I did lsof and the module is not loaded. Just in case, I restarted slapd(8), but that did not help.
What can this mean? How does one go about this?
Sincerely,
Igor Shmukler
On Thu, Nov 13, 2014 at 4:10 PM, Igor Shmukler igor.shmukler@gmail.com wrote:
Hello Feri,
Yes. This worked. Thank you. I cannot even express how grateful I am for your help. Well, everyone's really. Yet, you actually managed to solve my problem. You are the man.
Thank you again,
Igor Shmukler
On Thu, Nov 13, 2014 at 4:07 PM, Ferenc Wagner wferi@niif.hu wrote:
Igor Shmukler igor.shmukler@gmail.com writes:
reinstalled Ubuntu from scratch I personally installed and configured OpenLDAP server. I was able to add users and groups. Yet, I am again unable to add sssvlv support. [...] As per Marc's suggestion, I am attaching the output of slapcat(8). [...] My sssvlv.ldif is below: dn: olcOverlay=sssvlv,olcDatabase={1}hdb,cn=config objectClass: olcSssVlvConfig olcOverlay: sssvlv olcSssVlvMax: 10 olcSssVlvMaxKeys: 5
Write this into sssvlv.ldif:
dn: cn=module{0}, cn=config changetype: modify add: olcModuleLoad olcModuleLoad: sssvlv.la
dn: olcOverlay=sssvlv,olcDatabase={1}hdb,cn=config changetype: add objectClass: olcSssVlvConfig olcSssVlvMax: 10 olcSssVlvMaxKeys: 5
The load it into a running slapd as root:
# ldapmodify -Y external -H ldapi:/// -f sssvlv.ldif
No need to touch passwords or anything else.
Good luck, Feri.