1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

187 Commits

Author SHA1 Message Date
Jelmer Vernooij
806c5c9621 r15371: Revert some of my previous patch as it was breaking the plain build
(This used to be commit fac9871122)
2007-10-10 14:05:28 -05:00
Jelmer Vernooij
47bf79eac5 r15370: Fix more dependencies for shared libs
(This used to be commit 9a518661fb)
2007-10-10 14:05:27 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 0654739166)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Stefan Metzmacher
767685e9fd r14709: allways use the unicast socket of the interface, when reply to DGRAM
requests...

this fixes a bug where I thought windows would try KRB5 via broadcast...

metze
(This used to be commit 0e7b224294)
2007-10-10 13:59:11 -05:00
Jelmer Vernooij
bb1909e15e r14592: Add support for loading shared modules to LDB.
(This used to be commit f10fae23f0)
2007-10-10 13:58:58 -05:00
Jelmer Vernooij
9565c70898 r14567: Make some more functions public.
(This used to be commit 8e84e6cb6b)
2007-10-10 13:58:48 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca51)
2007-10-10 13:57:27 -05:00
Simo Sorce
753bf8fb99 r14459: Make this async compatible
(This used to be commit a71d762acf)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
e3f2414cf9 r14380: Reduce the size of structs.h
(This used to be commit 1a16a6f1df)
2007-10-10 13:57:16 -05:00
Stefan Metzmacher
651ca6553e 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
(This used to be commit 526f20bbec)
2007-10-10 13:56:49 -05:00
Stefan Metzmacher
60823d1878 r14078: move ldb_global_init() to the main smbd code,
to fix the process_model standard

metze
(This used to be commit a465126e15)
2007-10-10 13:56:49 -05:00
Jelmer Vernooij
ceb6e9717b r13960: Generate makefile rules for installing/removing shared modules.
(This used to be commit 2c74698032)
2007-10-10 13:52:32 -05:00
Stefan Metzmacher
c9e5d884fc r13941: fix the build
metze
(This used to be commit d9da948b0f)
2007-10-10 13:52:29 -05:00
Stefan Metzmacher
0cbc447101 r13933: fix dependency and make it possible to build as shared_library
metze
(This used to be commit 159a98a28a)
2007-10-10 13:52:28 -05:00
Jelmer Vernooij
9bd7dd9121 r13926: More header splitups.
(This used to be commit 930daa9f41)
2007-10-10 13:52:26 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 1228358767)
2007-10-10 13:52:24 -05:00
Stefan Metzmacher
de3867e712 r13807: print out the netbios name the packet is for
metze
(This used to be commit e73cc5060c)
2007-10-10 13:52:12 -05:00
Jelmer Vernooij
26af14c39b 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
(This used to be commit 52a2356505)
2007-10-10 13:52:11 -05:00
Simo Sorce
d590dea10b 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
(This used to be commit d5b467b7c1)
2007-10-10 13:51:59 -05:00
Andrew Tridgell
048704a7e5 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
(This used to be commit d004e250b6)
2007-10-10 13:51:56 -05:00
Stefan Metzmacher
d3fd4c466f 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
(This used to be commit 2a7e22c117)
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
8311b9e9e7 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
(This used to be commit 602ec0f1c6)
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
5304f34132 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
(This used to be commit 93409faddf)
2007-10-10 13:51:27 -05:00
Stefan Metzmacher
dd5afc5a77 r13087: don't store timestamps for static records
(only a per record timestamp when it's not active)

metze
(This used to be commit aba54b8708)
2007-10-10 13:51:23 -05:00
Stefan Metzmacher
f25ad21617 r13060: - return only active addresses in name query responses
- replicate only active addresses

metze
(This used to be commit 6325abd95c)
2007-10-10 13:51:20 -05:00
Stefan Metzmacher
eead6d310b 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
(This used to be commit 31ce24d7b1)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
c63937a1c0 r13006: always debug the unicast and broadcast address
metze
(This used to be commit f7481a4c8c)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
ba4df97eb9 r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins server
metze
(This used to be commit 5e3639edaf)
2007-10-10 13:51:17 -05:00
Stefan Metzmacher
044c570ea9 r12958: don't bind to '255.255.255.255'
fix bug #3411

metze
(This used to be commit 2cb587c779)
2007-10-10 13:51:12 -05:00
Stefan Metzmacher
b71075e836 r12934: do somemore debugging of the received browse packets,
(so I may learn about the protocol, while watching the debug output)

metze
(This used to be commit 40d7033a14)
2007-10-10 13:51:11 -05:00
Stefan Metzmacher
cd9752d61f 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
(This used to be commit a6f279bc43)
2007-10-10 13:51:02 -05:00
Stefan Metzmacher
4c117a001f r12906: return the correct nb_flags
metze
(This used to be commit c52436108d)
2007-10-10 13:51:01 -05:00
Stefan Metzmacher
c4a5381154 r12898: prepare the 'wins hook' feature, but we only debug out a 'TODO: run script ...'
metze
(This used to be commit d28c8ce66d)
2007-10-10 13:51:00 -05:00
Stefan Metzmacher
f3ef8fc691 r12897: make it possible to use nosync transaction to speed things up,
(just for testing)

metze
(This used to be commit 677c1aa466)
2007-10-10 13:51:00 -05:00
Andrew Bartlett
f55ea8bb3d 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
(This used to be commit 88198c4881)
2007-10-10 13:49:57 -05:00
Stefan Metzmacher
d93e1b018e r12779: allow static tomstones
metze
(This used to be commit 966872646e)
2007-10-10 13:49:54 -05:00
Stefan Metzmacher
da8151ae9f r12755: check the return value of ldb_timestring(), as this fails,
when gmtime() fails...

metze
(This used to be commit 523746f271)
2007-10-10 13:49:50 -05:00
Stefan Metzmacher
a417674925 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
(This used to be commit 72198f00ea)
2007-10-10 13:49:41 -05:00
Stefan Metzmacher
6d16a217d3 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
(This used to be commit 22cdbc75df)
2007-10-10 13:49:36 -05:00
Stefan Metzmacher
c4d0b5729a r12648: implement the dns proxy feature
metze
(This used to be commit b07b201c86)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
24c54281a9 r12647: make use of the str_list_add function
metze
(This used to be commit e47873a1a3)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
706ef631f7 r12644: prepare the dns proxy feature for the wins server
metze
(This used to be commit 48842cd9ab)
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
5a26b2d72b 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
(This used to be commit d0dc0ffa31)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
905c3ff8e1 r12618: use our primary interface address or the "winsdb:local_owner" -address
as winsOwner: attrbute for owned records

metze
(This used to be commit 37dece8304)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
0391b1cb3a r12617: create a winsdb_handle and pass that arround,
so we later can hang the local owner address, on this handle too

metze
(This used to be commit 49ba4cc111)
2007-10-10 13:49:05 -05:00
Stefan Metzmacher
bb8a5a2a1e 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
(This used to be commit 9dfbce5f34)
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
d4de4c2d21 r12608: Remove some unused #include lines.
(This used to be commit 70e7449318)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
ab8cd4470c r12607: fix the build
metze
(This used to be commit 5cc955bf54)
2007-10-10 13:49:03 -05:00
Stefan Metzmacher
805f5d861f 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
(This used to be commit 037b5d9f36)
2007-10-10 13:49:03 -05:00