summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-07-03 11:21:25 +1000
committerAmitay Isaacs <amitay@gmail.com>2012-07-03 15:20:41 +1000
commit7563032acd72e5925e23fe88075e64f47bc1f86c (patch)
tree82a9f06cba998cd4ee90f389a9bbb85c85960025
parent3fe2c54a5b122acc1d96c0e01d802b4f4a4c84b4 (diff)
downloadsamba-7563032acd72e5925e23fe88075e64f47bc1f86c.tar.gz
samba-7563032acd72e5925e23fe88075e64f47bc1f86c.tar.bz2
samba-7563032acd72e5925e23fe88075e64f47bc1f86c.zip
samba-tool: gpo: Fix policy DN
Thanks to Denis Bonnenfant <denis.bonnenfant@diderot.org> for patch.
-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 88c76227b2..8482e73fbd 100644
--- a/source4/scripting/python/samba/netcmd/gpo.py
+++ b/source4/scripting/python/samba/netcmd/gpo.py
@@ -121,7 +121,7 @@ def get_gpo_dn(samdb, gpo):
'''Construct the DN for gpo'''
dn = samdb.get_default_basedn()
- dn.add_child(ldb.Dn(samdb, "CN=Policies,DC=System"))
+ dn.add_child(ldb.Dn(samdb, "CN=Policies,CN=System"))
dn.add_child(ldb.Dn(samdb, "CN=%s" % gpo))
return dn