From d430c88cfe06d1ae4db70a21aee650dd316d7a35 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 15 Mar 2012 07:59:30 +0100 Subject: [PATCH] s4:selftest: fix message typo in test for "samba-tool user list" Spotted by kukks - thanks. Autobuild-User: Michael Adam Autobuild-Date: Thu Mar 15 14:24:29 CET 2012 on sn-devel-104 --- source4/scripting/python/samba/tests/samba_tool/user.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source4/scripting/python/samba/tests/samba_tool/user.py b/source4/scripting/python/samba/tests/samba_tool/user.py index 15d04d60ffa..42cb66c1c70 100644 --- a/source4/scripting/python/samba/tests/samba_tool/user.py +++ b/source4/scripting/python/samba/tests/samba_tool/user.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python + # Unix SMB/CIFS implementation. # Copyright (C) Sean Dague 2011 # @@ -182,7 +184,7 @@ class UserCmdTestCase(SambaToolCmdTest): "-H", "ldap://%s" % os.environ["DC_SERVER"], "-U%s%%%s" % (os.environ["DC_USERNAME"], os.environ["DC_PASSWORD"])) - self.assertCmdSuccess(result, "Error runing list") + self.assertCmdSuccess(result, "Error running list") search_filter = ("(&(objectClass=user)(userAccountControl:%s:=%u))" % (ldb.OID_COMPARATOR_AND, dsdb.UF_NORMAL_ACCOUNT)) -- 2.11.4.GIT