Closed sahilIT2020 closed 5 years ago
@sahiliamsso this is couchbase right?
Yes
I am also getting issue on import attributes using ldif
ldif file
gluuAttributeName: nickname1
gluuSAML1URI: urn:mace:dir:attribute-def:nickname1
gluuSAML2URI: urn:oid:1.3.6.1.4.1.48710.1.3.319
gluuAttributeViewType: [user, admin]
displayName: Nickname1
objectClass: gluuAttribute
description: Casual name of the End-User that may or may not be the same as the given_name.For instance, a nickname value of Mike might be returned alongside a given_name value of Michael.
dn: inum=5EC61,ou=attributes,o=gluu
inum: 5EC61
oxAuthClaimName: nickname1
urn: http://openid.net/specs/openid-connect-core-1_0.html/StandardClaims/nickname
gluuAttributeEditType: [user, admin]
gluuAttributeOrigin: gluuPerson
gluuAttributeType: string
gluuStatus: active
@syntrydy Have you fixed import issue as well as mentioned above?
of course
@syntrydy - When I try to import the exported file with additional changes, it gives error
2019-09-23 21:49:33,006 INFO [qtp105704967-14] [org.gluu.persist.ldap.impl.LdifDataUtility] (LdifDataUtility.java:305) - Malformed ldif record null
2019-09-23 21:49:33,006 ERROR [qtp105704967-14] [org.gluu.persist.ldap.impl.LdifDataUtility] (LdifDataUtility.java:306) - Malformed ldif record
com.unboundid.ldif.LDIFException: The first line of the entry starting at or near line number 1 did not begin with 'dn:'.
at com.unboundid.ldif.LDIFReader.decodeChangeRecord(LDIFReader.java:2446) ~[unboundid-ldapsdk-4.0.5.jar:4.0.5]
at com.unboundid.ldif.LDIFReader.readChangeRecordInternal(LDIFReader.java:1708) ~[unboundid-ldapsdk-4.0.5.jar:4.0.5]
at com.unboundid.ldif.LDIFReader.readChangeRecord(LDIFReader.java:1301) ~[unboundid-ldapsdk-4.0.5.jar:4.0.5]
at org.glu
On moving dn=.. to first line, then I am able to import the file successfully. However I can't see any option to delete attribute after import successful
Describe the issue
Getting OOPs error on exporting LDIF attributes
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should export attribute in ldif file
Actual behavior
Getting OOPs error
Desktop (please complete the following information):
oxtrust logs