summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-12 22:53:26 +0200
committerAndrew Tridgell <tridge@samba.org>2011-06-06 12:26:10 +1000
commit087ee1f40e4821f719f592ef2b768afad5c9a175 (patch)
treea08d2b7e492e8b36f57bbc47bcc4b94bdcbfda8c /source4/scripting
parent2f66fb9270fb5f1dc79adab0e5d8d941992a2a17 (diff)
downloadsamba-087ee1f40e4821f719f592ef2b768afad5c9a175.tar.gz
samba-087ee1f40e4821f719f592ef2b768afad5c9a175.tar.bz2
samba-087ee1f40e4821f719f592ef2b768afad5c9a175.zip
s4-gpo: fixed display of GPO version numbers
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/netcmd/gpo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/gpo.py b/source4/scripting/python/samba/netcmd/gpo.py
index 19007b361c..fac9167076 100644
--- a/source4/scripting/python/samba/netcmd/gpo.py
+++ b/source4/scripting/python/samba/netcmd/gpo.py
@@ -126,7 +126,7 @@ class cmd_listall(Command):
print("display name : %s" % m['displayName'][0])
print("path : %s" % m['gPCFileSysPath'][0])
print("dn : %s" % m.dn)
- print("version : %s" % attr_default(m, 'version', '0'))
+ print("version : %s" % attr_default(m, 'versionNumber', '0'))
print("flags : %s" % flags_string(gpo_flags, int(attr_default(m, 'flags', 0))))
print("")