diff options
Diffstat (limited to 'python/samba/netcmd')
-rw-r--r-- | python/samba/netcmd/group.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/netcmd/group.py b/python/samba/netcmd/group.py index c56eb2d3354..f0af886a58e 100644 --- a/python/samba/netcmd/group.py +++ b/python/samba/netcmd/group.py @@ -607,7 +607,7 @@ class cmd_group_move(Command): domain_dn = ldb.Dn(samdb, samdb.domain_dn()) filter = ("(&(sAMAccountName=%s)(objectClass=group))" % - groupname) + ldb.binary_encode(groupname)) try: res = samdb.search(base=domain_dn, expression=filter, |