On Tue, 2007-01-30 at 09:27 +1100, Andrew Bartlett wrote: > On Mon, 2007-01-29 at 15:23 -0700, David Boreham wrote: > > Andrew, I think you may have a stale previous install on the machine. > > The fact that the installer wants to talk to a configuration DS is > > a clue -- it won't do that in a bare-metal first server install. > > That might also explain the permission stuff. > > I'm certain I do. And I expect to keep such stale installs, because > this must be a reproducible, contained, self test environment. > > How do I convince Fedora DS that it's universe is to be found only > inside a certain prefix? > > (I would really like something like the way we run OpenLDAP and Samba4 > itself, where we run some commands to prep the prefix, then run the main > binary with a 'config file here' option. It then only every looks where > that config file points). I've moved up to FDS 1.1 on richm's advise, and am now stuck with the behaviour of the 'prefix' command in the inf file: See my attached file, which I thought would install the configuration and data into the prefix, using the binaries in ServerRoot. It seems to me that prefix is being appended unconditionally, and that it still doesn't want to just put the configuration outside the ServerRoot. [abartlet@amy source]$ perl /media/usbdisk/fedora-ds/prefix/lib/fedora-ds/ds_newinst.pl /home/abartlet/samba/samba4/svn/source/st/ldap/fedorads.inf CGI /media/usbdisk/fedora-ds/prefix/lib/fedora-ds/ds_newinst failed with 1: here is the output: Content-type: text/plain error:could not create server samba4 - Could not write /home/abartlet/samba/samba4/svn/source/st/ldap/media/usbdisk/fedora-ds/prefix/share/fedora-ds/script-templates/template-ldif2db.pl to /home/abartlet/samba/samba4/svn/source/st/ldap/media/usbdisk/fedora-ds/prefix/lib/fedora-ds/slapd-samba4/ldif2db.pl (No such file or director). NMC_Status: 1 Error: could not run /media/usbdisk/fedora-ds/prefix/lib/fedora-ds/ds_newinst: 1 Error: Could not create new directory server instance -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Red Hat Inc. http://redhat.com
[General] SuiteSpotUserID = abartlet FullMachineName= localhost prefix=/home/abartlet/samba/samba4/svn/source/st/ldap ServerRoot= /media/usbdisk/fedora-ds/prefix ConfigDirectoryLdapURL= ldap://127.0.0.1:3389/o=NetscapeRoot ConfigDirectoryAdminID= administrator AdminDomain= localdomain ConfigDirectoryAdminPwd= penguin Components= svrcore,base,slapd [slapd] ServerPort= 3389 Suffix= dc=samba,dc=example,dc=com RootDN= cn=Manager,dc=samba,dc=example,dc=com RootDNPwd= penguin Components= slapd ServerIdentifier= samba4 InstallLdifFile=/home/abartlet/samba/samba4/svn/source/st/ldap/fedorads-initial-ldif.inf [base] Components= base
Attachment:
signature.asc
Description: This is a digitally signed message part
-- Fedora-directory-devel mailing list Fedora-directory-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-devel