Hi all, I'm trying to setup the nssov overlay in Ubuntu 12.04. I setup the server as the official doc suggested here: https://help.ubuntu.com/12.04/serverguide/openldap-server.html Now I'm stuck because I didn't find anywhere a working ldif example to enable the addon. I tried with the following ldif:
dn: olcOverlay={0}nssov,olcDatabase={1}hdb,cn=config objectClass: olcOverlayConfig objectClass: olcNssOvConfig olcOverlay: {0}nssov olcNssSsd: test ldap:///ou=People,dc=example,dc=com
but I get: ldap_add: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax
Can someone please give some advice?
Thank you!
Simone Scremin
On Nov 09, 2012, at 14.14, Simone Scremin wrote:
ldap_add: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax
have you loaded the nssov module?
e.g.:
dn: cn=module{0},cn=config objectClass: olcModuleList cn: module{0} olcModuleLoad: nssov olcModulePath: /usr/lib/ldap
-ben
Frankly no. I was under the impression that my quoted example was what you need to activate the overlay. I tried to load the module as you suggested but I get a different error:
adding new entry "cn=module{0},cn=config" ldap_add: Naming violation (64)
Do I miss something else?
Thank you!
Simone
On Nov 10, 2012, at 6:42 AM, btb@bitrate.net wrote:
On Nov 09, 2012, at 14.14, Simone Scremin wrote:
ldap_add: Invalid syntax (21) additional info: objectClass: value #1 invalid per syntax
have you loaded the nssov module?
e.g.:
dn: cn=module{0},cn=config objectClass: olcModuleList cn: module{0} olcModuleLoad: nssov olcModulePath: /usr/lib/ldap
-ben
On Nov 11, 2012, at 18.21, Simone Scremin wrote:
Frankly no. I was under the impression that my quoted example was what you need to activate the overlay. I tried to load the module as you suggested but I get a different error:
have you read the README? it explicitly states:
... "moduleload <path to>nssov.so" ...
adding new entry "cn=module{0},cn=config" ldap_add: Naming violation (64)
for help with this, i'd suggest including more complete information - specifically, the ldif file you tried to use and the full command and its output
-ben
openldap-technical@openldap.org