[Fedora-directory-users] ConfigFile for silent install

Rich Megginson rmeggins at redhat.com
Tue Jan 15 15:21:14 UTC 2008


Gordon Messmer wrote:
> The documentation doesn't seem to be very clear about the expected 
> contents of files specified via ConfigFile in the inf files used for 
> silent installs.
>
> For example, I want to change the aci on the VLV feature, so if I try 
> this in a ConfigFile:
>
> dn: oid=2.16.840.1.113730.3.4.9,cn=features,cn=config
> objectClass: top
> objectClass: directoryServerFeature
> oid: 2.16.840.1.113730.3.4.9
> cn: VLV Request Control
> aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; 
> allow( read, search, compare, proxy ) userdn = "ldap:///anyone";)
>
> ...the server setup fails.  I get this output:
>
> Error adding entry 
> 'oid=2.16.840.1.113730.3.4.9,cn=features,cn=config'.  Error: No such 
> object
> Error: Could not create directory server instance 'master1'.
> Exiting . . .
I think that entry is added dynamically at server startup.  You may have 
to add the cn=features entry first in your LDIF file.  Even then it may 
not work if the server is not expecting that entry to be there.   So in 
your LDIF file:

dn: cn=features, cn=config
objectclass: top
objectclass: nsContainer
cn: features

dn: oid=2.16.840.1.113730.3.4.9,cn=features,cn=config
...


If that still doesn't work, then it is a bug.
>
> If, instead, I use a format suitable for ldapmodify, like this:
>
> dn: oid=2.16.840.1.113730.3.4.9,cn=features,cn=config
> changetype: modify
> replace: aci
> aci: (targetattr != "aci")(version 3.0; acl "VLV Request Control"; 
> allow( read, search, compare, proxy ) userdn = "ldap:///anyone";)
>
> The server doesn't complain, but it appears to have no effect at all.
>
> What should the ConfigFile look like?
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

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


More information about the Fedora-directory-users mailing list