Jelmer Vernooij
f10fae23f0
r14592: Add support for loading shared modules to LDB.
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
8e84e6cb6b
r14567: Make some more functions public.
2007-10-10 13:58:48 -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
Simo Sorce
a71d762acf
r14459: Make this async compatible
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1a16a6f1df
r14380: Reduce the size of structs.h
2007-10-10 13:57:16 -05:00
Stefan Metzmacher
526f20bbec
r14079: I just found the setproctitle library from alt linux:-)
...
- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections
metze
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
a465126e15
r14078: move ldb_global_init() to the main smbd code,
...
to fix the process_model standard
metze
2007-10-10 13:56:49 -05:00
Jelmer Vernooij
2c74698032
r13960: Generate makefile rules for installing/removing shared modules.
2007-10-10 13:52:32 -05:00
Stefan Metzmacher
d9da948b0f
r13941: fix the build
...
metze
2007-10-10 13:52:29 -05:00
Stefan Metzmacher
159a98a28a
r13933: fix dependency and make it possible to build as shared_library
...
metze
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
930daa9f41
r13926: More header splitups.
2007-10-10 13:52:26 -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
Stefan Metzmacher
e73cc5060c
r13807: print out the netbios name the packet is for
...
metze
2007-10-10 13:52:12 -05:00
Jelmer Vernooij
52a2356505
r13786: [merge] Add registration functions for LDB modules
...
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.
The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
2007-10-10 13:52:11 -05:00
Simo Sorce
d5b467b7c1
r13615: Make ldb_set_errstring get ldb instead of module as parameter.
...
The module was just used to get to the ldb so it was meningless.
Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c
2007-10-10 13:51:59 -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
Stefan Metzmacher
2a7e22c117
r13117: the caller may reference the winsdb_addr struct,
...
and as a winsdb_record has a short lifetime, it's no problem
to not free unused addresses directly
metze
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
602ec0f1c6
r13116: make sure we don't add more than 25 addresses to a record,
...
and don't return more than 25 in a name query reply
we now also order the addresses from the newest owned address
to the oldest replica address
metze
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
93409faddf
r13115: call the wins hook script on modifications of the wins.ldb
...
tridge: can you please look at the /* TODO: close file handles */
btw I'm not interessted in any result from the script...
metze
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
aba54b8708
r13087: don't store timestamps for static records
...
(only a per record timestamp when it's not active)
metze
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
6325abd95c
r13060: - return only active addresses in name query responses
...
- replicate only active addresses
metze
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
31ce24d7b1
r13007: let our winsclient code register multihomed records with
...
our winsserver and don't defend our local name against
our own register packets...
this won gave quite confusing logmessages...
metze
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
f7481a4c8c
r13006: always debug the unicast and broadcast address
...
metze
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
5e3639edaf
r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server
...
metze
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
2cb587c779
r12958: don't bind to '255.255.255.255'
...
fix bug #3411
metze
2007-10-10 13:51:12 -05:00
Stefan Metzmacher
40d7033a14
r12934: do somemore debugging of the received browse packets,
...
(so I may learn about the protocol, while watching the debug output)
metze
2007-10-10 13:51:11 -05:00
Stefan Metzmacher
a6f279bc43
r12909: add an ldb module for the wins.ldb,
...
it currently doesn't do much, but it's later
prevent adding corrupted records via ldbedit,
and will take care of the versionID counter
metze
2007-10-10 13:51:02 -05:00
Stefan Metzmacher
c52436108d
r12906: return the correct nb_flags
...
metze
2007-10-10 13:51:01 -05:00
Stefan Metzmacher
d28c8ce66d
r12898: prepare the 'wins hook' feature, but we only debug out a 'TODO: run script ...'
...
metze
2007-10-10 13:51:00 -05:00
Stefan Metzmacher
677c1aa466
r12897: make it possible to use nosync transaction to speed things up,
...
(just for testing)
metze
2007-10-10 13:51:00 -05:00
Andrew Bartlett
88198c4881
r12804: This patch reworks the Samba4 sockets layer to use a socket_address
...
structure that is more generic than just 'IP/port'.
It now passes make test, and has been reviewed and updated by
metze. (Thankyou *very* much).
This passes 'make test' as well as kerberos use (not currently in the
testsuite).
The original purpose of this patch was to have Samba able to pass a
socket address stucture from the BSD layer into the kerberos routines
and back again. It also removes nbt_peer_addr, which was being used
for a similar purpose.
It is a large change, but worthwhile I feel.
Andrew Bartlett
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
966872646e
r12779: allow static tomstones
...
metze
2007-10-10 13:49:54 -05:00
Stefan Metzmacher
523746f271
r12755: check the return value of ldb_timestring(), as this fails,
...
when gmtime() fails...
metze
2007-10-10 13:49:50 -05:00
Stefan Metzmacher
72198f00ea
r12700: fix name release of replica records, we need to become the owner and allocate a new versionID
...
so that it gets replicated to the old owning wins server directly
metze
2007-10-10 13:49:41 -05:00
Stefan Metzmacher
22cdbc75df
r12673: create functions for get_maxVersion(), set_maxVersion() and get_seqnumber()
...
at the winsdb layer. the ones in wrepl_server/ will be removed later.
metze
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
b07b201c86
r12648: implement the dns proxy feature
...
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
e47873a1a3
r12647: make use of the str_list_add function
...
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
48842cd9ab
r12644: prepare the dns proxy feature for the wins server
...
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
d0dc0ffa31
r12619: make sure we don't return more than 25 addresses, as w2k3 crashes in that case
...
I still need to make sure we didn't write such records to our database...
metze
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
37dece8304
r12618: use our primary interface address or the "winsdb:local_owner" -address
...
as winsOwner: attrbute for owned records
metze
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
49ba4cc111
r12617: create a winsdb_handle and pass that arround,
...
so we later can hang the local owner address, on this handle too
metze
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
9dfbce5f34
r12609: - add some comments to a change that went in in the last 'fix the build' commit
...
- we need to reply to name queries with the recursion desired bit set,
to pass the multi homed challenge, when registering our interfaces
with a wins server
metze
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
70e7449318
r12608: Remove some unused #include lines.
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
5cc955bf54
r12607: fix the build
...
metze
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
037b5d9f36
r12606: - fix multihomed registrations
...
always remove the addresses which are no longer valid
- use the wins_challenge_send/recv calls which are also used by the replication
challenge
metze
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
669009579d
r12580: return the first 0x1B address as first address to 0x1C queries
...
metze
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
f68a883daf
r12578: - w2k3 allows entries with 127.0.0.1 as address, so we should do
...
to make it possible to add a static record for localhost or so...
- we already make sure we don't register 127.0.0.1 with our wins server,
so the check for loopback in the non-wins name queries is enough
metze
2007-10-10 13:48:56 -05:00
Stefan Metzmacher
3b32d8b6b6
r12577: filter the loopback addresses like this 127.*.*.* and not only 127.0.0.1
...
metze
2007-10-10 13:48:56 -05:00
Jelmer Vernooij
0aca5fd513
r12542: Move some more prototypes out to seperate headers
2007-10-10 13:47:55 -05:00
Andrew Tridgell
1b65713bbc
r12537: finally found the difference between us and w2k3 that caused w2k
...
domain joins to be agonisingly slow! The join is now instant, and
login is fast too
2007-10-10 13:47:53 -05:00