diff options
author | Amitay Isaacs <amitay@gmail.com> | 2012-07-03 11:21:25 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2012-07-03 15:20:41 +1000 |
commit | 7563032acd72e5925e23fe88075e64f47bc1f86c (patch) | |
tree | 82a9f06cba998cd4ee90f389a9bbb85c85960025 /source4/scripting | |
parent | 3fe2c54a5b122acc1d96c0e01d802b4f4a4c84b4 (diff) | |
download | samba-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.
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/netcmd/gpo.py | 2 |
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 |