Samba 4 provision error in recent git
slowsin at gmail.com
Wed Feb 29 03:08:21 MST 2012
you have to add --targetdir=<some directory> to bypass this error
'cause it seems not to use the default /usr/local/samba dir during the
I think it's definitely a little buggy in the provision script or a
problem with the installed python.
it happened to me too yesterday on a fresh centos 6.2 installation.
On Wed, Feb 29, 2012 at 10:24 AM, Kev Latimer <klatimer at tolent.co.uk> wrote:
> On 28/02/2012 01:00, William Brown wrote:
>>>> root at mydc:/# /usr/local/samba/sbin/**provision --realm=mydomain.local
>>>> --domain=MYDOMAIN--adminpass=**password --server-role=dc
>>>> Traceback (most recent call last):
>>>> File "/usr/local/samba/sbin/**provision", line 262, in<module>
>>>> useeadb=eadb, next_rid=opts.next_rid, lp=lp)
>>>> line 1663, in provision
>>>> eadb=useeadb, lp=lp, server_services=server_**services)
>>>> line 648, in make_smbconf
>>>> shares["sysvol"] = os.path.join(global_settings["**state directory"],
>>>> KeyError: 'state directory'
>> Can confirm I am getting the same error. Seems to pass make quicktest
>> however (which is in itself a danger)
>> William Brown
> Checked out git this morning (4.0.0alpha19-GIT-65d42ab) and same error still
> there. Anyone know a workaround? Surely people have been provisioning new
> Samba4's this week :-P
> I see there's a similar bug in Bugzilla
> (https://bugzilla.samba.org/show_bug.cgi?id=8781) - is it worth me filing a
> new bug as it's a new provision and my error is slightly different?
> Kevin Latimer
> _Network Manager_
> *Tolent Construction Ltd*
> Ravensworth House
> 5th Avenue Business Park, Team Valley
> Gateshead, Tyne & Wear, NE11 0HF
> Tel: +44 (0)191 4870505
> Fax: +44 (0)191 4872990
> Website: www.tolent.co.uk <http://www.tolent.co.uk>
> This message is intended only for the use of the person(s) ('the intended
> recipient(s) ') to whom it is addressed.
> It may contain information which is privileged and confidential within the
> meaning of applicable law.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> *The views expressed in this communication may not necessarily be the views
> held by the Company.*
> Registered office: Ravensworth House, 5th Avenue Business Park, Team Valley,
> Gateshead, Tyne & Wear, NE11 0HF.
> Registered in England No. 2450574
> *Please note Tolent Plc monitors email sent or received. Further
> communication will signify your consent to this.*
.. Gianni .. L
www.catartica.it - Un viaggio di parole inutili
www.ashtower.com - La storia siamo noi
www.blackeaglesrugby.com - Black Eagles International rugby club Bressanone
More information about the samba-technical