Re: LDAP y schema's
El problema esta en q el fichero LDIF contiene "oc" y "aci" que OpenLDAP no
sabe como trabajar con ellos y te da un "objectclass violation" y "unknown
type"...
Necesito el "ns-msg.schema" por llamarlo de alguna manera.
Lo que seria igual que el "inetorgperson.schema" o el "qmail.schema" por
ejemplo.
(contenido de qmail.schema)
#
# qmail-ldap v3 directory schema
#
# The offical qmail-ldap OID assigned by IANA is 7914
#
# Created by: David E. Storey <dave@tamos.net>
#
# Modified and included into qmail-ldap by Andre Oppermann <opi@nrg4u.com>
#
# Schema fixes by Mike Jackson <mjj@pp.fi>
#
#
# This schema depends on:
# - core.schema
# - cosine.schema
# - nis.schema
#
#
# Example from new format
#
# attributetype ( 1.3.6.1.1.1.1.0 NAME 'uidNumber'
# DESC 'An integer uniquely identifying a user in an administrative
domain'
# EQUALITY integerMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
# Attribute Type Definitions
attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID'
DESC 'UID of the user on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.2 NAME 'qmailGID'
DESC 'GID of the user on the mailsystem'
EQUALITY integerMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.3 NAME 'mailMessageStore'
DESC 'Path to the maildir/mbox on the mail system'
EQUALITY caseExactIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.4 NAME 'mailAlternateAddress'
DESC 'Secondary (alias) mailaddresses for the same user'
On Wednesday 23 October 2002 17:30, jgarcian@retevision.es wrote:
> Alguien tiene por ahi o sabe si se puede conseguir el schema que usa
> Netscape
> Directory Server pero convertido para la version 2?
>
> Estoy intentado tomarle el pelo a Messenger para que me ataque a un
> OpenLDAP
> y me encuentro que el schema de netscape tiene algunos requerimientos
> especiales.
>
> quizas alguien ya se ha encontrado con ello y lo ha solucionado.
>
> O quizas alguien sabe que hay una herramienta que convierte de version 1 a
> version 2.
>
>
>
> Has probado con el schema que te proporcionan en iPlanet
> Directory Server 5.0 (50ns-msg.ldif).
>
>
>
>
>
> Jordi
Reply to: