[ldapvi] adding overlay with ldapvi

Alessandro Dentella sandro at e-den.it
Tue Feb 12 19:09:58 CET 2013


Sorry, this is probably a general question, but since I'm using ldapvi...

I'm trying to add an overlay (unique), 

  argo-squeeze:~# cat ,ldapvi-argo-squeeze-1657.ldif
  version: 1
  # to apply these changes using ldapvi, run:
  #   ldapvi --ldapmodify ,ldapvi-argo-squeeze-1657.ldif

  dn: olcOverlay=unique,olcDatabase={1}hdb,cn=config
  changetype: add
  objectClass: olcOverlayConfig
  objectClass: olcUniqueConfig
  olcOverlay: unique
  olcUniqueURI: ldap:///?mail?sub?

  argo-squeeze:~# ldapvi -D cn=admin,dc=nodomain -w xxx --ldapmodify ,ldapvi-argo-squeeze-1657.ldif
  ldap_modify: Invalid syntax (21)
	  additional info: objectClass: value #1 invalid per syntax
  Error in noninteractive mode, giving up.


What's wrong with it?

sandro
*:-)



-- 
Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy






More information about the ldapvi mailing list