[Fedora-directory-users] autofs & FDS

Pete Rowley prowley at redhat.com
Mon Feb 6 19:04:57 UTC 2006


Susan wrote:

>--- Mike Jackson <mj at sci.fi> wrote:
>  
>
>>>http://people.redhat.com/nalin/schema/autofs.schema
>>>      
>>>
>>That schema can be used stand-alone in FDS. Just convert it with my 
>>script, and restart the FDS service:
>>
>># ol-schema-migrate.pl autofs.schema > 80autofs.ldif
>># mv 80autofs.ldif /opt/fedora-ds/slapd-`hostname`/config/schema
>># /opt/fedora-ds/slapd-`hostname`/restart-slapd
>>
>>    
>>
>
>Thanks.
>
>However, I now get this:
>[root at cnyldap01 schema]# /opt/fedora-ds/slapd-cnyldap01/restart-slapd
>[06/Feb/2006:13:34:09 -0500] dse - The entry cn=schema in file
>/opt/fedora-ds/slapd-cnyldap01/config/schema/80autofs.ldif is invalid, error code 20 (Type or
>value exists) - object class automount: The OID "1.3.6.1.1.1.1.9" is also used by the attribute
>type "shadowInactive"
>
>Have you seen this error before?
>
>  
>
It is conflicting with the RFC2307 schema.  I don't know how this stuff 
perpetuates (and this nonsense is everywhere, I have seen at least two 
phony OIDs for this attribute alone) - but the automount attribute in 
the linked schema has an OID stolen from RFC2307 and assigned by IANA to 
shadowInactive.

RFC2307bis is the first document to mention automount, and it designates 
automount schema thus:

Attributetypes:

             ( 1.3.6.1.1.1.1.31 NAME 'automountMapName'
               DESC 'automount Map Name'
               EQUALITY caseExactIA5Match
               SUBSTR caseExactIA5SubstringsMatch
               SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

             ( 1.3.6.1.1.1.1.32 NAME 'automountKey'
               DESC 'Automount Key value'
               EQUALITY caseExactIA5Match
               SUBSTR caseExactIA5SubstringsMatch
               SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

             ( 1.3.6.1.1.1.1.33 NAME 'automountInformation'
               DESC 'Automount information'
               EQUALITY caseExactIA5Match
               SUBSTR caseExactIA5SubstringsMatch
               SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )


Objectclasses:

             ( 1.3.6.1.1.1.2.16 NAME 'automountMap' SUP top STRUCTURAL
               MUST ( automountMapName )
               MAY description )

             ( 1.3.6.1.1.1.2.17 NAME 'automount' SUP top STRUCTURAL
               DESC 'Automount information'
               MUST ( automountKey $ automountInformation )
               MAY description )






-- 
Pete

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20060206/fd88fa05/attachment.bin>


More information about the Fedora-directory-users mailing list