Samba 4 provision error in recent git
charles.tryon at gmail.com
Wed Feb 29 08:07:09 MST 2012
Pfffffffth! That seems to have fixed my problem with the samba3upgrade
script too (since it's calling the provision process under the hood, and
must pass that parameter along). Still call that a bug, but at least it's
a reasonable workaround.
On Wed, Feb 29, 2012 at 5:08 AM, Gianni L <slowsin at gmail.com> wrote:
> 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>
> > 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
> >>>> --dns-backend=BIND9_FLATFILE
> >>>> Traceback (most recent call last):
> >>>> File "/usr/local/samba/sbin/**provision", line 262, in<module>
> >>>> useeadb=eadb, next_rid=opts.next_rid, lp=lp)
> >>>> File
> >>>> line 1663, in provision
> >>>> eadb=useeadb, lp=lp, server_services=server_**services)
> >>>> File
> >>>> line 648, in make_smbconf
> >>>> shares["sysvol"] = os.path.join(global_settings["**state
> >>>> KeyError: 'state directory'
> >> Can confirm I am getting the same error. Seems to pass make quicktest
> >> however (which is in itself a danger)
> >> Sincerely,
> >> William Brown
> >> pgp.mit.edu
> >> http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3C0AC6DAB2F928A2
> > Checked out git this morning (4.0.0alpha19-GIT-65d42ab) and same error
> > there. Anyone know a workaround? Surely people have been provisioning
> > 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?
> > Cheers,
> > Kev
> > --
> > 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
> > 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
> > on it and notify the sender immediately.
> > *The views expressed in this communication may not necessarily be the
> > held by the Company.*
> > Registered office: Ravensworth House, 5th Avenue Business Park, Team
> > 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
“Risks are not to be evaluated in terms of the probability of success,
but in terms of the value of the goal.”
- Ralph D. Winter
More information about the samba-technical