summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_unbecome_dc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-01s4:libnet: make use of explicit dcerpc_*_recv functionsStefan Metzmacher1-2/+2
metze
2010-02-26s4:libnet: use a connected CLDAP socket.Stefan Metzmacher1-3/+15
This is needed because we don't (want) to specify an explicit local address. And the socket family (ipv4 vs. ipv6) needs to be autodetected based on the remote address before the socket() syscall. Otherwise we would try to connect to a ipv4 address through an ipv6only socket. metze
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-1/+1
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-07-13libds: share UF_ flags between samba3 and 4.Günther Deschner1-1/+1
Guenther
2009-03-19s4:cldap: rewrite the cldap library based on tsocketStefan Metzmacher1-11/+13
metze
2009-02-02s4:cldap: s/private/private_dataStefan Metzmacher1-2/+2
metze
2008-10-18s4-drsuapi: merge drsuapi_DsRemoveDSServer from s3 drsuapi idl.Günther Deschner1-4/+8
Guenther
2008-10-02s4:drsuapi.idl: fix some fields in drsuapi_DsRemoveDSServer()Stefan Metzmacher1-6/+1
metze
2008-10-02The IRIX compiler does not like embedded unnamed unionsVolker Lendecke1-1/+1
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-12/+7
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-07-23drsuapi: always set the pid field of the outgoing DsBindInfo to 0.Michael Adam1-1/+1
This is for debugging and informational purposes only. The assignment is implementation specific. (WSPP docs, sec. 5.35). Michael (This used to be commit 1f5704e2dee5900e8d1d87699b76f67c0e12854e)
2008-07-23libnet_unbecome_dc: teach unbecomeDC_drsuapi_bind_recv() DsBindInfo48.Michael Adam1-0/+9
..to work agains w2k8. Michael (This used to be commit 97e8d5813df19cae294b6de2a880606f0f8c2c59)
2008-07-22Change occurrences of the u1 member of DsBindInfo* to pid after idl change.Michael Adam1-2/+2
Michael (This used to be commit b91bbc5fe4a47e5823be6be5f2f203f1f14105de)
2008-05-16Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett1-10/+11
This now matches section 7.3.3 of the MS-ATDS specification, and all our current tests pass against windows. There is still more testing to do, and the server implementation to complete. Andrew Bartlett (This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-1/+1
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-02-21Remove more global_loadparm instance.sJelmer Vernooij1-1/+2
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2007-12-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij1-3/+3
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij1-3/+3
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21r26328: remove more uses of global_loadparm.Jelmer Vernooij1-2/+2
(This used to be commit 40ae12c08647c47a9c504d39ee6f61c32b4e5748)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-1/+2
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26271: Remove some more uses of global_loadparm.Jelmer Vernooij1-0/+1
(This used to be commit e9875fcd56de0748ed78d7e3c9cdb4919cd96d3c)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+2
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-1/+1
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher1-2/+2
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r21839: add my email addressStefan Metzmacher1-1/+1
metze (This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10r21827: move comments to the place where the functionality is implementedStefan Metzmacher1-0/+156
metze (This used to be commit 5d49d8b9e149d320cb08c5c2a4fc4cb8bfd74129)
2007-10-10r21826: reorder functionsStefan Metzmacher1-23/+25
metze (This used to be commit 3d0a810ccd5d7490d46f91ca6aef6052ca0c56c3)
2007-10-10r20073: update the computer_dn_str after ldb_rename()Stefan Metzmacher1-1/+6
metze (This used to be commit c40bc7d287664d67415ae0a8b7a272732172ec40)
2007-10-10r20061: use a DsBindInfo28 structureStefan Metzmacher1-1/+32
metze (This used to be commit e8c14577976ccb718eb887b0d63b3ba75de00d47)
2007-10-10r20045: implement the drsuapi_DsRemoveDSServer() callStefan Metzmacher1-1/+47
metze (This used to be commit deb85414c4d54a2eaf7b1318afb2eb6afdea9330)
2007-10-10r20044: implement the drsuapi connect and ds_bindStefan Metzmacher1-0/+88
metze (This used to be commit 69f1b8d3889862e7f69881f8f6b7153c7d67868e)
2007-10-10r20042: move the computer account to the CN=Computers container if neededStefan Metzmacher1-0/+54
metze (This used to be commit f9019565980058439091c4e17256676f7bbde044)
2007-10-10r20041: when unbecoming a dc:Stefan Metzmacher1-0/+87
- implement lookup the computer object - set userAccountControl = UF_WORKSTATION_TRUST_ACCOUNT if needed metze (This used to be commit 3a64eb4e8c9aa25c874a9dabc9d6e1324ac733b9)
2007-10-10r20040: uncomplete implementation start for libnet_UnbecomeDC()Stefan Metzmacher1-0/+260
metze (This used to be commit f66a93ec0b5c0250dd5c49adde163b2aaaaddfbd)