I would like it to provision a domain or have had no response on irc or the samba maing list as to why it fails. Having the wiki howto up to date would not be a bad idea either. <br> The wiki and most other online resources indicate the one should use the "provision" command. This command is no longer available in the S4RC you must use samba-tool to accomplish the task. sudo samba-tool domain provision --realm=new.example.com --domain=NEWDOM --dns-backend=BIND9_DLZ --adminpass=badpass --server-role='domain controller' <br> Unfortunately, attempting to provision on a fresh Ubuntu 12.04 install with the following additional packages:<br> build-essentials python-software-properties build-essential libacl1-dev python-dev libldap2-dev pkg-config gdb libgnutls-dev libblkid-dev libreadline-dev libattr1-dev openssl (please note these pre-requisite are not documented in the wiki) gives the following error: <br> "libkdc-policy.so: cannot open shared object file: No such file or directory" <br> and I cant get an answer as to where to find or build this module or find such info in a web search. All in all, it has been a very frustrating experience.
On Sun, 2012-11-04 at 15:12 -0800, samba.to.anomalyst at xoxy.net wrote:> I would like it to provision a domain or have had no response on irc or the > samba maing list as to why it fails. Having the wiki howto up to date would > not be a bad idea either.The wiki is up to date with current release candidates. https://wiki.samba.org/index.php/Samba4/HOWTO> <br> > The wiki and most other online resources indicate the one should use the > "provision" command. > This command is no longer available in the S4RC you must use samba-tool to > accomplish the task. > > sudo samba-tool domain provision --realm=new.example.com > --domain=NEWDOM --dns-backend=BIND9_DLZ --adminpass=badpass > --server-role='domain controller' > <br> > Unfortunately, attempting to provision on a fresh Ubuntu 12.04 install with > the following additional packages:<br> > build-essentials > python-software-properties > build-essential libacl1-dev python-dev libldap2-dev > pkg-config gdb libgnutls-dev libblkid-dev libreadline-dev libattr1-dev > openssl > (please note these pre-requisite are not documented in the wiki) > gives the following error: > <br> > "libkdc-policy.so: cannot open shared object file: No such file or > directory" > <br> > and I cant get an answer as to where to find or build this module or find > such info in a web search. > > All in all, it has been a very frustrating experience.Are you installing from a release candidate tarball, and which wiki are you referring to that suggests the bare 'provision' command? Thanks, -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org
> Are you installing from a release candidate tarball, and which wiki are > you referring to that suggests the bare 'provision' command?followed the link from the release notes < https://wiki.samba.org/index.php/Samba4/HOWTO#Step_4:_Provision_Samba4> It could use an addition as to which additional packages need to be installed prior to config/make. Also missing was the documentation of the samba-tools subcommand "provision". it appears correct now, but wasnt when I used it a couple days ago. I tried from the tarball < https://download.samba.org/pub/samba/rc/samba-4.0.0rc4.tar.gz> and with a git clone plus a pull no such file as "libkdc-policy.so" in the tree Just ran git pull make make install still fails.