Ldap Error Code 17 - Undefined Attribute Type Remaining Name
map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor. Announcement Announcement Module Collapse No announcement yet. LDAP: error code 17 - Undefined Attribute Type Page Title Module Move Remove Collapse X Conversation Detail Module Collapse Posts Latest Activity Search Forums Page of 1 Filter Time All Time Today Last Week Last Month Show All Discussions only Photos only Videos only Links only Polls only Filtered by: Clear All new posts mraible Senior Member Join Date: Aug 2004 Posts: 249 http://raibledesigns.com #1 LDAP: error code 17 - Undefined Attribute Type Oct 11th, 2006, 01:18 AM I have the following methods I'm using to update a User object in LDAP. Code: protected void mapToContext(User user, DirContextAdapter context) { context.setAttributeValues("objectclass", new String[]{"top", "person", "inetOrgPerson"}); context.setAttributeValue("uid", user.getUsername()); context.setAttributeValue("userPassword", LdapUtils.getUtf8Bytes(user.getPassword())); context.setAttributeValue("cn", user.getFirstName()); context.setAttributeValue("sn", user.getLastName()); context.setAttributeValue("displayName", user.getFullName()); context.setAttributeValue("mail", user.getEmail()); context.setAttributeValue("telephoneNumber", user.getPhoneNumber()); context.setAttributeValue("title", user.getTitle()); context.setAttributeValue("department", user.getDepartment()); context.setAttributeValue("passwordHint", user.getPasswordHint()); context.setAttributeValue("version", String.valueOf(user.getVersion())); context.setAttributeValue("accountEnabled", String.valueOf(user.isEnabled())); context.setAttributeValue("accountExpired", String.valueOf(user.isAccountExpired())); context.setAttributeValue("accountLocked", String.valueOf(user.isAccountLocked())); context.setAttributeValue("credentialsExpired", String.valueOf(user.isCredentialsExpired())); } Everything works fine if I modify the String values. However, if I modify version, accountEnabled, accountExpired (the non-String values), I get the following error: Code: org.springframework.ldap.UncategorizedLdapException: Operation failed; nested exception is javax.naming.directory.InvalidAttributeIdentifierException: [LDAP: error code 17 - Undefined Attribute Type]; remaining name 'uid=tomcat, ou=
Site Leaders Articles Blogs What's New? FAQ Advanced Search Forum PRODUCT RELATED DISCUSSIONS IDENTITY & ACCESS MANAGEMENT Identity Manager IM: Userapp-Workflow LDAP: error code 17 - Undefined Attribute Type You can view the discussions, but you must login before you can post. Click the LOGIN link in the forum header to proceed. To start viewing messages, select the forum that you want to visit from the selection below. If this http://forum.spring.io/forum/spring-projects/data/ldap/21210-ldap-error-code-17-undefined-attribute-type is your first visit, be sure to check out the FAQ by clicking the link above. Results 1 to 9 of 9 Thread: LDAP: error code 17 - Undefined Attribute Type Thread Tools Show Printable Version Subscribe to this Thread… Display Switch to Linear Mode Switch to Hybrid Mode Threaded Mode Threaded View 11-Aug-2014,04:59 https://forums.novell.com/showthread.php/487108-LDAP-error-code-17-Undefined-Attribute-Type AM #1 ronaldteng NNTP User LDAP: error code 17 - Undefined Attribute Type Hi All, Require your advice on the matter below. The error below at the entity level after the approver approved the workflow request. Workflow Error: Ldap error updating object: cn=0000003,ou=EMPLOYEE,o=BR. Error: javax.naming.directory.InvalidAttributeIdentifierE xception: [LDAP: error code 17 - Undefined Attribute Type]; remaining name 'cn=0000003,ou=EMPLOYEE,o=BR' Thanks. -- ronaldteng ------------------------------------------------------------------------ ronaldteng's Profile: https://forums.netiq.com/member.php?userid=3908 View this thread: https://forums.netiq.com/showthread.php?t=51494 Reply With Quote « Previous Thread | Next Thread » Bookmarks Bookmarks Twitter Facebook Google Digg del.icio.us StumbleUpon Posting Permissions You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On [VIDEO] code is On HTML code is Off Forum Rules Contact Us Micro Focus Discussion Forums Archive Privacy Statement Terms of Service Top All times are GMT +1. The time now is 05:07 AM. © 2016 Micro Focus
contains inappropriate characters] From: Devdas Bhagat