Jelmer Vernooij
a1280252ce
Remove more global_loadparm instance.s
2008-02-21 17:54:24 +01:00
Jelmer Vernooij
e01c1e87c0
Remove yet more uses of global_loadparm.
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
703f17bc09
r26437: remove another use of global_loadparm.
2007-12-21 05:50:05 +01:00
Jelmer Vernooij
e1d177c8c1
r26426: Remove uses of global_loadparm.
2007-12-21 05:49:52 +01:00
Jelmer Vernooij
a35e51871b
r26402: Require a talloc context in libnetif.
2007-12-21 05:49:33 +01:00
Jelmer Vernooij
9f975417cc
r26401: Don't cache interfaces context in libnetif.
2007-12-21 05:49:32 +01:00
Jelmer Vernooij
801c8c766c
r26397: Fix circular dependency in samba-socket.
2007-12-21 05:49:26 +01:00
Stefan Metzmacher
cdb64b4101
r26391: samba4 doesn't support 'lmhosts' as resolve module
...
metze
2007-12-21 05:49:21 +01:00
Jelmer Vernooij
81333de535
r26378: Remove use of global_loadparm.
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
e452cb2859
r26325: Remove use of global_loadparm in netif.
2007-12-21 05:48:37 +01:00
Jelmer Vernooij
7de55cde7c
r26309: Move specification of port higher up the all stack.
2007-12-21 05:48:21 +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
f734df3144
r25903: Move more files out of torture/
2007-12-21 05:44:46 +01:00
Jelmer Vernooij
262c1c23a6
r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
2007-12-21 05:43:00 +01:00
Jelmer Vernooij
566aa14139
r25554: Convert last instances of BOOL, True and False to the standard types.
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
fd697d77c9
r25430: Add the loadparm context to all parametric options.
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
3fcc960839
r25398: Parse loadparm context to all lp_*() functions.
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
df9cebcb97
r25035: Fix some more warnings, use service pointer rather than service number in more places.
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
abe8349f9b
r25026: Move param/param.h out of includes.h
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
0bcb21ed74
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
08bb1ef643
r25000: Fix some more C++ compatibility warnings.
2007-10-10 15:05:27 -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
Stefan Metzmacher
5534ba591d
r21594: give the same error in all resolve backends
...
metze
2007-10-10 14:49:03 -05:00
Stefan Metzmacher
49591d6996
r21593: give a more useful error, when we can't resolve a long name
...
via broadcast of wins
metze
2007-10-10 14:49:02 -05:00
Stefan Metzmacher
643a38bc30
r19645: don't pass NULL as mem_ctx...
...
metze
2007-10-10 14:25:25 -05:00
Stefan Metzmacher
a5d36a6dde
r19642: convert host.c to new composite api
...
metze
2007-10-10 14:25:24 -05:00
Stefan Metzmacher
800999733e
r19639: convert nbtlist.c to new composite api
...
metze
2007-10-10 14:25:23 -05:00
Stefan Metzmacher
617f9c70c1
r19638: convert resolve.c to the new composite api
...
metze
2007-10-10 14:25:23 -05:00
Stefan Metzmacher
f20e251bfd
r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on the
...
configure check for the interfaces.
should fix the build on some old sun boxes
metze
2007-10-10 14:15:39 -05:00
Andrew Tridgell
61c6100617
r15854: more talloc_set_destructor() typesafe fixes
2007-10-10 14:08:32 -05:00
Jelmer Vernooij
51b4270513
r14542: Remove librpc, libndr and libnbt from includes.h
2007-10-10 13:58:42 -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 Tridgell
d004e250b6
r13505: allow servers to bind to non-broadcast interfaces. Servers now
...
specifically ask for iface_n_bcast() and have to check if it returns
NULL, in which case it is a non-broadcast interface
2007-10-10 13:51:56 -05:00
Jelmer Vernooij
70e7449318
r12608: Remove some unused #include lines.
2007-10-10 13:49:03 -05:00
Jelmer Vernooij
0aca5fd513
r12542: Move some more prototypes out to seperate headers
2007-10-10 13:47:55 -05:00
Andrew Tridgell
f9413ce792
r12116: got rid of composite_trigger_done() and composite_trigger_error(), and
...
instead make the normal composite_done() and composite_error()
functions automatically trigger a delayed callback if the caller has
had no opportunity to setup a async callback
this removes one of the common mistakes in writing a composite function
2007-10-10 13:47:11 -05:00
Rafal Szczesniak
ef29863d99
r10636: Formatting for better readability.
...
rafal
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
4527815a0a
r10504: - seperate implementation specific stuff, from the generic composite
...
stuff.
- don't use SMBCLI_REQUEST_* state's in the genreic composite stuff
- move monitor_fn to libnet.
NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR
state in the _send() function. I haven't fixed this bugs in this
commit! We may need some composite_trigger_*() functions or so.
And maybe some other generic helper functions...
metze
2007-10-10 13:38:57 -05:00
Jelmer Vernooij
29919a7105
r10438: Move portability functions to lib/replace/; replace now simply ensures
...
that a given set of (working) POSIX functions are available (without
prefixes to their names, etc). See lib/replace/README for a list.
Functions that behave different from their POSIX specification
(such as sys_select, sys_read, etc) have kept the sys_ prefix.
2007-10-10 13:38:45 -05:00
Volker Lendecke
17dbbf965b
r10395: While playing with winbind, I found a segfault because I had given
...
resolve_name_send a stack-allocated method list. Duplicate it.
Volker
2007-10-10 13:38:39 -05:00
Andrew Tridgell
9cc000d868
r10200: added a composite_trigger_done() call that allows a composite function
...
to cause an event to happen immediately. This allows metzes patch for
recognising IPs in resolve_name() to work, and also allows us to
remove some of the other code where we currently do specific checks
for is_ipaddress().
2007-10-10 13:38:08 -05:00
Andrew Tridgell
b3d491b210
r9702: r9680@blu: tridge | 2005-08-27 18:45:08 +1000
...
- fixed ncacn_ip_tcp to use the generic async name resolution methods,
so NBT names now work (as requested several times by abartlet!)
- changed resolve_name() to take an event_context, so it doesn't cause
the whole process to block
- cleaned up the talloc_find_parent_bytype() calls to go via a cleaner
event_context_find() call
2007-10-10 13:34:51 -05:00
Andrew Tridgell
0f8f1cd18e
r8628: add retries to the normal paths of nbt name resolution. UDP broadcasts are not 100% reliable :)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
2fafc23052
r8002: favor addresses on our local interfaces in NBT name resolution if
...
possible. This is needed because w2k3 will return bogus IPs in its
name resolution replies when it has an unplugged network interface.
2007-10-10 13:18:57 -05:00
Andrew Tridgell
c435843c66
r7856: fixed warning of 'methods' shadowed variable
2007-10-10 13:18:43 -05:00
Rafal Szczesniak
84315cdf0d
r7813: Make async request independent from config file routines.
...
rafal
2007-10-10 13:18:38 -05:00
Rafal Szczesniak
121cf5ec3e
r7735: Extend resolve_name function so that it's possible to pass resolve
...
methods explicitly or NULL for defaults saved in smb.conf.
rafal
2007-10-10 13:18:28 -05:00
Tim Potter
b896daf11c
r6933: Add a couple of helper functions for creating nbt names.
2007-10-10 13:16:58 -05:00