summaryrefslogtreecommitdiff
path: root/source4/libcli/finddcs.c
AgeCommit message (Collapse)AuthorFilesLines
2008-09-23s4-nbt: use private_data instead of private.Günther Deschner1-1/+1
Guenther
2008-02-28Remove use of global_loadparm.Jelmer Vernooij1-2/+9
(This used to be commit 3cf3922c806d0e33439073d204b44bf0af3102d5)
2008-02-21Remove more global_loadparm instance.sJelmer Vernooij1-1/+3
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2007-12-21r26435: Remove global_loadparm instance.Jelmer Vernooij1-2/+4
(This used to be commit 66fd8d480bdfeb1c95da8843da3d18abe3f997e1)
2007-12-21r26408: Remove use of global_loadparm.Jelmer Vernooij1-2/+4
(This used to be commit f933b4362124bfdd25544b4e27992d9ca4405848)
2007-12-21r26377: Specify port explicitly.Jelmer Vernooij1-0/+1
(This used to be commit 8c767ca13906966cd6cccbeaef3c50033d46f206)
2007-12-21r26376: Add context for libcli_resolve.Jelmer Vernooij1-4/+4
(This used to be commit 459e1466a411d6f83b7372e248566e6e71c745fc)
2007-12-21r26333: No more global_loadparm in finddcs.Jelmer Vernooij1-3/+7
(This used to be commit 0c91026e587ca74692bc9223a6b5493e35943aee)
2007-12-21r26264: pass name resolve order explicitly, use torture context for settings ↵Jelmer Vernooij1-2/+1
in dssync tests. (This used to be commit c7eae1c7842f9ff8b70cce9e5d6f3ebbbe78e83b)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij1-1/+1
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-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij1-2/+2
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij1-0/+1
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24560: rename some DCERPC_ prefixes into NDR_Stefan Metzmacher1-1/+1
metze (This used to be commit f874eca5dab74e930d0ec52abeb06295d2d90476)
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-10r23176: Note that we only return one DC from this call at the moment.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 4fee8a7b77d01c7cb8b32911016158f2ff2cf8f6)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-1/+1
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-2/+2
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r17319: make better usage of the composite apiStefan Metzmacher1-28/+20
metze (This used to be commit 8f9e201b9a797c0772672efab0f8e6a7a6312eb0)
2007-10-10r16791: Typo fix in a comment.Rafal Szczesniak1-1/+1
rafal (This used to be commit 48a9f822442c8b115fd61d9c6781d8100df2bf9e)
2007-10-10r15225: Use talloc_zero() to avoid use of uninitialised values later on.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit e312cddafd7e00680dd059fad7ef7e5ecdbbb484)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-1/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij1-0/+1
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13103: Walk the names in the node status request, so I can find a serverAndrew Bartlett1-11/+14
name, and use that. (I was trying to find a machine by the name of __SAMBA__) Andrew Bartlett (This used to be commit cde044d023c7580442bceb60ac62dc4cfc1b85fe)
2007-10-10r12862: Need to trim spaces off the end of the node status reply.Andrew Bartlett1-1/+10
Andrew Bartlett (This used to be commit 3e90e7edfa7d343a6b6bf073b8f4d018e3b463d0)
2007-10-10r12861: Cope when we are not supplied the messaging context. This is justAndrew Bartlett1-3/+9
another case where we have to fallback to the node status request. Andrew Bartlett (This used to be commit 181064dbcf102de80937fc30b3d3ba5114194a72)
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett1-0/+245
the remote server's name, or in the absence of a local nbt_server to communicate with (or without root access), a node status request. The result is that we are in a better position to use kerberos, as well as to remove the 'password server' mandatory parameter for the samsync and samdump commands. (I need this to put these into SWAT). The only problem I have is that I must create a messaging context, which requires a server ID. As a client process, I don't expect to get messages, but it is currently required for replies, so I generate a random() number. We probably need the servers to accept connections on streamed sockets too, for client-only tasks that want IRPC. Because I wanted to test this code, I have put the NET-API-* tests into our test scripts, to ensure they pass and keep passing. They are good frontends onto the libnet system, and I see no reason not to test them. In doing so the NET-API-RPCCONNECT test was simplified to take a binding string on the command line, removing duplicate code, and testing the combinations in the scripts instead. (I have done a bit of work on the list shares code in libnet_share.c to make it pass 'make test') In the future, I would like to extend the libcli/findds.c code (based off volker's winbind/wb_async_helpers.c, which is why it shows up a bit odd in the patch) to handle getting multiple name replies, sending a getdc request to each in turn. (posted to samba-technical for review, and I'll happily update with any comments) Andrew Bartlett (This used to be commit 7ccddfd3515fc2c0d6f447c768ccbf7a220c3380)