summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/userman.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-07Fixup the NET-API-USERMOD test.Andrew Bartlett1-3/+3
This test needed to be updated to handle the fact that you cannot clear the ACB_PW_EXPIRED bit, and to always use the torture comment functions (not printf directly). Andrew Bartlett (This used to be commit 2211476bbb3d8e5bca9659e886e559a36f40aff4)
2008-02-29Convert to new torture API.Jelmer Vernooij1-31/+23
(This used to be commit 40dffc177babec01c63fb717506fa86ff70a5b28)
2008-02-28Fix up the libnet tests.Andrew Bartlett1-1/+1
These tests still do not pass against windows, but at least now it doesn't reset acct_flags to 0. This is enough to have Samba4 pass it's own tests for the moment. Andrew Bartlett (This used to be commit aa3901311eb7ce6f2d2b2413323e31a5b064cfc4)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-3/+3
uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-42/+42
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-3/+3
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25377: Simplify code a little by employing commonly used functions.Rafal Szczesniak1-188/+21
rafal (This used to be commit f0be9939cd83d8568d6b7f0540fb73ab530243f7)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-2/+2
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij1-6/+0
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-3/+3
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-3/+3
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24051: more monitor function calls and monitor msg namesRafal Szczesniak1-1/+1
convention change. rafal (This used to be commit 6ab10b2ed256fa3c55d1af8ddcc9dfdaf4598a1e)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r19924: win2k3srv did not like that combination.Rafal Szczesniak1-1/+1
rafal (This used to be commit 11b93da847420a509dc8d30ee5998557ea506291)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-3/+3
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19251: fix silly typos causing the test to fail at account_nameRafal Szczesniak1-7/+7
and acct_expiry fields. rafal (This used to be commit dba5e642a0230539ac73292ac5baae0f74e9f46e)
2007-10-10r19174: fix the test to pass against win2k3 server (username lengthRafal Szczesniak1-1/+1
limit had been hit here, I guess). rafal (This used to be commit 795a37e1708caf5563ba71696595a840bc53408c)
2007-10-10r19025: - remove read-only and policy dependent fields and flagsRafal Szczesniak1-49/+15
- do not stop NET-API-USERMODIFY test when a single field fails - add account flags to the fields tested - separate "cleanup" step from closing domain at the end rafal (This used to be commit 16fde3b8e2c93ec10e43bb09334bf460db8ac70b)
2007-10-10r18753: expand the test so that it does a growing number of changesRafal Szczesniak1-66/+136
(up to 8, currently) randomly generated _and_ verify if the change has actually been made. surprising results when running the test (I hope it's just a bug somewhere in it or in the libnet code). rafal (This used to be commit 652a291145ac18de2734266ebba843abe659b7db)
2007-10-10r18683: NET-USERMOD test changed to be able to perform multiple simultaneousRafal Szczesniak1-68/+181
changes. Also, some common definitions for user mod tests have been put into a separate file. rafal (This used to be commit 0040c087481be68d44a0b59744be5c5e569fd8a4)
2007-10-10r17717: this cried for bugs...and they happened...Stefan Metzmacher1-10/+30
we were passing a struct timeval reference as string, and gcc gives a warning...use C99 style initialisation. is there a special reason why the ACB_NORMAL is passed when the force_password_change is selected? metze (This used to be commit 45061b1b7e76d56d557119eb2f7f6317e104d083)
2007-10-10r15921: Include new headers.Rafal Szczesniak1-1/+0
rafal (This used to be commit a528b64054551c780bd546c92edf189409fa358b)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-3/+3
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij1-1/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-1/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-1/+0
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij1-9/+3
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher1-2/+1
stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
2007-10-10r9090: Another field in usermod function - account flags.Rafal Szczesniak1-9/+9
rafal (This used to be commit f0d51b78c040937bd27857c063fae215a3f0f465)
2007-10-10r9037: New fields in usermod function - allow_password_change andRafal Szczesniak1-7/+11
force_password_change datetime. rafal (This used to be commit dfa2cc6c4ed8273b1d3ee604954c81c75f0890bd)
2007-10-10r8897: Add test for the comment field.Rafal Szczesniak1-6/+7
rafal (This used to be commit 3cb517f7c134ee18eb9af79c486c85bed0ef4f81)
2007-10-10r8807: Modifying datetime field using struct timeval argument rather thanRafal Szczesniak1-5/+8
text-based, after recent discussion with both Andrews :) Basic test seems to work (at least it doesn't fail now). rafal (This used to be commit 1bc3162e9441aeae1d8c4b4f03b5b75eb848f4bf)
2007-10-10r8761: Propagate changes in monitor messaging code.Rafal Szczesniak1-1/+5
rafal (This used to be commit 5be8479d5cf119bcda4046bf1c5d7c3b876e718d)
2007-10-10r8759: Another couple of fields in usermod routine.Rafal Szczesniak1-2/+5
rafal (This used to be commit 266aaacf0be955096d53e2a967bdaa5d0c5558ed)
2007-10-10r8721: Further work on libnet_rpc_usermod function. Now it can changeRafal Szczesniak1-5/+21
both account name and full name. rafal (This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)
2007-10-10r8693: Test code for usermod routine.Rafal Szczesniak1-0/+71
rafal (This used to be commit 19f5ea9c9c2a46c110e5946605432116cb2ad7b3)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher1-5/+5
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r7864: fixed some const bugsAndrew Tridgell1-2/+2
(This used to be commit 616f54015ff8c7b25fa500cb03d025a9950ed6cf)
2007-10-10r7491: libnet functions used in tests have different names now.Rafal Szczesniak1-12/+12
rafal (This used to be commit d54bf09701b1085451479a32569849998c53c811)
2007-10-10r6847: Fix some unused variable warnings in the libnet torture test.Tim Potter1-1/+0
(This used to be commit 448795607f271bb00d5f9e1c5a6cad8df75c8b6a)
2007-10-10r6717: - torture test of async useradd function and monitor messages.Rafal Szczesniak1-0/+58
- make message handling functions static. rafal (This used to be commit 96446e5e1e53eb519cbfeb64d0dd2f4052d75b0f)
2007-10-10r6674: Fix some compiler warnings.Tim Potter1-4/+1
(This used to be commit c2c563bf985a8fdd28beacb3dbdf650c11af2fa7)
2007-10-10r6432: Restorin previous construction of conditions after a little discussionRafal Szczesniak1-2/+6
with Richard and Andrew. rafal (This used to be commit 400f6d5f87c7a0b49bfd289521a3cf4af2586235)
2007-10-10r6430: Delete existing test account if, for some reason, it hasn't beenRafal Szczesniak1-3/+19
deleted last time running the test. rafal (This used to be commit 91df25a795b3754c9445af6ade53cbc89ec4a545)