summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
AgeCommit message (Collapse)AuthorFilesLines
2010-03-29s4:torture/libnet:add explicit check for NTSTATUS r.out.resultGünther Deschner5-207/+223
Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-23s4-smbtorture: use torture_context in libnet domain tests as well.Günther Deschner1-8/+10
Guenther
2010-03-23s4-smbtorture: use torture_context for debugging output everywhere in libnet ↵Günther Deschner12-245/+271
torture tests. Mimir, please check. Guenther
2010-03-23s4-smbtorture: remove trailing whitespace in libnet torture tests.Günther Deschner14-185/+185
Guenther
2010-03-16s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett1-3/+3
This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett
2010-03-15s4:tortore/libnet: fix crash bugs because of incorrect function prototypesStefan Metzmacher6-26/+43
metze
2010-03-12s4:torture/libnet: make use of dcerpc_binding_handle stubsStefan Metzmacher6-91/+97
metze
2010-03-11s4:torture/libnet/libnet_user.c: fix double free in error pathStefan Metzmacher1-1/+0
metze
2010-03-11NET-API-BECOME-DC: convert to torture apiStefan Metzmacher1-54/+28
metze
2010-01-18idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell1-6/+6
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations.
2009-12-25s4-libnet: Simple test for net.SetPassword() python bindingKamen Mazdrashki1-0/+62
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-11-17s4:dsdb Load objectGUID and extended DN defaultObjectCategory into the schemaAndrew Bartlett1-1/+1
The load of defaultObjectCategory as an extended DN means we need to use the common parsing functions I just split out, rather than the GET_DS_DN macro. The objectGUIDs are loaded so that we can create the extended DN when we load from LDIF (and are loaded for the other cases for consistency). Also adapt callers to API changes needed for common parsing code Andrew Bartlett
2009-11-12NET-API-BECOME-DC: resolve the host name to an address before callingStefan Metzmacher1-2/+16
libnet_BecomeDC and libnet_UnbecomeDC() We're supposed to pass in source_dsa_address... metze
2009-11-12s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS importAndrew Bartlett1-26/+38
This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett
2009-11-06s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid()Kamen Mazdrashki1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵Kamen Mazdrashki1-1/+1
dsdb_schema_pfm_contains_drsuapi_pfm() dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented prefixMap interface. This name was choosen to clearly show, that this a week verification in case we want to determine if remote schema is changed. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi()Kamen Mazdrashki1-1/+1
Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use dsdb_schema_pfm_from_drsuapi_pfm() function to load drsuapi_prefixMap into schema->prefixmap Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-4/+4
This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
2009-10-22s4-torture: fixed double free in libnet_group testAndrew Tridgell1-1/+0
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell9-24/+0
This reduces compile time somewhat.
2009-09-15s4-repl: don't do double replicationAndrew Tridgell1-2/+4
When we replicate from a remote DC, we need to note the new uSN that the local changes have resulted in, and modify the uSN that the notify task uses to determine if it should send a ReplicaSync message back to the remote DC. Otherwise we end up always triggering a ReplicaSync every time we replicate from another DC
2009-06-18s4:libnet Allow 'net password change' to work on expired passwordsAndrew Bartlett1-0/+2
We need to pass down flags to the DCE/RPC layer to allow fallback to anonymous connections, as we can't log in with an expired password. The anonymous connection can then change the password with SAMR. Andrew Bartlett
2009-04-02major upgrade to the ldb attribute handlingAndrew Tridgell1-1/+1
This is all working towards supporting the full WSPP schema without a major performance penalty. We now use binary searches when looking up classes and attributes. We also avoid the loop loading the attributes into ldb, by adding a hook to override the ldb attribute search function in a module. The attributes can thus be loaded once, and then saved as part of the global schema. Also added support for a few more key attribute syntaxes, as needed for the full schema.
2008-12-29s4 libnet: Add support for groupinfo by sid lookupKai Blin1-2/+3
2008-12-23Fix more compiler warnings.Jelmer Vernooij1-13/+13
2008-11-10s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python)Günther Deschner4-7/+15
Guenther
2008-11-10s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)Günther Deschner3-4/+16
Guenther
2008-10-31s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.Günther Deschner1-1/+4
Guenther
2008-10-31s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.Günther Deschner1-2/+2
Apparently both s3 and s4 are not entirely correct one this. metze is looking into hand-marshalling security descriptors so this will fix this finally. For now, just keep the two in sync. Guenther
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+1
remove some unused functions.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-07-16drsuapi: print out the number of linked attribute values we gotStefan Metzmacher1-16/+27
metze (This used to be commit 34f8b2abdd546f6b60ddae2ad839119f211c995c)
2008-07-16drsuapi: make use of the 'more_data' field in DsGetNCChangesCtr[1|6]Stefan Metzmacher1-1/+1
metze (This used to be commit 35c7fa470a7433d081403b2b57a331c7dc287aef)
2008-07-16drsuapi: total_object_count was the wrong guessStefan Metzmacher1-13/+10
The total_object_count member of DsGetNCChangesCtr[1|6] was wrong it's the error code of an extended operation. DsGetNCChangesCtr6 has a nc_object_count value which contains the estimated amount of objects in the naming_context. W2k seems to have a bug and sends this number of objects in the extended_ret field. Maybe it's just a bug and not a feature:-) metze (This used to be commit 67931092128ce89aadf689a54e20d6e4a9d7fe2c)
2008-07-16NET-API-BECOME-DC: fix crash bugs because of unintialized variablesStefan Metzmacher1-1/+4
metze (This used to be commit 6acf42c2e41bb1d44c1fcaaaa58fc3f148491836)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-2/+2
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-24libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuidKai Blin1-2/+4
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-2/+2
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-2/+2
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-17Avoid using event_context_find where possible.Jelmer Vernooij1-3/+1
(This used to be commit 04420b4689bc223202d5bba871e3eea16301e8e9)
2008-04-14Fix problems with event context not being the parent.Simo Sorce6-21/+20
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-04-11Reuse the lp_ctx and samdb returned by the python provision.Andrew Bartlett1-36/+2
Apply the same fix as in libnet_vampire in the old DRS test code. Andrew Bartlett (This used to be commit 34adb0e0bb1b3c340d7098e7a3d12f73f798d0e7)
2008-04-11Fix merge errors on C provision interface after jelmer's good work.Andrew Bartlett1-1/+2
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet Conflicts: source/torture/local/torture.c (This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-10Fix extra argument to provision_bare().Jelmer Vernooij1-1/+2
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)
2008-04-09Remove dns_name elementAndrew Bartlett1-1/+0
This is only used in the DEBUG() message, so let's remove it. Andrew Bartlett (This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
2008-04-09Move provision C bindings to param/.Jelmer Vernooij1-0/+1
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)
2008-04-04Pass discovered server DN down to provision.Andrew Bartlett1-0/+1
This uses the new 'serverdn' argument added to provision in the previous commit. Andrew Bartlett (This used to be commit 74480c7de76069701246eb5b7acc5858b84d106c)
2008-03-07Fixup the NET-API-USERMOD test.Andrew Bartlett2-5/+5
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)