[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-435-gac3b58b
Matthias Dieter Wallnöfer
mdw at samba.org
Fri Sep 18 09:55:49 MDT 2009
The branch, master has been updated
via ac3b58b85149134f2dd3c9c48a3a697f3bdf121a (commit)
from 752904f12c7dcd76712ca27a10a8fe2062945bbf (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit ac3b58b85149134f2dd3c9c48a3a697f3bdf121a
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Sep 18 17:53:23 2009 +0200
s4:domainlevel - fix indentations
-----------------------------------------------------------------------
Summary of changes:
source4/setup/domainlevel | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/setup/domainlevel b/source4/setup/domainlevel
index 3551cd5..179adda 100755
--- a/source4/setup/domainlevel
+++ b/source4/setup/domainlevel
@@ -1,6 +1,6 @@
#!/usr/bin/python
#
-# Raises domain and forest function levels
+# Raises domain and forest function levels
#
# Copyright Matthias Dieter Wallnoefer 2009
# Released under the GNU GPL version 3 or later
@@ -67,7 +67,7 @@ res_domain = samdb.search(domain_dn, scope=ldb.SCOPE_BASE,
assert(len(res_domain) == 1)
try:
- level_forest = int(res_forest[0]["msDS-Behavior-Version"][0])
+ level_forest = int(res_forest[0]["msDS-Behavior-Version"][0])
level_domain = int(res_domain[0]["msDS-Behavior-Version"][0])
if level_forest < 0 or level_forest == 1 or level_forest > 4 or level_domain < 0 or level_domain == 1 or level_domain > 4:
@@ -86,7 +86,7 @@ if args[0] == "show":
message("Domain and forest function level for domain '" + domain_dn + "'")
message("")
- if level_forest == DS_DOMAIN_FUNCTION_2000:
+ if level_forest == DS_DOMAIN_FUNCTION_2000:
outstr = "2000"
elif level_forest == DS_DOMAIN_FUNCTION_2003:
outstr = "2003"
@@ -96,7 +96,7 @@ if args[0] == "show":
outstr = "2008 R2"
message("Forest function level: (Windows) " + outstr)
- if level_domain == DS_DOMAIN_FUNCTION_2000:
+ if level_domain == DS_DOMAIN_FUNCTION_2000:
outstr = "2000"
elif level_domain == DS_DOMAIN_FUNCTION_2003:
outstr = "2003"
--
Samba Shared Repository
More information about the samba-cvs
mailing list