Michael Adam [Thu, 2 May 2013 10:38:00 +0000 (12:38 +0200)]
WMI: commit wmi-1.3.14
Michael Adam [Thu, 2 May 2013 10:37:27 +0000 (12:37 +0200)]
WMI: commit code from wmi-1.3.13
Andrew Tridgell [Sat, 9 Dec 2006 03:16:17 +0000 (03:16 +0000)]
r20092: added a locking benchmark that should be good for benchmarking
communitcation in a CIFS clustered server. It tries to keep the
connections full by setting up the next lock as each lock is done.
The locking pattern is similar to the local filesystem ping pong test
in junkcode, forcing a communication between nodes on each request
Andrew Tridgell [Sat, 9 Dec 2006 03:12:33 +0000 (03:12 +0000)]
r20091: remove blank lines at the end of text lines loaded from a file
Stefan Metzmacher [Fri, 8 Dec 2006 18:52:29 +0000 (18:52 +0000)]
r20088: implement DsReplicaUpdateRefs() calls for all partitions
metze
Stefan Metzmacher [Fri, 8 Dec 2006 18:29:44 +0000 (18:29 +0000)]
r20086: pull domain partition
metze
Stefan Metzmacher [Fri, 8 Dec 2006 18:22:26 +0000 (18:22 +0000)]
r20085: add _part to structure elements
metze
Stefan Metzmacher [Fri, 8 Dec 2006 18:13:49 +0000 (18:13 +0000)]
r20084: pull the config partition
metze
Stefan Metzmacher [Fri, 8 Dec 2006 18:08:30 +0000 (18:08 +0000)]
r20083: move function together which belong to each other
metze
Stefan Metzmacher [Fri, 8 Dec 2006 18:06:38 +0000 (18:06 +0000)]
r20081: pull the whole schema partition
metze
Stefan Metzmacher [Fri, 8 Dec 2006 18:01:30 +0000 (18:01 +0000)]
r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
metze
Stefan Metzmacher [Fri, 8 Dec 2006 17:34:15 +0000 (17:34 +0000)]
r20079: the 2nd guid is the source_dsa invocation_id not the objectGUID,
this wasn't noticed because on the 1st dc in the forest both have the
same value
metze
Andrew Tridgell [Fri, 8 Dec 2006 03:47:55 +0000 (03:47 +0000)]
r20078: support the large samba3 reads in RAW-READ test
Andrew Tridgell [Fri, 8 Dec 2006 03:47:02 +0000 (03:47 +0000)]
r20077: support large readx replies, as done by samba3 (and the snia spec),
but not done by windows servers
Stefan Metzmacher [Fri, 8 Dec 2006 00:26:44 +0000 (00:26 +0000)]
r20076: give the guids meanings
metze
Stefan Metzmacher [Fri, 8 Dec 2006 00:16:36 +0000 (00:16 +0000)]
r20075: start pulling the schema content.
Note: we're not doing the "use the policy handle on a different connection"
trick, which w2k3 use
metze
Stefan Metzmacher [Fri, 8 Dec 2006 00:11:39 +0000 (00:11 +0000)]
r20074: this values seem to be typos in
http://msdn2.microsoft.com/en-us/library/ms676264.aspx
metze
Stefan Metzmacher [Fri, 8 Dec 2006 00:09:07 +0000 (00:09 +0000)]
r20073: update the computer_dn_str after ldb_rename()
metze
Stefan Metzmacher [Thu, 7 Dec 2006 20:12:24 +0000 (20:12 +0000)]
r20072: make sure WERR_ACCESS_DENIED gets mapped to NT_STATUS_ACCESS_DENIED
metze
Stefan Metzmacher [Thu, 7 Dec 2006 20:11:00 +0000 (20:11 +0000)]
r20071: move common code into a function
metze
Stefan Metzmacher [Thu, 7 Dec 2006 19:50:46 +0000 (19:50 +0000)]
r20070: implement the 2nd and 3rd drsuapi connection
metze
Stefan Metzmacher [Thu, 7 Dec 2006 19:18:55 +0000 (19:18 +0000)]
r20068: handle DsAddEntry() errors
metze
Stefan Metzmacher [Thu, 7 Dec 2006 15:33:24 +0000 (15:33 +0000)]
r20067: use a global zero_sid
metze
Stefan Metzmacher [Thu, 7 Dec 2006 15:29:38 +0000 (15:29 +0000)]
r20066: use the same sid "Domain Admins" for the security_descriptor
metze
Stefan Metzmacher [Thu, 7 Dec 2006 15:27:18 +0000 (15:27 +0000)]
r20065: make it possible to get the dns domain name and netbios domain name
of the join account
metze
Stefan Metzmacher [Thu, 7 Dec 2006 15:24:23 +0000 (15:24 +0000)]
r20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()
request work correctly
- the error structures all have the same type
metze
Stefan Metzmacher [Thu, 7 Dec 2006 10:04:35 +0000 (10:04 +0000)]
r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)
metze
Stefan Metzmacher [Thu, 7 Dec 2006 06:41:24 +0000 (06:41 +0000)]
r20061: use a DsBindInfo28 structure
metze
Andrew Tridgell [Thu, 7 Dec 2006 04:02:20 +0000 (04:02 +0000)]
r20059: james was asking about CAP_LARGE_READX and reads close to the 64k
boundary. This test shows that both for Samba4 and w2k3, reads larger
than or equal to 64k don't work (return zero bytes).
Not that I claim this is very useful behaviour :-)
Stefan Metzmacher [Wed, 6 Dec 2006 16:04:43 +0000 (16:04 +0000)]
r20056: send a DsBindInfo28 struct in the DsBind() and take care of the DsBindInfo
the remote end sends back
metze
Stefan Metzmacher [Wed, 6 Dec 2006 15:29:01 +0000 (15:29 +0000)]
r20055: implement dummy DsAddEntry call (without attributes yet)
metze
Stefan Metzmacher [Wed, 6 Dec 2006 12:25:41 +0000 (12:25 +0000)]
r20053: implement the DsBind on the 1st drsuapi connection
metze
Stefan Metzmacher [Wed, 6 Dec 2006 12:15:07 +0000 (12:15 +0000)]
r20052: implement the first drsuapi connection
metze
Stefan Metzmacher [Wed, 6 Dec 2006 12:08:32 +0000 (12:08 +0000)]
r20051: handle the case where the server object exist, but doesn't have a serverReference
metze
Stefan Metzmacher [Wed, 6 Dec 2006 09:25:26 +0000 (09:25 +0000)]
r20047: patch from Julien Kerihuel <j.kerihuel@openchange.org>
to make the "remote" rpc proxy work for outlook and exchange
metze
Volker Lendecke [Tue, 5 Dec 2006 16:20:39 +0000 (16:20 +0000)]
r20046: Add ldb_search_exp_fmt and port comment to 4
Stefan Metzmacher [Tue, 5 Dec 2006 15:41:41 +0000 (15:41 +0000)]
r20045: implement the drsuapi_DsRemoveDSServer() call
metze
Stefan Metzmacher [Tue, 5 Dec 2006 14:41:13 +0000 (14:41 +0000)]
r20044: implement the drsuapi connect and ds_bind
metze
Stefan Metzmacher [Tue, 5 Dec 2006 13:46:27 +0000 (13:46 +0000)]
r20043: when becoming a dc:
- implement set userAccountControl = UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION
- implement moving to CN=Domain Controllers
metze
Stefan Metzmacher [Tue, 5 Dec 2006 13:21:47 +0000 (13:21 +0000)]
r20042: move the computer account to the CN=Computers container if needed
metze
Stefan Metzmacher [Tue, 5 Dec 2006 12:52:02 +0000 (12:52 +0000)]
r20041: when unbecoming a dc:
- implement lookup the computer object
- set userAccountControl = UF_WORKSTATION_TRUST_ACCOUNT if needed
metze
Stefan Metzmacher [Tue, 5 Dec 2006 11:49:55 +0000 (11:49 +0000)]
r20040: uncomplete implementation start for libnet_UnbecomeDC()
metze
Stefan Metzmacher [Tue, 5 Dec 2006 11:08:53 +0000 (11:08 +0000)]
r20039: things which need to be done for unbecoming a dc
metze
Stefan Metzmacher [Tue, 5 Dec 2006 10:18:21 +0000 (10:18 +0000)]
r20038: document first rootdse search
metze
Simo Sorce [Tue, 5 Dec 2006 04:25:27 +0000 (04:25 +0000)]
r20034: Start using ldb_search_exp_fmt()
Simo Sorce [Tue, 5 Dec 2006 03:52:58 +0000 (03:52 +0000)]
r20033: Never commit before testing
Never commit before testing
Never commit before testing
:-)
Simo Sorce [Tue, 5 Dec 2006 02:48:58 +0000 (02:48 +0000)]
r20032: Add ldb_search_exp_fmt()
This functions adds support of a memory context to hook the results to
and a printf style exp_fmt partameter to easily build expressions at once.
Stefan Metzmacher [Mon, 4 Dec 2006 18:20:03 +0000 (18:20 +0000)]
r20031: - implement earching for an existing server object
- implement adding a server object
metze
Stefan Metzmacher [Mon, 4 Dec 2006 17:27:46 +0000 (17:27 +0000)]
r20030: - implement the computer object search
- fix a source vs. dest dsa bug
metze
Stefan Metzmacher [Mon, 4 Dec 2006 16:30:27 +0000 (16:30 +0000)]
r20029: - implement source_dsa site object search
metze
Stefan Metzmacher [Mon, 4 Dec 2006 11:08:56 +0000 (11:08 +0000)]
r20028: fix typos
metze
Stefan Metzmacher [Mon, 4 Dec 2006 11:07:59 +0000 (11:07 +0000)]
r20027: restore instanceType and systemFlags values, which got lost in
http://viewcvs.samba.org/cgi-bin/viewcvs.cgi/branches/SAMBA_4_0/source/dsdb/common/flags.h?p1=branches%2FSAMBA_4_0%2Fsource%2Finclude%2Fads.h&rev=17930&r1=15511&r2=17930
metze
Stefan Metzmacher [Mon, 4 Dec 2006 10:02:08 +0000 (10:02 +0000)]
r20026: - store the infrastructure server_dn_str
- implement the rid manager info searches
metze
Stefan Metzmacher [Mon, 4 Dec 2006 09:40:16 +0000 (09:40 +0000)]
r20025: - implement the windows2003update revision search
- finish the infrastructure fsmo detail searches
metze
Stefan Metzmacher [Sun, 3 Dec 2006 21:05:18 +0000 (21:05 +0000)]
r20024: lookup the infrastructure fSMORoleOwner on the 1st LDAP connection
metze
Stefan Metzmacher [Sun, 3 Dec 2006 20:45:13 +0000 (20:45 +0000)]
r20023: handle <SID=...> <WKGUID=...> dn's also in ldb_dn_new_fmt()
metze
Stefan Metzmacher [Sun, 3 Dec 2006 20:37:44 +0000 (20:37 +0000)]
r20022: - implement the ldap connect code
- implement rootdse search on the 1st LDAP connection
- implement msDs-Behavior-Version and objectVersion searches on the 1st LDAP connection
metze
Stefan Metzmacher [Sun, 3 Dec 2006 19:22:51 +0000 (19:22 +0000)]
r20021: implement a CLDAP netlogon request to get some infos
needed for becoming a dc.
metze
Stefan Metzmacher [Sat, 2 Dec 2006 15:35:27 +0000 (15:35 +0000)]
r20011: define libnet_BecomeDC_state struct and add some dummy functions
metze
Stefan Metzmacher [Sat, 2 Dec 2006 13:16:15 +0000 (13:16 +0000)]
r20010: cosmetic fix
metze
Stefan Metzmacher [Sat, 2 Dec 2006 13:00:20 +0000 (13:00 +0000)]
r20009: use a composite context
metze
Stefan Metzmacher [Sat, 2 Dec 2006 12:46:13 +0000 (12:46 +0000)]
r20008: add stubs for a libnet_BecomeDC() call
metze
Stefan Metzmacher [Sat, 2 Dec 2006 09:19:09 +0000 (09:19 +0000)]
r20002: finish requests on the first LDAP connection
metze
Stefan Metzmacher [Sat, 2 Dec 2006 09:03:47 +0000 (09:03 +0000)]
r20000: 20000
metze
Stefan Metzmacher [Sat, 2 Dec 2006 09:03:02 +0000 (09:03 +0000)]
r19999: add section for adding the server object
metze
Stefan Metzmacher [Sat, 2 Dec 2006 08:58:34 +0000 (08:58 +0000)]
r19998: add section for finding details about the new_dc server object
metze
Stefan Metzmacher [Sat, 2 Dec 2006 08:50:23 +0000 (08:50 +0000)]
r19997: section about finding the new_dc computer account
metze
Stefan Metzmacher [Sat, 2 Dec 2006 08:44:08 +0000 (08:44 +0000)]
r19996: add section about finding site details
metze
Stefan Metzmacher [Sat, 2 Dec 2006 08:33:11 +0000 (08:33 +0000)]
r19995: add section about finding details of the RID Manager fSMORoleOwner
metze
Stefan Metzmacher [Sat, 2 Dec 2006 08:25:41 +0000 (08:25 +0000)]
r19994: complete section about finding details about the
Infrastructure fSMORoleOwner
metze
Paul Green [Fri, 1 Dec 2006 19:48:31 +0000 (19:48 +0000)]
r19989: Add support to the tdb Makefile.in for executable extensions and for
separately specifying CPPFLAGS and LDFLAGS.
Stefan Metzmacher [Fri, 1 Dec 2006 18:05:09 +0000 (18:05 +0000)]
r19988: the first LDAP calls for becoming a ads dc
metze
Stefan Metzmacher [Fri, 1 Dec 2006 17:30:41 +0000 (17:30 +0000)]
r19987: some more notes about how to w2k3 becomes a dc
the strange thing is the DsGetNCChanges() calls are on their on DRSUAPI
connection, but use a bind_handle (policy handle from another connection)
metze
Rafal Szczesniak [Thu, 30 Nov 2006 20:29:49 +0000 (20:29 +0000)]
r19972: put a placeholder of a new js function and use error strings
returned by each libnet call.
rafal
Rafal Szczesniak [Thu, 30 Nov 2006 20:28:12 +0000 (20:28 +0000)]
r19971: typo fix
rafal
Rafal Szczesniak [Thu, 30 Nov 2006 19:51:58 +0000 (19:51 +0000)]
r19970: more comments and fixes
rafal
Stefan Metzmacher [Thu, 30 Nov 2006 13:34:17 +0000 (13:34 +0000)]
r19969: split become ads dc TODO lists into W2K and W2K3 sections
metze
Stefan Metzmacher [Thu, 30 Nov 2006 11:43:05 +0000 (11:43 +0000)]
r19968: add some more notes about what's needed for becoming a ads dc
metze
Stefan Metzmacher [Thu, 30 Nov 2006 11:18:18 +0000 (11:18 +0000)]
r19967: this unknowns are max_object_count and max_ndr_size
metze
Stefan Metzmacher [Thu, 30 Nov 2006 10:44:49 +0000 (10:44 +0000)]
r19966: we don't need 2 versions of this functions
metze
Stefan Metzmacher [Thu, 30 Nov 2006 10:16:19 +0000 (10:16 +0000)]
r19965: make the output a bit nicer
metze
Stefan Metzmacher [Thu, 30 Nov 2006 10:03:54 +0000 (10:03 +0000)]
r19964: make debuging easier and report usefull error messages
metze
Jeremy Allison [Thu, 30 Nov 2006 03:25:07 +0000 (03:25 +0000)]
r19960: Add code to check for loops in the free list.
Should help us validate tdb's against corruption.
Jeremy.
Rafal Szczesniak [Wed, 29 Nov 2006 22:10:15 +0000 (22:10 +0000)]
r19956: remove unused function
rafal
Stefan Metzmacher [Wed, 29 Nov 2006 20:03:19 +0000 (20:03 +0000)]
r19954: allow more special dn's:
this works now against w2k3:
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<GUID=
44087590-dd95-435c-adc1-
ec20a50807be>" -s base
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<SID=S-1-5-21-
769185814-
1958994947-
1641909093-513>" -s base
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<WKGUID=
AB8153B7768811D1ADED00C04FD8D5CD,DC=w2k3,dc=vmnet1,dc=vm,dc=base>" -s base
and we should try to implement this in the server too...
metze
Paul Green [Wed, 29 Nov 2006 18:44:54 +0000 (18:44 +0000)]
r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) because
when pipe files are substituting for unix domain sockets, pipes provide
only uni-directional i/o capabilities.
Stefan Metzmacher [Wed, 29 Nov 2006 17:55:21 +0000 (17:55 +0000)]
r19951: this statement is true...
metze
Stefan Metzmacher [Wed, 29 Nov 2006 15:40:26 +0000 (15:40 +0000)]
r19949: add comment that the configuration_dn needs to be looked up
it's not under the domain_dn if the domain is a child domain
in the forest
metze
Rafal Szczesniak [Tue, 28 Nov 2006 21:03:39 +0000 (21:03 +0000)]
r19938: Return function status instead of rpc layer status. This is
needed to correctly return STATUS_MORE_ENTRIES and the like.
rafal
Rafal Szczesniak [Tue, 28 Nov 2006 21:01:10 +0000 (21:01 +0000)]
r19937: fix sending monitor message (spotted by metze).
rafal
Stefan Metzmacher [Tue, 28 Nov 2006 17:30:43 +0000 (17:30 +0000)]
r19934: - allow to pass a samr_UserInfo21 struct to be passed to libnet_SetPassword()
- as the SetUserInfo2() levels 26/25 and 24/23 have the same encryption
but 26 and 24 change only the password and 25 and 23 take a info21 and change the password,
we now use 26 with fallback to 24 or 25 with fallback to 23.
- use samr_SetUserInfo2() to match what w2k3 does (works also against nt4)
- pass the info21 to libnet_SetPassword() to set acct_flags and full_name
together with the password (to match what w2k3 does)
metze
Stefan Metzmacher [Tue, 28 Nov 2006 16:05:10 +0000 (16:05 +0000)]
r19933: something is really wrong here...
mimir: please take a look!
metze
Stefan Metzmacher [Tue, 28 Nov 2006 13:30:15 +0000 (13:30 +0000)]
r19931: remove unused struct members
metze
Rafal Szczesniak [Mon, 27 Nov 2006 23:48:19 +0000 (23:48 +0000)]
r19926: display user listing created by the test.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 22:40:53 +0000 (22:40 +0000)]
r19925: Close the lsa handle in the end, and test calling libnet_UserList
with non-zero resume index to continue longer enumeration.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 21:56:44 +0000 (21:56 +0000)]
r19924: win2k3srv did not like that combination.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 21:56:14 +0000 (21:56 +0000)]
r19923: Update test to match the function changes.
rafal
Rafal Szczesniak [Mon, 27 Nov 2006 21:55:24 +0000 (21:55 +0000)]
r19922: Use new composite_create functions in composite context
initialisation.
Redesign libnet_UserList function to actually do what it
was intended to do.
rafal
Simo Sorce [Mon, 27 Nov 2006 05:32:35 +0000 (05:32 +0000)]
r19911: talloc_apsrintf is not really required here
its faster this way (another 2-4%s)
Simo Sorce [Sun, 26 Nov 2006 21:50:24 +0000 (21:50 +0000)]
r19910: Make better use of our set of talloc utility functions