[Date Prev][Date Next] [Chronological] [Thread] [Top]

Roaming Access with LDAP



Hi all,

following the guidance of LDAP How To, I wanted to implement
Roaming access with a LDAP server.

I am not expert with the construction of schemas ;-(

This HowTo provide a schema but at starting time of my LDAP server
I have got the following message:

#-------------------------------------------------------------------------------
slapd -f /etc/ldap/openldap/slapd.conf
/etc/ldap/openldap/schema/roaming.schema: line 24: Unexpected token before  NAME
'nsLIProfile SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )ame'
AttributeTypeDescription = "(" whsp
  numericoid whsp      ; AttributeType identifier
  [ "NAME" qdescrs ]             ; name used in AttributeType
  [ "DESC" qdstring ]            ; description
  [ "OBSOLETE" whsp ]
  [ "SUP" woid ]                 ; derived from this other
                                   ; AttributeType
  [ "EQUALITY" woid ]            ; Matching Rule name
  [ "ORDERING" woid ]            ; Matching Rule name
  [ "SUBSTR" woid ]              ; Matching Rule name
  [ "SYNTAX" whsp noidlen whsp ] ; see section 4.3
  [ "SINGLE-VALUE" whsp ]        ; default multi-valued
  [ "COLLECTIVE" whsp ]          ; default not collective
  [ "NO-USER-MODIFICATION" whsp ]; default user modifiable
  [ "USAGE" whsp AttributeUsage ]; default userApplications
                                   ; userApplications
                                   ; directoryOperation
                                   ; distributedOperation
                                   ; dSAOperation
  whsp ")"
#-------------------------------------------------------------------------------

Could anyone explain me what is wrong?
Below I provide the file "mull.schema"

Regards


-- 
# .- ...- . .-. .-. --- . ... .- .-.-.- .- -.-- ... .... .-
# Averroes A. Aysha
# Think Linux, Think Slackware!
# Network Security Auditor (NSA)
# e-fingerprint = 73B7 2559 2968 5094 3B95 5C70 4E85 5F94 6068 1DD8
# http://www.keyserver.net/en/
# .- ...- . .-. .-. --- . ... .- .-.-.- .- -.-- ... .... .-
#	mull.schema	(Maaslandse Unix & Linux Laboratorium)

#	This schema file is experimental and may change
#	All OID's use the MULL PEN of 7081 as assigned by IANA
#	Version 20000920

#	Thanks for the important imput and improvements goes to:
#	Laurent ARNAL <laurent@arnal.fr.eu.org>
#		Netscape roaming Profiles
#	Kurt D. Zeilenga <Kurt@OpenLDAP.org>
#		Corrections and general remarks that brought me up to speed
#		with LDAP and the way OpenLDAP uses schema files and such.

#	This schema requires that the core schema is loaded


# Used to store Netscape Roaming Profile information into OpenLDAP v2.
# This stores the actual profile name into the database.
attributeType ( 1.3.6.1.4.1.7081.1.1.1
	NAME 'nsLIProfileName'
	DESC 'Store Netscape Roaming Profile name'
	EQUALITY caseIgnoreMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

# Used to store Netscape Roaming Profile information into OpenLDAP v2.
attributeType ( 1.3.6.1.4.1.7081.1.1.2
	NAME 'nsLIPrefs'
	DESC 'Store Netscape Roaming Profile preferences'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# Used to store Netscape Roaming Profile information into OpenLDAP v2.
attributeType ( 1.3.6.1.4.1.7081.1.1.3
	NAME 'nsLIElementType'
	DESC ''
	EQUALITY caseIgnoreMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

# Used to store Netscape Roaming Profile information into OpenLDAP v2.
attributeType ( 1.3.6.1.4.1.7081.1.1.4
	NAME 'nsLIData'
	DESC 'Store the actual data blocks'
	EQUALITY bitStringMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )

# Used to store Netscape Roaming Profile information into OpenLDAP v2.
attributeType ( 1.3.6.1.4.1.7081.1.1.5
	NAME 'nsLIVersion'
	DESC 'Store Netscape Roaming Profile version'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )

# Used to store Netscape Roaming Profile information into OpenLDAP v2.
# This is the base holder of the Roaming Profile and must be created before
# you try to store information into the LDAP database.
objectClass ( 1.3.6.1.4.1.7081.1.2.1
	NAME 'nsLIProfile'
	DESC 'Base holder of the NetScape Roaming Profile'
	SUP top
	MUST ( objectClass $ nsLIProfileName ) 
	MAY ( nsLIPrefs $ uid $ owner )
	)

# Used to store Netscape Roaming Profile information into OpenLDAP v2.
# This object class will store the actual data.
objectClass ( 1.3.6.1.4.1.7081.1.2.2
	NAME 'nsLIProfileElement'
	DESC 'Contains the actual Roaming Profile data'
	SUP top
	MUST ( objectClass $ nsLIElementType ) 
	MAY ( owner $ nsLIData $ nsLIVersion )
	)

# EOF