[email protected] wrote:
> I have an OpenLDAP server on CentOS 7.8 and am trying to get the ppolicy 
> overlay loaded. 
> I'm attempting to load in the module with this command:
> 
> ldapmodify -Y EXTERNAL -H ldapi:/// -f ppolicy_load.ldif
> 
> and I get this error:
> 
> add olcModuleLoad:
>         ppolicy
> modifying entry "cn=module{0},cn=config"
> ldap_modify: Type or value exists (20)
>         additional info: modify/add: olcModuleLoad: value #0 already exists
> 
> The contents of ppolicy.ldif:
> 
> dn: cn=module{0},cn=config
> changetype: modify
> add: olcModuleLoad
> olcModuleLoad: ppolicy
> 
> cn=module{0},cn=config.ldif contents:

You're probably looking at the wrong file. In particular, you shouldn't be 
looking
at *any* of these files. What does ldapsearch show you for the 
cn=module,cn=config entry?
> 
> dn: cn=module{0}
> objectClass: olcModuleList
> cn: module{0}
> olcModulePath: /usr/lib64/openldap
> olcModuleLoad: {0}back_bdb
> olcModuleLoad: {1}syncprov
> 
> Can anyone provide guidance on how to get this working? I configured this on 
> test servers that I derived from my main ldap server with no problem.
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/

Reply via email to