Hello,
I try to add the autoca overlay with the following ldif: -------------- dn: olcOverlay=autoca,olcDatabase={2}mdb,cn=config objectClass: olcAutoCAConfig objectClass: olcOverlayConfig olcOverlay: autoca olcAutoCADays: 3652 olcAutoCAKeybits: 4096 olcAutoCAserverClass: ipHost olcAutoCAserverDays: 1826 olcAutoCAserverKeybits: 4096 olcAutoCAuserClass: person olcAutoCAuserDays: 365 olcAutoCAuserKeybits: 4096 --------------
ldapadd gives me: adding new entry "olcOverlay=autoca,olcDatabase={2}mdb,cn=config" ldap_add: Other (e.g., implementation specific) error (80) additional info: <olcAutoCAserverClass> handler exited with 1 If I remove the attribute from my ldif, it works.
What is wrong with the olcAutoCAserverClass attribute in my ldif? I try to look it up in the admin handbook but I could not find anything. I looked in the source code and found:
------------ { "serverClass", "objectclass", 2, 2, 0, ARG_STRING|ARG_MAGIC|ACA_SRVCLASS, autoca_cf, "( OLcfgOvAt:22.2 NAME 'olcAutoCAserverClass' " "DESC 'ObjectClass of server entries' " "EQUALITY caseIgnoreMatch " "SYNTAX OMsDirectoryString SINGLE-VALUE )", NULL, NULL },
------------ For me it looks the same as the attribute olcAutoCAuserclass.
------------- { "userClass", "objectclass", 2, 2, 0, ARG_STRING|ARG_MAGIC|ACA_USRCLASS, autoca_cf, "( OLcfgOvAt:22.1 NAME 'olcAutoCAuserClass' " "DESC 'ObjectClass of user entries' " "EQUALITY caseIgnoreMatch " "SYNTAX OMsDirectoryString SINGLE-VALUE )", NULL, NULL },
-------------
Stefan
On Thu, Nov 28, 2024 at 07:07:07PM +0100, Stefan Kania wrote:
Hello,
I try to add the autoca overlay with the following ldif:
dn: olcOverlay=autoca,olcDatabase={2}mdb,cn=config ... olcAutoCAserverClass: ipHost
ldapadd gives me: adding new entry "olcOverlay=autoca,olcDatabase={2}mdb,cn=config" ldap_add: Other (e.g., implementation specific) error (80) additional info: <olcAutoCAserverClass> handler exited with 1 If I remove the attribute from my ldif, it works.
Hi Stefan, looks like a case of a missing 'break;', can you file an ITS?
Thanks,
Done https://bugs.openldap.org/show_bug.cgi?id=10288
Am 29.11.24 um 10:58 schrieb Ondřej Kuzník:
On Thu, Nov 28, 2024 at 07:07:07PM +0100, Stefan Kania wrote:
Hello,
I try to add the autoca overlay with the following ldif:
dn: olcOverlay=autoca,olcDatabase={2}mdb,cn=config ... olcAutoCAserverClass: ipHost
ldapadd gives me: adding new entry "olcOverlay=autoca,olcDatabase={2}mdb,cn=config" ldap_add: Other (e.g., implementation specific) error (80) additional info: <olcAutoCAserverClass> handler exited with 1 If I remove the attribute from my ldif, it works.
Hi Stefan, looks like a case of a missing 'break;', can you file an ITS?
Thanks,
openldap-technical@openldap.org