ConfigFile for silent install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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://lists.fedoraproject.org/pipermail/389-users/attachments/20080115/1f1f87da/attachment.bin 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux