summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/userman.c
AgeCommit message (Collapse)AuthorFilesLines
2012-09-10Force cast to long as on some platform tv_usec is 32bit longMatthieu Patou1-2/+2
Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Sep 10 07:33:50 CEST 2012 on sn-devel-104
2012-04-30s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)Andrew Bartlett1-1/+1
2010-08-31s4: use GetTimeOfDay macro instead of gettimeofdayBjörn Jacke1-1/+1
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-3/+3
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-11s4/test: Call test_user_cleanup with original RDN for the userKamen Mazdrashki1-1/+1
'name' var is changed during the test execution and should contain samAccountName for the user, while test_user_cleanup() expects account RDN to be passed
2010-05-28s4/test: remove torture/libnet/utils.h as we are using proto.h nowKamen Mazdrashki1-1/+1
2010-05-28s4/test: change prototype for test_opendomain()Kamen Mazdrashki1-4/+4
- name changed to test_domain_open to be more alike athore functions in utils.c file - output parameters moved to the end param list definition just after mem_ctx so it is somehow more clear those params are OUT
2010-05-26s4/test: rename enum test_fields{} member names to be more descriptiveKamen Mazdrashki1-8/+8
2010-05-26s4/test: Replace hand-made field count to testKamen Mazdrashki1-3/+3
This patch replaces hand-make count of fields to be tested with defines for FIRST-LAST value for corresponding fields to test with. As a side-effect, 'acct_flags' is now included in tests.
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-03-23s4-smbtorture: use torture_context for debugging output everywhere in libnet ↵Günther Deschner1-21/+24
torture tests. Mimir, please check. Guenther
2010-03-23s4-smbtorture: remove trailing whitespace in libnet torture tests.Günther Deschner1-25/+25
Guenther
2010-03-15s4:tortore/libnet: fix crash bugs because of incorrect function prototypesStefan Metzmacher1-9/+15
metze
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)