Sto tentando di simulare l'attributo memberOf di Active Directory in Apache Directory. Ho aggiunto la seguente voce per memberOf al mio file LDIF:Aggiungi attributo 'memberOf' ad ApacheDS
dn: m-oid=1.3.6.1.4.1.18060.0.4.3.2.1,ou=attributeTypes,cn=other,ou=schema
m-usage: USER_APPLICATIONS
m-equality: distinguishedNameMatch
objectClass: metaAttributeType
objectClass: metaTop
objectClass: top
m-name: memberOf
m-oid: 1.3.6.1.4.1.18060.0.4.3.2.1
m-obsolete: FALSE
m-noUserModification: FALSE
m-syntax: 1.3.6.1.4.1.1466.115.121.1.27
Quando inizio ApacheDS il seguente avviso viene registrato:
WARN [ContainerBackgroundProcessor[StandardEngine[Catalina]]] entry.ServerStringValue - Cannot normalize the value :Encountered name based id of memberOf which was not found in the OID registry
Questo provoca problemi in seguito, perché la mia applicazione tenta di utente il memberOf attributo come filtro di ricerca.
C'è qualcosa di sbagliato nel modo in cui ho specificato la voce LDIF?
dovrebbe urtare la richiesta – codenamezero
@codenamezero Sì, naturalmente. Ci sono circa 4 anni passati, e non c'è ancora un attributo 'memberOf' in ApacheDS ... – Lion