provision error in Samba4

Andrew Bartlett abartlet at samba.org
Wed Mar 10 19:49:16 MST 2010


On Wed, 2010-03-10 at 18:30 -0800, Daniel Ng wrote:
> I keep getting following error.  Could anyone help?

Sure!

> sudo ./provision --setupdir=/home/daniel/samba4
> --realm=debian-build.ktd.com --domain=debian-build --adminpass=ecosys
> --server-role='standalone'

> 
>     raise ProvisioningError("guess_names: Realm '%s' in smb.conf must
> match chosen realm '%s'!", lp.get("realm").upper(), realm)
> 
> samba.provisionexceptions.ProvisioningError: ("guess_names: Realm '%s'
> in smb.conf must match chosen realm '%s'!", '', 'DEBIAN-BUILD.KTD.COM')
> 

You have an smb.conf file already in place.  Remove it before you run
provision (you can keep it, if you have exactly the right values in it,
but it's easier to just remove it). 

I'll see if I can make the error easier to understand in future. 

Andrew Bartlett

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100311/adf4f373/attachment.pgp>


More information about the samba-technical mailing list