summaryrefslogtreecommitdiffstats
path: root/source4/torture/libnet/userman.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:libnet: let libnet_rpc_usermod() take tevent_context/dcerpc_binding_handleStefan Metzmacher2014-01-161-1/+1
| | | | | | | This avoids usage/dereferencing 'struct dcerpc_pipe'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:libnet: let libnet_rpc_userdel() take tevent_context/dcerpc_binding_handleStefan Metzmacher2014-01-161-1/+3
| | | | | | | This avoids usage/dereferencing 'struct dcerpc_pipe'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:libnet: let libnet_rpc_useradd() take tevent_context/dcerpc_binding_handleStefan Metzmacher2014-01-161-1/+1
| | | | | | | This avoids usage/dereferencing 'struct dcerpc_pipe'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:libnet: let libnet_rpc_useradd_send() take ↵Stefan Metzmacher2014-01-161-1/+2
| | | | | | | | | tevent_context/dcerpc_binding_handle This avoids usage/dereferencing 'struct dcerpc_pipe'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:libnet: let libnet_rpc_userinfo() take tevent_context/dcerpc_binding_handleStefan Metzmacher2014-01-161-1/+1
| | | | | | | This avoids usage/dereferencing 'struct dcerpc_pipe'. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* Force cast to long as on some platform tv_usec is 32bit longMatthieu Patou2012-09-101-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
* s4-libnet: Add mem_ctx to libnet_rpc_useradd calls (bug #8889)Andrew Bartlett2012-04-301-1/+1
|
* s4: use GetTimeOfDay macro instead of gettimeofdayBjörn Jacke2010-08-311-1/+1
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* s4/test: Call test_user_cleanup with original RDN for the userKamen Mazdrashki2010-06-111-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
* s4/test: remove torture/libnet/utils.h as we are using proto.h nowKamen Mazdrashki2010-05-281-1/+1
|
* s4/test: change prototype for test_opendomain()Kamen Mazdrashki2010-05-281-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
* s4/test: rename enum test_fields{} member names to be more descriptiveKamen Mazdrashki2010-05-261-8/+8
|
* s4/test: Replace hand-made field count to testKamen Mazdrashki2010-05-261-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.
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-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
* s4-smbtorture: use torture_context for debugging output everywhere in libnet ↵Günther Deschner2010-03-231-21/+24
| | | | | | | | torture tests. Mimir, please check. Guenther
* s4-smbtorture: remove trailing whitespace in libnet torture tests.Günther Deschner2010-03-231-25/+25
| | | | Guenther
* s4:tortore/libnet: fix crash bugs because of incorrect function prototypesStefan Metzmacher2010-03-151-9/+15
| | | | metze
* Fixup the NET-API-USERMOD test.Andrew Bartlett2008-03-071-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)
* Convert to new torture API.Jelmer Vernooij2008-02-291-31/+23
| | | | (This used to be commit 40dffc177babec01c63fb717506fa86ff70a5b28)
* Fix up the libnet tests.Andrew Bartlett2008-02-281-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)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-3/+3
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-42/+42
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25377: Simplify code a little by employing commonly used functions.Rafal Szczesniak2007-10-101-188/+21
| | | | | rafal (This used to be commit f0be9939cd83d8568d6b7f0540fb73ab530243f7)
* r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2007-10-101-2/+2
| | | | | | number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij2007-10-101-6/+0
| | | | (This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
* r24735: Use torture API in more places.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
* r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
* r24051: more monitor function calls and monitor msg namesRafal Szczesniak2007-10-101-1/+1
| | | | | | | convention change. rafal (This used to be commit 6ab10b2ed256fa3c55d1af8ddcc9dfdaf4598a1e)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-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)
* r19924: win2k3srv did not like that combination.Rafal Szczesniak2007-10-101-1/+1
| | | | | rafal (This used to be commit 11b93da847420a509dc8d30ee5998557ea506291)
* r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
* r19251: fix silly typos causing the test to fail at account_nameRafal Szczesniak2007-10-101-7/+7
| | | | | | | and acct_expiry fields. rafal (This used to be commit dba5e642a0230539ac73292ac5baae0f74e9f46e)
* r19174: fix the test to pass against win2k3 server (username lengthRafal Szczesniak2007-10-101-1/+1
| | | | | | | limit had been hit here, I guess). rafal (This used to be commit 795a37e1708caf5563ba71696595a840bc53408c)
* r19025: - remove read-only and policy dependent fields and flagsRafal Szczesniak2007-10-101-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)
* r18753: expand the test so that it does a growing number of changesRafal Szczesniak2007-10-101-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)
* r18683: NET-USERMOD test changed to be able to perform multiple simultaneousRafal Szczesniak2007-10-101-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)
* r17717: this cried for bugs...and they happened...Stefan Metzmacher2007-10-101-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)
* r15921: Include new headers.Rafal Szczesniak2007-10-101-1/+0
| | | | | rafal (This used to be commit a528b64054551c780bd546c92edf189409fa358b)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14470: Remove some unnecessary headers.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
* r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2007-10-101-0/+1
| | | | | try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
* r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
* r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij2007-10-101-1/+1
| | | | | functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
* r12696: Reduce the size of include/structs.hJelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
* r12693: Move core data structures out of smb.h into core.hJelmer Vernooij2007-10-101-0/+1
| | | | | torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12542: Move some more prototypes out to seperate headersJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)