From 7563032acd72e5925e23fe88075e64f47bc1f86c Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Tue, 3 Jul 2012 11:21:25 +1000 Subject: samba-tool: gpo: Fix policy DN Thanks to Denis Bonnenfant for patch. --- source4/scripting/python/samba/netcmd/gpo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting') 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 -- cgit