Age | Commit message (Collapse) | Author | Files | Lines |
|
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
|
|
|
|
- Close unused policy handle for created group
- re-align code - it is more readable this way IMHO
|
|
- fix a flaw that user RID is not returned in case
user is recreated
- close unused policy handle to created user
- do not take into account the result from
test_samr_close_handle - we don't case
|
|
|
|
|
|
Caller of this function may not need group RID and
in such case it passes NULL for rid parameter
|
|
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.
|
|
In case group already exists, we should get NT_STATUS_GROUP_EXISTS.
|
|
We always call this function with user's account RDN
while samr_LookupNames() searches for samAccountName.
|
|
|
|
- param names made more clear what they stand for
- user RID out param is now optional, so that this function may
be used in cases where we don't need user RID
- SAMR connection handle is closed as it is not used further
(we should play nice with servers)
|
|
|
|
- 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
|
|
- param names made more clear what they stand for
- dom_sid out param is now optional, so that this function may
be used in cases where we don't need dom_sid
- SAMR connection handle is closed as it is not used further
|
|
It is to be used further for closing opened handles when testing
using SAMR interface
|
|
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
|
|
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
torture tests.
Mimir, please check.
Guenther
|
|
Guenther
|
|
metze
|
|
metze
|
|
This reduces compile time somewhat.
|
|
Guenther
|
|
Guenther
|
|
|
|
remove some unused functions.
|
|
(This used to be commit 40dffc177babec01c63fb717506fa86ff70a5b28)
|
|
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
|
|
rafal
(This used to be commit 6e9708eba8236f16eed4b83909b6aebcf7001f5c)
|