
| Key: |
DIRSERVER-791
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Stefan Seelmann
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Environment:
|
LDIF tested with ELBE import and ldapmodify command line tool.
|
|
| Resolution Date: |
05/Jan/07 01:52 PM
|
|
There are some issues regarding attribute modification:
This entry is used to start:
#
dn: cn=test,dc=example,dc=com
changetype: add
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: test
cn: aaa
sn: test
#
1.)
Removal of a value from RDN attribute which is not part of the RDN is not possible
#
dn: cn=test,dc=example,dc=com
changetype: modify
delete: cn
cn: aaa
-
#
However replacing works:
#
dn: cn=test,dc=example,dc=com
changetype: modify
replace: cn
cn: test
-
#
2.)
It is possible to add an value to objectclass, which isn't a valid objectclass. The server returns an error, but nevertheless the invalid value is stored. I think this should be rejected from server.
#
dn: cn=test,dc=example,dc=com
changetype: modify
add: objectclass
objectclass: test
-
#
3.)
It is possible to add an attribute to the entry that is not allowed according the objectclasses. The server should reject this.
#
dn: cn=test,dc=example,dc=com
changetype: modify
add: bootParameter
bootParameter: test
-
#
|
|
Description
|
There are some issues regarding attribute modification:
This entry is used to start:
#
dn: cn=test,dc=example,dc=com
changetype: add
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: test
cn: aaa
sn: test
#
1.)
Removal of a value from RDN attribute which is not part of the RDN is not possible
#
dn: cn=test,dc=example,dc=com
changetype: modify
delete: cn
cn: aaa
-
#
However replacing works:
#
dn: cn=test,dc=example,dc=com
changetype: modify
replace: cn
cn: test
-
#
2.)
It is possible to add an value to objectclass, which isn't a valid objectclass. The server returns an error, but nevertheless the invalid value is stored. I think this should be rejected from server.
#
dn: cn=test,dc=example,dc=com
changetype: modify
add: objectclass
objectclass: test
-
#
3.)
It is possible to add an attribute to the entry that is not allowed according the objectclasses. The server should reject this.
#
dn: cn=test,dc=example,dc=com
changetype: modify
add: bootParameter
bootParameter: test
-
#
|
Show » |
Anonymous made changes - 03/Dec/06 09:05 PM
| Field |
Original Value |
New Value |
|
Attachment
|
|
DIRSERVER791.java
[ 12346303
]
|
made changes - 03/Dec/06 09:06 PM
|
Attachment
|
DIRSERVER791.java
[ 12346303
]
|
|
made changes - 05/Jan/07 01:52 PM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
made changes - 05/Jan/07 03:25 PM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|