Adding a valid managed entry config is sometimes rejected with an error 53 (unwilling to perform). As an example, adding the following template and config entry can trigger this problem: dn: cn=UPG Template,dc=example,dc=com objectclass: mepTemplateEntry cn: UPG Template mepRDNAttr: cn mepStaticAttr: objectclass: posixGroup mepMappedAttr: cn: $uid mepMappedAttr: gidNumber: $gidNumber mepMappedAttr: description: User private group for $uid dn: cn=UPG Definition1,cn=Managed Entries, cn=plugins,cn=config objectclass: extensibleObject cn: UPG Definition1 originScope: dc=example,dc=com originFilter: objectclass=posixAccount managedBase: dc=example,dc=com managedTemplate: cn=UPG Template, dc=example,dc=com When the definition entry is added, the following errors are sometimes seen in the errors log: [09/Dec/2010:08:14:33 -0800] managed-entries-plugin - mep_create_managed_entry: Error parsing mapped attribute in template "cn=UPG Template, dc=example,dc=com". [09/Dec/2010:08:14:33 -0800] managed-entries-plugin - mep_parse_config_entry: Unable to create a test managed entry from managed entry template "cn=UPG Template, dc=example,dc=com". Please check the template entry for errors.
Created attachment 467795 [details] Patch
Pushed to master. Thanks to Rich for the review! Counting objects: 13, done. Delta compression using up to 2 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.00 KiB, done. Total 7 (delta 4), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git f5dc726..3b68aa6 master -> master
This fix is verified in the nightly acceptance. managedEntry startup elapse time : 00:06:42 managedEntry startup Tests PASS : 100% (1/1)