[Fedora-directory-devel] Samba4 onto Fedora DS

Andrew Bartlett abartlet at samba.org
Tue Aug 22 21:38:41 UTC 2006


On Tue, 2006-08-22 at 10:03 -0700, Pete Rowley wrote:
> Kimmo Koivisto wrote:
> 
> >Andrew Bartlett wrote:
> >[snip]
> >  
> >
> >>Anyway, this is the error I get with the attached schema:
> >>
> >>[abartlet at piglett source]$ sudo /opt/fedora-ds/slapd-piglett/start-slapd
> >>Password:
> >>[22/Aug/2006:21:03:47 +1000] dse - The entry cn=schema in
> >>file /opt/fedora-ds/slapd-piglett/config/schema/01samba4.ldif is
> >>invalid, error code 20 (Type or value exists) - attribute type
> >>streetAddress: Does not match the OID "1.2.840.113556.1.2.256". Another
> >>attribute type is already using the name or OID.
> >>[22/Aug/2006:21:03:47 +1000] dse - Please edit the file to correct the
> >>reported problems and then restart the server.
> >>
> >>I can find no other reference (in the schema ldif files) to
> >>streetAddress, or that OID.
> >>
> >>    
> >>
> >See 00core.ldif:
> >attributeTypes: ( 2.5.4.9 NAME ( 'street' 'streetaddress' ) DESC 'Standard 
> >LDAP attribute type' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN 'RFC 
> >2256' )
> >
> >Maybe this is what you wan't to remove?
> >  
> >
> It would be bad form to remove a standard attribute and replace it with 
> one of the same name  but different OID.  It would be better to use the 
> standard attribute.

What would go wrong if I did that?  

When I started with OpenLDAP, I initially tried to load standard schema,
then Microsoft's modifications, but very quickly got into a mess:
Because I wanted a reproducible solution, I didn't want to edit these
schema files, but they declared objectClasses that I had to override.  

So I ended up just using the converted AD schema.

Would it be possible to split the 00core.ldif into 'attributes required
for the operation of the directory' and 'core ldap standards'?  What
will happen if I fail to load the 'attributes required for operation of
the directory'?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/389-devel/attachments/20060823/ceeea13d/attachment.bin 


More information about the 389-devel mailing list