#
# By:		Juan C. Gomez / gomez@engr.sgi.com
# Date:		May/1999
# Source:	RFC-2307
# ---------------------------------------------------------
#
# Written by Juan C. Gomez and placed into the public domain.
# This file is not subject to any license of SGI.
#
# ---------------------------------------------------------
#
# Attribute definitions for using LDAP as a back-end for 
# Network Information Services (NIS) with OpenLDAP server. 
#
# I am adding the whole description here because, perhaps,
# we will move towards better schema support in the future
# and will have all the keywords to express the attribute
# description more accurately.
#
# nisSchema OID = 1.3.6.1.1.1
#		  iso.org.dod.internet.directory.nisSchema
#
# NOTES:
#
# 1.- Two attributes have as a super-type the name attribute
#     described in RFC-2256. The 'name' attribute has the 
#     following description: (see X.520 for further details)
#
#	OID		2.5.4.41
#	NAME		name
#	SUBSTRINGS	caseIgnoreSubstringsMatch
#	SYNTAX		DirectoryString{32768}
# 
#     DirectoryString Syntax (OID=1.3.6.1.4.1.1466.115.121.1.15)
#     is described in RFC-2252, basically a UTF-8 (Unicode
#     Superset) encoded string.
#
# 2.- The syntax for nisNetgroupTriple is 'nisNetgroupTripleSyntax',
#     defined as:
#
#	OID		nisSchema.0.0
#	NAME		'nisNetgroupTripleSyntax'
#	DESC		'NIS netgroup triple'
#	
#     Where values in this syntax can be described as:
#
#	nisNetgroupTripleSyntax ::= SEQUENCE {
#		hostname	[0] IA5String OPTIONAL,
#		username	[1] IA5String OPTIONAL,
#		domainname	[2] IA5String OPTIONAL
#	}
#     
#     (These values are encoded as strings in LDAP servers)
#
# 3.- The syntax for bootParameter is 'bootParameterSyntax',
#     defined as :
#
#	OID		nisSchema.0.1
#	NAME		'bootParameterSyntax'
#	DESC		'Boot Parameter'
# 
#     Where values in this syntax can be described as:
#
#	bootParameterSyntax ::= SEQUENCE {
#		key	 IA5String,
#		server	 IA5String,
#		path	 IA5String
#	}
#
#     (These values are encoded as strings in LDAP servers)
#


# ----------------------FORMAL DESCRIPTION--------------------
# OID		nisSchema.1.0
# NAME		uidNumber
# DESC		'An integer uniquely identifying a user in an
#		administrative domain'
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	SINGLE-VALUE
#
#
# OID		nisSchema.1.1
# NAME		gidNumber
# DESC		'An integer uniquely identifying a group in an
#		administrative domain'
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	SINGLE-VALUE
#
#
# OID		nisSchema.1.2
# NAME		gecos
# DESC		'The GECOS field; the common name'
# EQUALITY	caseIgnoreIA5Match
# SUBSTRINGS	caseIgnoreIA5SubstringsMatch
# SYNTAX	'IA5String'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.3
# NAME		homeDirectory
# DESC		'The absolute path to the home directory'
# EQUALITY	caseExactIA5Match
# SYNTAX	'IA5String'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.4
# NAME		loginShell
# DESC		'The path to the login shell'
# EQUALITY	caseExactIA5Match
# SYNTAX	'IA5String'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.5
# NAME		shadowLastChange
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.6
# NAME		shadowMin
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.7
# NAME		shadowMax
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.8
# NAME		shadowWarning
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.9
# NAME		shadowInactive
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.10
# NAME		shadowExpire
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.11
# NAME		shadowFlag
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INTEGER'	 SINGLE-VALUE
#
#
# OID		nisSchema.1.12
# NAME		memberUid
# DESC		''
# EQUALITY	caseExactIA5Match
# SUBSTRINGS	caseExactIA5SubstringsMatch
# SYNTAX	'IA5String'
#
#
# OID		nisSchema.1.13
# NAME		memberNisNetgroup
# DESC		''
# EQUALITY	caseExactIA5Match
# SUBSTRINGS	caseExactIA5SubstringsMatch
# SYNTAX	'IA5String'
#
#
# OID		nisSchema.1.14
# NAME		memberNisNetgroup
# DESC		'Netgroup triple'
# SYNTAX	'nisNetgroupTripleSyntax'
#
#
# OID		nisSchema.1.15
# NAME		ipServicePort
# DESC		''
# EQUALITY	integerMatch
# SYNTAX	'INSTEGER'	SINGLE-VALUE	
#
#
# OID		nisSchema.1.16
# NAME		ipServiceProtocol
# SUP		name
#
#
# OID		nisSchema.1.17
# NAME		ipServiceNUmber
# EQUALITY	integerMatch
# SYNTAX	'INSTEGER'	SINGLE-VALUE
#
#
# OID		nisSchema.1.18
# NAME		oncRpcNumber
# EQUALITY	integerMatch
# SYNTAX	'INSTEGER'	SINGLE-VALUE
#
#
# OID		nisSchema.1.19
# NAME		ipHostNumber
# DESC		'IP address as a dotted decimal, eg. 192.168.1.1
#		omitting leading zeros'
# EQUALITY	caseIgnoreIA5Match
# SYNTAX	'IA5String{128}'
#
#
# OID		nisSchema.1.20
# NAME		ipNetworkNumber
# DESC		'IP network as a dotted decimal, eg. 192.168,
#		omitting leading zeros'
# EQUALITY	caseIgnoreIA5Match
# SYNTAX	'IA5String{128}'	SINGLE-VALUE
#
#
# OID		nisSchema.1.21
# NAME		ipNetmaskNumber
# DESC		'IP netmask as a dotted decimal, eg. 255.255.255.0,
#		omitting leading zeros'
# EQUALITY	caseIgnoreIA5Match	
# SYNTAX	'IA5String{128}'	SINGLE-VALUE	
#
#
# OID		nisSchema.1.22
# NAME		macAddress
# DESC		'MAC address in maximal, colon separated hex notation, 
#		eg. 00:00:92:90:ee:e2'
# EQUALITY	caseIgnoreIA5Match
# SYNTAX	'IA5String{128}'
#
#
# OID		nisSchema.1.23
# NAME		bootParameter
# DESC		'rpc.bootparamd parameter'
# SYNTAX	'bootParameterSyntax'
#
#
# OID		nisSchema.1.24
# NAME		bootFile
# DESC		'Boot image name'
# EQUALITY	caseExactIA5Match
# SYNTAX	'IA5String'
#
#
# OID		nisSchema.1.26
# NAME		nisMapName
# DESC		''
# SUP		name
#
#
# OID		nisSchema.1.27
# NAME		nisMapEntry
# DESC		''
# EQUALITY	caseExactIA5Match
# SUBSTRINGS	caseExactIA5SubstringMatch
# SYNTAX	'IA5String{1024}'	SINGLE-VALUE
#
# ----------------------END FORMAL DESCRIPTION-------------



attribute	uidNumber		ces
attribute	gidNumber		ces
attribute	gecos			cis
attribute	homeDirectory		ces
attribute	loginShell		ces
attribute	shadowLastChange	ces
attribute	shadowMin		ces
attribute	shadowMax		ces
attribute	shadowWarning		ces
attribute	shadowInactive		ces
attribute	shadowExpire		ces
attribute	shadowFlag		ces
attribute	memberUid		ces
attribute	memberNisNetgroup	ces
attribute	nisNetgroupTriple	ces
attribute	ipServicePort		ces
attribute	ipServiceProtocol	cis
attribute	ipProtocolNumber	ces
attribute	oncRpcNumber		ces
attribute	ipHostNumber		cis
attribute	ipNetworkNumber		cis
attribute	ipNetmaskNumber		cis
attribute	macAddress		cis
attribute	bootParameter		ces
attribute	bootFile		ces
attribute	nisMapName		cis
attribute	nisMapEntry		ces
