diff options
author | Kamen Mazdrashki <kamenim@samba.org> | 2010-06-10 13:12:08 +0300 |
---|---|---|
committer | Kamen Mazdrashki <kamenim@samba.org> | 2010-06-11 01:20:09 +0300 |
commit | eda49261205471a1e0c96ae4e1eda037edb11eba (patch) | |
tree | f0272ba5805abb7d9d43435a434c0802c615bc58 /source4/torture/ldap | |
parent | 85d7863b2c2420bd652d73ab4ec230f709acae73 (diff) | |
download | samba-eda49261205471a1e0c96ae4e1eda037edb11eba.tar.gz samba-eda49261205471a1e0c96ae4e1eda037edb11eba.tar.bz2 samba-eda49261205471a1e0c96ae4e1eda037edb11eba.zip |
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.
Diffstat (limited to 'source4/torture/ldap')
0 files changed, 0 insertions, 0 deletions