#3765 DESC value of ipatokenRadiusSecret in 70ipaotp.ldif causes syntax violation
Closed: Fixed None Opened 10 years ago by nhosoi.

70ipaotp.ldif
attributeTypes: (2.16.840.1.113730.3.8.16.1.17 NAME 'ipatokenRadiusSecret' DESC 'Server's Secret' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE X-ORIGIN 'IPA OTP')

The DESC value 'Server's Secret' contains a single quote in it, which makes the schema parsing failed:
[..] dse_read_one_file - The entry cn=schema in file /etc/dirsrv/slapd-EXAMPLE-COM/schema/70ipaotp.ldif (lineno: 1) is invalid, error code 21 (Invalid syntax) - attribute type (2.16.840.1.113730.3.8.16.1.17 NAME 'ipatokenRadiusSecret' DESC 'Server's Secret' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE X-ORIGIN 'IPA OTP'): Failed to parse attribute, error(2 - Unexpected token) at ( Secret' EQUALITY octetStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 SINGLE-VALUE X-ORIGIN 'IPA OTP'))

IPA versions:
freeipa-python-3.2.1-1.fc19.x86_64
freeipa-admintools-3.2.1-1.fc19.x86_64
freeipa-server-selinux-3.2.1-1.fc19.x86_64
freeipa-client-3.2.1-1.fc19.x86_64
freeipa-server-3.2.1-1.fc19.x86_64
freeipa-server-trust-ad-3.2.1-1.fc19.x86_64


Committed to master and ipa-3-2:

master: d5c1b18

ipa-3-2: 1fbbb2c

Metadata Update from @nhosoi:
- Issue assigned to npmccallum
- Issue set to the milestone: FreeIPA 3.2.x - 2013/07 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata