mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
python: Use an unsigned integer for buf_size, not -1
This will fail once our python bindings correctly check value ranges BUG: https://bugzilla.samba.org/show_bug.cgi?id=11429 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
4ef468eecd
commit
3faa7dc5a7
@ -45,6 +45,6 @@ class SamrTests(RpcInterfaceTestCase):
|
||||
|
||||
def test_EnumDomains(self):
|
||||
handle = self.conn.Connect2(None, security.SEC_FLAG_MAXIMUM_ALLOWED)
|
||||
domains = toArray(self.conn.EnumDomains(handle, 0, -1))
|
||||
domains = toArray(self.conn.EnumDomains(handle, 0, 4294967295L))
|
||||
self.conn.Close(handle)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user