1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-28 03:33:13 +03:00
Commit Graph

25 Commits

Author SHA1 Message Date
Jelmer Vernooij
66fd8d480b r26435: Remove global_loadparm instance. 2007-12-21 05:50:04 +01:00
Jelmer Vernooij
f933b43621 r26408: Remove use of global_loadparm. 2007-12-21 05:49:39 +01:00
Jelmer Vernooij
8c767ca139 r26377: Specify port explicitly. 2007-12-21 05:49:12 +01:00
Jelmer Vernooij
459e1466a4 r26376: Add context for libcli_resolve. 2007-12-21 05:49:12 +01:00
Jelmer Vernooij
0c91026e58 r26333: No more global_loadparm in finddcs. 2007-12-21 05:48:45 +01:00
Jelmer Vernooij
c7eae1c784 r26264: pass name resolve order explicitly, use torture context for settings in dssync tests. 2007-12-21 05:47:39 +01:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
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.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
5085c53fcf r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Stefan Metzmacher
f874eca5da r24560: rename some DCERPC_ prefixes into NDR_
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
84651aee81 r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
2007-10-10 15:02:15 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Bartlett
4fee8a7b77 r23176: Note that we only return one DC from this call at the moment.
Andrew Bartlett
2007-10-10 14:52:59 -05:00
Stefan Metzmacher
b54584dfab r22748: fix memleaks by passing an mem_ctx to
irpc_servers_byname()

metze
2007-10-10 14:52:09 -05:00
Andrew Tridgell
2365abaa99 r20646: first preparations for cluster enablement. This changes "
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.
2007-10-10 14:37:23 -05:00
Stefan Metzmacher
8f9e201b9a r17319: make better usage of the composite api
metze
2007-10-10 14:15:11 -05:00
Rafal Szczesniak
48a9f82244 r16791: Typo fix in a comment.
rafal
2007-10-10 14:09:46 -05:00
Andrew Bartlett
e312cddafd r15225: Use talloc_zero() to avoid use of uninitialised values later on.
Andrew Bartlett
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
3dd477ca51 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1228358767 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
2007-10-10 13:52:24 -05:00
Andrew Bartlett
cde044d023 r13103: Walk the names in the node status request, so I can find a server
name, and use that.

(I was trying to find a machine by the name of __SAMBA__)

Andrew Bartlett
2007-10-10 13:51:25 -05:00
Andrew Bartlett
3e90e7edfa r12862: Need to trim spaces off the end of the node status reply.
Andrew Bartlett
2007-10-10 13:50:55 -05:00
Andrew Bartlett
181064dbcf r12861: Cope when we are not supplied the messaging context. This is just
another case where we have to fallback to the node status request.

Andrew Bartlett
2007-10-10 13:50:54 -05:00
Andrew Bartlett
7ccddfd351 r12858: This moves the libnet_LookupPdc code to use a GetDC request to find
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
2007-10-10 13:50:54 -05:00