1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/torture/libnet
Kamen Mazdrashki eda4926120 s4/test-libnet: Helper func to initialize libnet_context
and create rpc connections to SAMR and LSA pipes.
This function should be used in cases where we need
'deterministic' connection to the DC we are testing against.

The problem is that most of the test follow the pattern:
1. Connect to server supplied on command line
2. Create user/group through connection in 1.
3. Use 'fresh' libnet_context to query/alter the object in
   step 2.

In singe-DC environment this work well. But in multiple-DC
environment libnet may connect to another DC (step 3), not
the one we use in step 1 and 2. This leads to false error -
object created in step 2 is not found on DC we are querying
in step 3.
2010-06-11 01:20:09 +03:00
..
python s4-libnet: Simple test for net.SetPassword() python binding 2009-12-25 14:15:53 +01:00
domain.c s4:torture/rpc: rename rpc.h => torture_rpc.h 2010-04-14 20:27:11 +02:00
groupinfo.c s4/test: remove torture/libnet/utils.h as we are using proto.h now 2010-05-28 22:30:09 +03:00
groupman.c s4/test: remove torture/libnet/utils.h as we are using proto.h now 2010-05-28 22:30:09 +03:00
grouptest.h s4-smbtorture: remove trailing whitespace in libnet torture tests. 2010-03-23 16:13:54 +01:00
libnet_BecomeDC.c Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
libnet_domain.c s4:torture/rpc: rename rpc.h => torture_rpc.h 2010-04-14 20:27:11 +02:00
libnet_group.c s4/test: remove create/delete group implementation in API-CREATEGROUP test 2010-06-11 01:20:09 +03:00
libnet_lookup.c s4:torture/rpc: rename rpc.h => torture_rpc.h 2010-04-14 20:27:11 +02:00
libnet_rpc.c s4:torture/rpc: rename rpc.h => torture_rpc.h 2010-04-14 20:27:11 +02:00
libnet_share.c s4:torture/rpc: rename rpc.h => torture_rpc.h 2010-04-14 20:27:11 +02:00
libnet_user.c s4/test: libnet_user tests should use common test_user_cleanup 2010-06-11 01:20:08 +03:00
libnet.c s4-torture: ran minimal_includes.pl over source4/torture 2009-10-20 16:04:46 +11:00
userinfo.c s4/test: remove torture/libnet/utils.h as we are using proto.h now 2010-05-28 22:30:09 +03:00
userman.c s4/test: Call test_user_cleanup with original RDN for the user 2010-06-11 01:20:09 +03:00
usertest.h s4/test: rename enum test_fields{} member names to be more descriptive 2010-05-26 14:36:13 +03:00
utils.c s4/test-libnet: Helper func to initialize libnet_context 2010-06-11 01:20:09 +03:00