Bug 570905
| Summary: | postalAddress syntax should allow empty lines (should allow $$) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Anthony Messina <amessina> | ||||
| Component: | Schema | Assignee: | Rich Megginson <rmeggins> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 1.2.6 | CC: | jgalipea | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-12-07 16:59:15 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 434914, 543590 | ||||||
| Attachments: |
|
||||||
|
Description
Anthony Messina
2010-03-05 20:17:13 UTC
I think the right thing to do is to allow $$, and optionally make it configurable. Created attachment 398636 [details]
patch
To ssh://git.fedorahosted.org/git/389/ds.git
4845ffc..b8ff06d master -> master
commit b8ff06dd240df947fee972fe13bb2826ebb02048
Author: Rich Megginson <rmeggins>
Date: Mon Mar 8 14:35:17 2010 -0700
Reviewed by: nhosoi (Thanks!)
Branch: HEAD
Fix Description: Even though RFC 4517 says a postal address syntax value
should not contain empty lines (e.g. $$), most, if not all, current
applications expect to be able to store $$. This adds an internal switch
to allow support for $$ for now.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
To ssh://git.fedorahosted.org/git/389/ds.git
73a7424..5962d96 Directory_Server_8_2_Branch -> Directory_Server_8_2_Branch
commit 5962d965030a70a1cbf31081ed92d5f933e89c00
Author: Rich Megginson <rmeggins>
Date: Mon Mar 8 14:35:17 2010 -0700
Reviewed by: nhosoi (Thanks!)
Branch: Directory_Server_8_2_Branch
Fix Description: Even though RFC 4517 says a postal address syntax value
should not contain empty lines (e.g. $$), most, if not all, current
applications expect to be able to store $$. This adds an internal switch
to allow support for $$ for now.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit b8ff06dd240df947fee972fe13bb2826ebb02048)
verified - RHEL 4 version: redhat-ds-base-8.2.0-2010060704.el4dsrv 1. turned on syntax checking # ldapsearch -x -h `hostname` -p 389 -D "cn=Directory Manager" -w Secret123 -b "cn=config" | grep syntaxcheck nsslapd-syntaxcheck: on 2. Added user with postalAddress as defined in comment 1 successfully ldapsearch -x -h `hostname` -p 389 -D "cn=Directory Manager" -w Secret123 -b "uid=test,ou=people,dc=example,dc=com" "(objectclass=*)" # extended LDIF # # LDAPv3 # base <uid=test,ou=people,dc=example,dc=com> with scope sub # filter: (objectclass=*) # requesting: ALL # # test, People, example.com dn: uid=test,ou=People,dc=example,dc=com uid: test givenName: test objectClass: top objectClass: person objectClass: organizationalPerson objectClass: inetorgperson postalAddress: $, $60611$$USA sn: test cn: test test userPassword:: e1NTSEF9T1B3T211YU5mYWZXSFBweHlOcWl4ZkpwWmlGeEJveDJyc1NFWVE9PQ= = # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 I believe this is fixed and can be closed. Thank you. |