- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Enterprise Directory and LDAP Distinguished Names
Operating System - OpenVMS
1753447
Members
4896
Online
108794
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2009 09:16 PM
03-10-2009 09:16 PM
Enterprise Directory and LDAP Distinguished Names
Hi,
I've been working with a customer who is developing an LDAP application on OpenVMS IA64 V8.3-1H1 with Enterprise Directory V5.6.
He's found that ED doesn't appear to handle certain LDAP Distinguished Names properly, and I have confirmed his findings.
1. Trying to add an entry where the DN includes leading spaces, e.g.
cn=" Fred Nurk",ou=Department,o=Customer,c=AU
results in the entry being added, but with the leading spaces being removed. Both DXIM and ldap_search_s() return this entry as
cn=Fred Nurk,ou=Department,o=Customer,c=AU
which is not correct. (It's arguable that leading or trailing spaces is sensible, but they are valid according to RFC1779 & RFC2253.)
2. It seems to be impossible to create an entry with a backslash in the DN. For example:
ou="One\Way Entertainment",o=Customer,c=AU
results in the \ being removed. Specifying
ou=One\\Way Entertainment,o=Customer,c=AU
gives LDAP error 21 (Invalid Syntax).
I can't see anywhere in the Enterprise Documentation where these are listed as restrictions on the DN. Have I missed something, or should I log a bug report?
Thanks,
Jeremy Begg
I've been working with a customer who is developing an LDAP application on OpenVMS IA64 V8.3-1H1 with Enterprise Directory V5.6.
He's found that ED doesn't appear to handle certain LDAP Distinguished Names properly, and I have confirmed his findings.
1. Trying to add an entry where the DN includes leading spaces, e.g.
cn=" Fred Nurk",ou=Department,o=Customer,c=AU
results in the entry being added, but with the leading spaces being removed. Both DXIM and ldap_search_s() return this entry as
cn=Fred Nurk,ou=Department,o=Customer,c=AU
which is not correct. (It's arguable that leading or trailing spaces is sensible, but they are valid according to RFC1779 & RFC2253.)
2. It seems to be impossible to create an entry with a backslash in the DN. For example:
ou="One\Way Entertainment",o=Customer,c=AU
results in the \ being removed. Specifying
ou=One\\Way Entertainment,o=Customer,c=AU
gives LDAP error 21 (Invalid Syntax).
I can't see anywhere in the Enterprise Documentation where these are listed as restrictions on the DN. Have I missed something, or should I log a bug report?
Thanks,
Jeremy Begg
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2009 04:57 AM
03-11-2009 04:57 AM
Re: Enterprise Directory and LDAP Distinguished Names
I know nothing but did you try double or tripple quotes ?
Wim
Wim
Wim
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP