[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
str2entry: invalid value for syntax 1.3.6.1.4.1.1466.115.121.1.44?
I want to put data into my newly installed openldap server.
To that end, I have the following schema in the file
/usr/local/etc/openldap/schema/uncg.schema:
===File /usr/local/etc/openldap/schema/uncg.schema==========
# Schema for UNCG ldap
attributetype ( 152.13.12.1
NAME 'uncgfullname'
DESC 'Full Name'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
attributetype ( 152.13.12.2
NAME 'uncgdep'
DESC 'Department Name'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
attributetype (152.13.12.3
NAME 'uncgoffice'
DESC 'Office'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
attributetype (152.13.12.4
NAME 'uncgpermanentaddress'
DESC 'Permanent Address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
attributetype (152.13.12.5
NAME 'uncgofficephone'
DESC 'Office Phone'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
attributetype (152.13.12.6
NAME 'uncgpermanentphone'
DESC 'Permanent Phone'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
attributetype ( 152.13.12.7
NAME 'uncgemail'
DESC 'Email Address'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
)
objectclass ( 152.13.13.1
NAME 'uncgemp'
DESC 'UNCG Employee'
MAY ( uncgfullname $ uncgdep $ uncgoffice $ uncgpermanentaddress $
uncgofficephone $ uncgpermanentphone $ uncgemail )
)
============================================================
I have some test data which looks like this (from an hopefully ldif
file)
===File ~/ldap/emp.ldif=====================================
dn: uncgfullname=Aaroe,Christian D. (Mr.), dc=michael, dc=uncg, dc=edu
objectclass: uncgemp
uncgfullname: Aaroe,Christian D. (Mr.)
uncgdep: Building & Trades
uncgoffice: Sink Building
uncgpermanentaddress: 312 Jackson Street Greensboro NC 27403
uncgofficephone: (336) 334-3365
uncgpermanentphone: (336) 272-3101
uncgemail: AAROE@UNCG.EDU
============================================================
When I run:
/usr/local/sbin/slapadd -v -l emp.ldif
I get (among other things):
str2entry: invalid value for syntax 1.3.6.1.4.1.1466.115.121.1.44
slapadd: could not parse entry (line=10)
What am I doing wrong and how do I fix it?
Thanks,
--Will