1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-13 16:23:50 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Tim Potter
a46aba4354 r3588: Fix bug in converting SIDs containing large unsigned integers from Python. 2007-10-10 13:05:36 -05:00
Tim Potter
52af866ffb r3308: Handle servers that don't have samr_Connect5. 2007-10-10 13:04:52 -05:00
Tim Potter
799b377bad r2728: Break arg parsing stuff out of samr.py into a standalone program. 2007-10-10 12:59:27 -05:00
Tim Potter
3170f6ed84 r2560: Don't require structure fields that have the pidl value() property
to be set.  They can be if you want, but will be overwritten by the
pidl push code.
2007-10-10 12:59:06 -05:00
Tim Potter
e9eb231d64 r2559: Python ints can't hold the full range of uint32 values so store them
as Python longs.

Also allow shorter width integer types to be initialised from long values.
Their values are truncated if they are too long.
2007-10-10 12:59:06 -05:00
Tim Potter
471b13da2b r2511: Add NT status codes. 2007-10-10 12:59:00 -05:00
Tim Potter
808e0708a9 r2502: Finish off samr torture test: samr_CreateUser2, samr_SetUserInfo,
samr_QueryAliasInfo, samr_SetAliasInfo, samr_AddMemberToAlias,
samr_AddMultipleMembersToAlias, samr_QueryDisplayInfo,
samr_QueryDisplayInfo2, samr_QueryDisplayInfo3,
samr_GetDisplayEnumerationIndex, samr_GetDisplayEnumerationIndex2,
samr_TestPrivateFunctionsDomain, samr_RidToSid,
samr_GetBootKeyInformation, samr_DeleteUser, samr_DeleteAlias,
samr_Close.
2007-10-10 12:58:59 -05:00
Tim Potter
991d783c1a r2492: Some cleanups.
Add tests for samr_CreateDomainGroup, samr_DeleteDomainGroup,
samr_QueryDomainInfo, samr_SetDomainInfo, samr_EnumDomainUsers,
samr_EnumDomainAliases, samr_EnumDomainGroups.
2007-10-10 12:58:57 -05:00
Tim Potter
632b7cc0d6 r2461: Update samr.py torture test after policy handle parameter renames.
I thought of another exception to the policy name rule - samr_Close
can operate on any kind of samr handle.
2007-10-10 12:58:55 -05:00
Tim Potter
1dc86e466d r2429: Add tests for samr_QueryUserInfo(), samr_QueryUserInfo2(),
samr_GetUserPwInfo(), samr_TestPrivateFunctionsUser().  Add stubs for
the rest of the functions in test_OpenDomain() from smbtorture.
2007-10-10 12:58:51 -05:00
Tim Potter
086740c178 r2427: Add tests for samr_GetDomPwInfo, samr_RemoveMemberFromForeignDomain,
samr_LookupName, samr_OpenUser, samr_DeleteUser, samr_CreateUse and
samr_OpenDomain.
2007-10-10 12:58:51 -05:00
Tim Potter
57edfd605b r2421: Fix test for lookupdomain for a non-existent domain.
Export NTSTATUS exception from wrapper module so it can be used by scripts.
2007-10-10 12:58:50 -05:00
Tim Potter
aa15fd1ecb r2419: Write tests for samr_EnumDomains() and samr_LookupDomain(). 2007-10-10 12:58:50 -05:00
Tim Potter
e1166c2100 r2414: samr_Connect.system_name is now an array. 2007-10-10 12:58:50 -05:00
Tim Potter
e822979e84 r2410: Add test for samr_SetSecurity(). 2007-10-10 12:58:49 -05:00
Tim Potter
f6978a007a r2345: Add test for samr_QuerySecurity() 2007-10-10 12:58:45 -05:00
Andrew Tridgell
e94bec1079 r2339: my first python commit!
added command line options for binding string, domain, username and password
2007-10-10 12:58:44 -05:00
Tim Potter
30f068164a r2336: Add another conversion function to allow union arms that contain structures
not pointers to structures.  Do some renaming of hand-written functions
as a result.

Include lsa interface before samr interface as samr depends on some lsa
structures.

Build up a nice hashed index of interfaces, functions, structs and
unions.

Add test for samr_Connect5() function which contains a union.
2007-10-10 12:58:44 -05:00
Tim Potter
73e087f11e r2300: Start writing a Python torture test suite based on the smbtorture rpc tests. 2007-10-10 12:58:41 -05:00