1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

389 Commits

Author SHA1 Message Date
Rafal Szczesniak
5ff19e8ca4 r20162: Always return some error string.
rafal
(This used to be commit 0c37360577)
2007-10-10 14:29:16 -05:00
Rafal Szczesniak
1dd09da392 r20161: Prevent potential segfault in case account is unknown.
rafal
(This used to be commit 9f5f9ee9b4)
2007-10-10 14:29:16 -05:00
Stefan Metzmacher
f1317dadc0 r20142: only the DDNS updates are missing for the full libnet_BecomeDC(),
but that's not needed untill we can support the DsGetNCChanges()
in the server...

metze
(This used to be commit 9c3267e17f)
2007-10-10 14:29:14 -05:00
Rafal Szczesniak
6de9ae9e43 r20138: return the proper status for the other functions as well.
rafal
(This used to be commit 0b82b9dba1)
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
3dde7ab2c0 r20137: return the proper status.
rafal
(This used to be commit e635f5aeaf)
2007-10-10 14:29:13 -05:00
Andrew Bartlett
334f78d206 r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and in
particular to verify more expected results.

Also return more details from the join process.  Now we also return
the machine account's GUID.

Andrew Bartlett
(This used to be commit 5b32f102af)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
d23f3119a9 r20109: let libnet_BecomeDC() work against w2k servers
metze
(This used to be commit d295239861)
2007-10-10 14:29:08 -05:00
Stefan Metzmacher
d4ac51982c r20105: remove useless comments
metze
(This used to be commit d70140ed07)
2007-10-10 14:29:07 -05:00
Rafal Szczesniak
47e03d96a2 r20103: Change the returned type of prerequisite checking functions,
as metze once suggested.

rafal
(This used to be commit 1f3fd5f854)
2007-10-10 14:29:06 -05:00
Andrew Bartlett
e8e61a414a r20102: Do not reference remote_ldb before we initialise it. This should fix
up many of the build farm failures.

Andrew Bartlett
(This used to be commit 924af98ffa)
2007-10-10 14:29:06 -05:00
Andrew Bartlett
1e6807d8a1 r20099: Add some comments, and correct others.
Andrew Bartlett
(This used to be commit d1b1a4c059)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
04b50f0f0d r20095: make a complete copy of the binding string
metze
(This used to be commit b0ee130892)
2007-10-10 14:29:05 -05:00
Stefan Metzmacher
8b137ba30a r20088: implement DsReplicaUpdateRefs() calls for all partitions
metze
(This used to be commit 557bb80089)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
7312cda3b3 r20086: pull domain partition
metze
(This used to be commit 8b03b3a196)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
9e426649c5 r20085: add _part to structure elements
metze
(This used to be commit de2f9869b5)
2007-10-10 14:29:03 -05:00
Stefan Metzmacher
d26ac7b937 r20084: pull the config partition
metze
(This used to be commit d770effb89)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
3155ded048 r20083: move function together which belong to each other
metze
(This used to be commit 0c4a7d713d)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
662ea9f1c7 r20081: pull the whole schema partition
metze
(This used to be commit 2f1ec24d77)
2007-10-10 14:29:02 -05:00
Stefan Metzmacher
d3c9737e5b 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
(This used to be commit 527bd9a0a3)
2007-10-10 14:29:01 -05:00
Stefan Metzmacher
3fd9c96342 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
(This used to be commit 1e4abd6a91)
2007-10-10 14:29:00 -05:00
Stefan Metzmacher
6011531ac6 r20073: update the computer_dn_str after ldb_rename()
metze
(This used to be commit c40bc7d287)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
048279b2be r20071: move common code into a function
metze
(This used to be commit 61c312a943)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
1e17f6ed38 r20070: implement the 2nd and 3rd drsuapi connection
metze
(This used to be commit 6b84a5b595)
2007-10-10 14:28:59 -05:00
Stefan Metzmacher
99390be80c r20068: handle DsAddEntry() errors
metze
(This used to be commit 45466871b4)
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
3aedc80896 r20067: use a global zero_sid
metze
(This used to be commit 5ebf76d23e)
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
81a3bd7bc8 r20066: use the same sid "Domain Admins" for the security_descriptor
metze
(This used to be commit 58ae1bedf1)
2007-10-10 14:28:58 -05:00
Stefan Metzmacher
0df2c30821 r20062: send values in DsAddEntry(), but it didn't work yet (ACCESS_DENIED...)
metze
(This used to be commit e8c77b5cba)
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
553e339f0d r20061: use a DsBindInfo28 structure
metze
(This used to be commit e8c1457797)
2007-10-10 14:28:57 -05:00
Stefan Metzmacher
ac98f84de7 r20056: send a DsBindInfo28 struct in the DsBind() and take care of the DsBindInfo
the remote end sends back

metze
(This used to be commit ff27129792)
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
383cbaa6b0 r20055: implement dummy DsAddEntry call (without attributes yet)
metze
(This used to be commit 8441500a32)
2007-10-10 14:28:56 -05:00
Stefan Metzmacher
496b65d593 r20053: implement the DsBind on the 1st drsuapi connection
metze
(This used to be commit f66f9c2150)
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
85497ed8cb r20052: implement the first drsuapi connection
metze
(This used to be commit 96e5d89655)
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
840ef0d5cf r20051: handle the case where the server object exist, but doesn't have a serverReference
metze
(This used to be commit e5729a29fd)
2007-10-10 14:28:55 -05:00
Stefan Metzmacher
bb725bbe01 r20045: implement the drsuapi_DsRemoveDSServer() call
metze
(This used to be commit deb85414c4)
2007-10-10 14:28:54 -05:00
Stefan Metzmacher
b3f6211f86 r20044: implement the drsuapi connect and ds_bind
metze
(This used to be commit 69f1b8d388)
2007-10-10 14:28:54 -05:00
Stefan Metzmacher
20f55aaad8 r20043: when becoming a dc:
- implement set userAccountControl = UF_SERVER_TRUST_ACCOUNT | UF_TRUSTED_FOR_DELEGATION
- implement moving to CN=Domain Controllers

metze
(This used to be commit c4037880a0)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
047f2c7091 r20042: move the computer account to the CN=Computers container if needed
metze
(This used to be commit f901956598)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
a99d5b799b r20041: when unbecoming a dc:
- implement lookup the computer object
- set userAccountControl = UF_WORKSTATION_TRUST_ACCOUNT if needed

metze
(This used to be commit 3a64eb4e8c)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
584446d5b1 r20040: uncomplete implementation start for libnet_UnbecomeDC()
metze
(This used to be commit f66a93ec0b)
2007-10-10 14:28:53 -05:00
Stefan Metzmacher
1027451d52 r20031: - implement earching for an existing server object
- implement adding a server object

metze
(This used to be commit 6d5a1f11e7)
2007-10-10 14:28:50 -05:00
Stefan Metzmacher
d0be12ad50 r20030: - implement the computer object search
- fix a source vs. dest dsa bug

metze
(This used to be commit ef9d9799a4)
2007-10-10 14:28:50 -05:00
Stefan Metzmacher
408db037ac r20029: - implement source_dsa site object search
metze
(This used to be commit c6166a5641)
2007-10-10 14:28:49 -05:00
Stefan Metzmacher
bb6f3ece26 r20026: - store the infrastructure server_dn_str
- implement the rid manager info searches

metze
(This used to be commit be3f91afe2)
2007-10-10 14:28:49 -05:00
Stefan Metzmacher
6bf98f3adb r20025: - implement the windows2003update revision search
- finish the infrastructure fsmo detail searches

metze
(This used to be commit f1a2bd6f37)
2007-10-10 14:28:48 -05:00
Stefan Metzmacher
effc51d7db r20024: lookup the infrastructure fSMORoleOwner on the 1st LDAP connection
metze
(This used to be commit 99bdd5523b)
2007-10-10 14:28:48 -05:00
Stefan Metzmacher
46d2824907 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
(This used to be commit b9b705b7dd)
2007-10-10 14:28:48 -05:00
Stefan Metzmacher
c83efbe900 r20021: implement a CLDAP netlogon request to get some infos
needed for becoming a dc.

metze
(This used to be commit 6a007aaa51)
2007-10-10 14:28:47 -05:00
Stefan Metzmacher
6d7630a516 r20011: define libnet_BecomeDC_state struct and add some dummy functions
metze
(This used to be commit 2a50a885ed)
2007-10-10 14:28:47 -05:00
Stefan Metzmacher
1d7f8edb7a r20009: use a composite context
metze
(This used to be commit ed3826bc47)
2007-10-10 14:28:46 -05:00
Stefan Metzmacher
1e02e77fe1 r20008: add stubs for a libnet_BecomeDC() call
metze
(This used to be commit 103ac9a96b)
2007-10-10 14:28:46 -05:00