Bug 6598 - Provision update script
Summary: Provision update script
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All All
: P3 major (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Matthias Dieter Wallnöfer
URL:
Keywords:
Depends on:
Blocks: 6600
  Show dependency treegraph
 
Reported: 2009-08-01 13:37 UTC by Matthias Dieter Wallnöfer
Modified: 2009-11-26 04:35 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Dieter Wallnöfer 2009-08-01 13:37:45 UTC
I file this bug to help keeping track of a provision update script. I think that it is a *very* important feature for SAMBA 4 to allow a bigger distribution in production environments.
Comment 1 Matthieu Patou 2009-08-01 15:45:57 UTC
As said more than once I am Ok to do it, I have a very small startup.
My idea is the following:
* look into an exsting (and running provision) for important parameter (realm, domain guid, ...)
* provision a new env 
* run a diff on every ldb between the existing and the new one
* create upate ldif to upgrade the running version


This script will cover some needs (ie like upgrading from old schema to new schema or updating security descriptor) but not all for sure (ie. extended dn because they per object and lot of them do not exists in the initial provision).

Is there any comment on my proposal ?
Comment 2 Matthias Dieter Wallnöfer 2009-08-03 02:39:47 UTC
Yeah, do you have a testable copy or would you like to post the source somewhere? So we could be able to review and help to enhance it.
Comment 3 Matthieu Patou 2009-08-03 03:21:40 UTC
Not yet !

I'll post here when it will be available
Comment 4 Andrew Bartlett 2009-11-23 22:33:07 UTC
The script has been included, but while it does great things, it needs much more work to be both brought up to date, and to be more general (still has some hard-coded paths in it). 
Comment 5 Matthieu Patou 2009-11-24 02:08:43 UTC
I definitely not finished, I'll try to push harder on something better very soon.

Don't zap !
Comment 6 Matthias Dieter Wallnöfer 2009-11-26 04:35:23 UTC
We have it now in "master". Maybe it isn't that perfect yet, but it has been developed. So I close this remainder bug.