[PATCH 17/18] upgradeprovision: fix debuging when using --debugall

Matthieu Patou mat at matws.net
Mon Jan 11 23:19:08 MST 2010


---
 source4/scripting/bin/upgradeprovision |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index ac6fbde..dd5ff81 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -637,7 +637,7 @@ def check_diff_name(newpaths,paths,creds,session,basedn,names,ischema):
 			if (not hashOverwrittenAtt.has_key(att) or not (hashOverwrittenAtt.get(att)&2^msgElt.flags())):
 				if  handle_special_case(att,delta,reference,current,ischema)==0 and msgElt.flags()!=ldb.FLAG_MOD_ADD:
 					i = 0
-					if opts.debugchange:
+					if opts.debugchange or opts.debugall:
 						message(CHANGE, "dn= "+str(dn)+ " "+att + " with flag "+str(msgElt.flags())+ " is not allowed to be changed/removed, I discard this change ...")
 						for e in range(0,len(current[0][att])):
 							message(CHANGE,"old %d : %s"%(i,str(current[0][att][e])))
-- 
1.6.3.3


--------------080603070205020905060303
Content-Type: text/x-patch;
 name="0003-s4-Create-unit-tests-for-python-samba.xattr-module.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0003-s4-Create-unit-tests-for-python-samba.xattr-module.patc";
 filename*1="h"



More information about the samba-technical mailing list