Anonymous_User Absent Member.
Absent Member.
2594 views

[LDAP: error code 17 - Undefined Attribute Type]


Hello guys,

I have a problem, I would like to know if it is possible to insert in
eDirectory an Ldap attribute with "_" (underscore). I've created a
custom Class:vaOrgPerson, in the class there is a list of attributes
with the underscore (the customer has a system that supports these
values ​​and I have to copy it on the Identity Manager
system).

When I add an attribute with an LDAP Name, containing the "underscore"
character in a class of "Directory Abstraction Layer", the designer
gives me this error:

\"VAORGPERSON.GENERE\": THE LDAP NAME \"VA_GENERE\" CONTAINS AN INVALID
UNDERSCORE CHARACTER.

and the User Application when I add a user give me this error:

ERRORE: JAVAX.NAMING.DIRECTORY.INVALIDATTRIBUTEIDENTIFIEREXCEPTION:
[LDAP: ERROR CODE 17 - UNDEFINED ATTRIBUTE TYPE];

Also, when I add the attribute with the value underscore within the
schema, he makes me add without error but, when i try to add this
attribute inside the LDAP browser or inside the user (whit iManager),
the attribute is written whitout "_". I meke an example:

"va_genere" is written "vaGenere".

There's a possible solution for this problem?

Thanks


--
r_meghnagi
------------------------------------------------------------------------
r_meghnagi's Profile: https://forums.netiq.com/member.php?userid=4207
View this thread: https://forums.netiq.com/showthread.php?t=46948

Labels (1)
0 Likes
4 Replies
Anonymous_User Absent Member.
Absent Member.

Re: [LDAP: error code 17 - Undefined Attribute Type]

On Mon, 25 Feb 2013 17:34:02 +0000, r meghnagi wrote:

> There's a possible solution for this problem?


Well, the error message is pretty clear that it's not allowed, so the
solution would be to not use an attribute definition with an underscore
in the name. 🙂

Jim



--
Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell Knowledge Partner
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: [LDAP: error code 17 - Undefined Attribute Type]


Thanks,

but I should do a migration, then create the same attributes on my
eDirectory..and these attributes have a value "_"(underscore)


--
r_meghnagi
------------------------------------------------------------------------
r_meghnagi's Profile: https://forums.netiq.com/member.php?userid=4207
View this thread: https://forums.netiq.com/showthread.php?t=46948

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: [LDAP: error code 17 - Undefined Attribute Type]

On Mon, 25 Feb 2013 21:14:01 +0000, r meghnagi wrote:

> Thanks,
>
> but I should do a migration, then create the same attributes on my
> eDirectory..and these attributes have a value "_"(underscore)


What you might do is set up an LDAP attribute mapping to use a name that
lacks an underscore. If the eDir schema name has an underscore, and LDAP
is not allowing it, then the mapping that's happening (without the
underscore) is correct and you should use that - and if you want a
different name, then set an explicit attribute mapping up in the LDAP
server or group object.

http://ldapman.org/articles/attributes.html has a good explanation - note
that underscores and spaces are not permitted. That's an LDAP standard,
so you can't use it on the LDAP side of things, but you can map to it if
it's named that way on the eDir side.

Jim



--
Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell Knowledge Partner
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: [LDAP: error code 17 - Undefined Attribute Type]


RFC does not allow for underscore in an attribute name, though some LDAP
database allows that (which violates the RFC) and I think, for example,
IBM is one of them.


--
--
-eDirectory Rules!-

Peter
www.DreamLAN.com
------------------------------------------------------------------------
peterkuo's Profile: https://forums.netiq.com/member.php?userid=170
View this thread: https://forums.netiq.com/showthread.php?t=46948

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.