[Samba] provisioning fails

Andrew Bartlett abartlet at samba.org
Sun Nov 4 20:21:28 MST 2012

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.


> <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?


Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba mailing list