summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_user.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-24libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuidKai Blin1-2/+4
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
2008-04-14Fix problems with event context not being the parent.Simo Sorce1-5/+5
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-03-07Fixup the NET-API-USERMOD test.Andrew Bartlett1-2/+2
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-28Fix up the libnet tests.Andrew Bartlett1-3/+12
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)
2008-02-28Do not re-randomise in an individual test.Andrew Bartlett1-2/+0
smbtorture calls srandom() once for the whole suite, with command line override to allow reproduceable random tests. Andrew Bartlett (This used to be commit 68dcd1073cfed830fb6e2013e27d2ebbc443c451)
2008-01-02r26645: Janitorial: Fix a couple of warnings.Jelmer Vernooij1-2/+2
(This used to be commit a2bc97e8b01ecee48be60823cb19b4e794fb8f93)
2007-12-21r26531: Prevent from displaying the results if the functionRafal Szczesniak1-0/+2
call has failed. (This used to be commit ded8a45d79beb0e539c573f67056c8cb4aa62c3f)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-5/+5
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26240: We now actually use torture_context pointers for more than just ↵Jelmer Vernooij1-14/+9
allocation. Fix a few places where we were passing talloc contexts that were not torture contexts. (This used to be commit 9d12fc7dc5abc82c8ad189420db1f85a89c71e4f)
2007-12-21r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij1-9/+9
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-61/+61
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-9/+9
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
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-12/+1
(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-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-10r23066: don't ignore errorsStefan Metzmacher1-0/+1
metze (This used to be commit 1a1a339d48af535d60a37b6c646e3e6ca95d41b5)
2007-10-10r19926: display user listing created by the test.Rafal Szczesniak1-0/+8
rafal (This used to be commit a97fb96203dab5de1d04f4c0917446e1d88f0168)
2007-10-10r19925: Close the lsa handle in the end, and test calling libnet_UserListRafal Szczesniak1-7/+18
with non-zero resume index to continue longer enumeration. rafal (This used to be commit efa04d6d0b62ff3c6332db4b31622c0579428a56)
2007-10-10r19923: Update test to match the function changes.Rafal Szczesniak1-2/+2
rafal (This used to be commit e1a20bba9dcc740630c093dcdd1f082e54473e95)
2007-10-10r19592: a simple test for libnet_UserListRafal Szczesniak1-7/+72
rafal (This used to be commit cfcbddfe71ce27bf195a1877f75789ef23bb6b1d)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-4/+4
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19187: this function should be static...Stefan Metzmacher1-2/+2
(this also fix compiler warnings) metze (This used to be commit f8afdac4710581db421dc7c558eb8ba57597b056)
2007-10-10r19025: - remove read-only and policy dependent fields and flagsRafal Szczesniak1-41/+64
- 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-10r18683: NET-USERMOD test changed to be able to perform multiple simultaneousRafal Szczesniak1-24/+6
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-10r18658: make the test change fields sequentially each one in turn.Rafal Szczesniak1-16/+39
now to multiple changes... rafal (This used to be commit 6df2c04e03ac6b7d518edfee7fd6a5de299bf9d4)
2007-10-10r18631: correct unintentional commit.Rafal Szczesniak1-1/+1
rafal (This used to be commit c68ec9109e970d899672b8c9db12c181ff6c3b59)
2007-10-10r18626: fix cleanup function to safely recover after interrupted testRafal Szczesniak1-28/+73
and add one requested field in to the function creating testing set of changes for user modify routine. rafal (This used to be commit f6d4f356b3de03baa3d1672730195668bbfdc9c7)
2007-10-10r18325: more warnings and one compile error on aix fixedAndrew Tridgell1-1/+1
(This used to be commit 6e7e151432a31e48a67679df3966d2227d555317)
2007-10-10r17939: Fix compiler warnings spotted on buildfarm.Rafal Szczesniak1-8/+19
rafal (This used to be commit 4803e95c68d8824b5494ee86d626e474d8a0c925)
2007-10-10r17857: A couple of new tests.Rafal Szczesniak1-0/+61
rafal (This used to be commit 6db488cc6e29704ae2ae17b2875a76ded5d86b88)
2007-10-10r17671: Update the tests according to changes in libnet context.Rafal Szczesniak1-5/+6
rafal (This used to be commit 9e7709de62ccb66d312e985fa0846b1004e77d32)
2007-10-10r17538: this function should be static...Stefan Metzmacher1-1/+1
metze (This used to be commit c4387dd3f6d1463d9557ee8923590fa5590b35ff)
2007-10-10r17484: Make last version of the function generating random set of changesRafal Szczesniak1-97/+124
more fair to each of the fields (ie. don't create new code at midnight after a long day...). This will be useful for testing multiple changes at once and verifying correctness. A few testing runs already demostrated some missing pieces. rafal (This used to be commit 809c9cca965841e8bce84f4b4ecf804ce793d807)
2007-10-10r17471: Add a function generating pseudorandom set of changes to testRafal Szczesniak1-10/+126
user modify routines. rafal (This used to be commit dbd34fe08270ac6fbb99733273cf1a3b965209c3)
2007-10-10r17449: Add another field to the test before expanding the whole testRafal Szczesniak1-0/+13
to more complex form. rafal (This used to be commit e68e296cbea5d2a40b56f6dd7d60410e0306b838)
2007-10-10r16533: Perform a cleanup after testing. Also, add changed name argument.Rafal Szczesniak1-0/+7
This test currently triggers internal corruption in ldb database, according to status code returned. I'm investigating win servers behaviour here. rafal (This used to be commit c73f4e11e4747b907dffafed09d354e12307435a)
2007-10-10r16342: Placeholder for a function implementing NET-API-MODIFYUSER test.Rafal Szczesniak1-1/+57
rafal (This used to be commit 82ac02dd18e96312ca15b8f79f6f1e3c330d01de)
2007-10-10r15787: NET-API-CREATEUSER was crashing for me because of this uninitialized ↵Simo Sorce1-0/+1
value... now it still does not work (auth failure ?!) but at least it does not crash (This used to be commit 43d9bfeb22787a2d65ec00b948d51ad3321cd6fd)
2007-10-10r15664: Add NET-API-DELETEUSER test for libnet_DeleteUser function.Rafal Szczesniak1-0/+164
Only the sync version right now. rafal (This used to be commit 7b5ebf93923fc1b33c2f3f8933a35f35f7d8a1e5)
2007-10-10r15626: Modify the tests to fit them in current changes in libnetRafal Szczesniak1-1/+1
functions. rafal (This used to be commit 849e3eee9476100d629be318610369662a114dd0)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+2
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-2/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher1-1/+0
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-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher1-1/+1
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8079: Dcerpc pipe in libnet_context is just pipe now, instead of explicit samr.Rafal Szczesniak1-1/+1
rafal (This used to be commit e7870156dacb2e0346e24f8490bfd90e8b21ea96)
2007-10-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell1-1/+1
event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)