Age | Commit message (Collapse) | Author | Files | Lines |
|
can't create the socket.
Andrew Bartlett
(This used to be commit 13b9af53bff8e42126a38f93c3bdd5b4d9b20aba)
|
|
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
|
|
release.
Jeremy.
(This used to be commit 507ff510e7e7d63e02be5b11d974fc05839e6eaf)
|
|
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
|
|
append writes.
(blessed by jra)
Andrew Bartlett
(This used to be commit 81633064dd196c40541ecece8def51745f514646)
|
|
(This used to be commit aeb94bb0d7ad84b52a5f729a3e83f4fb00005771)
|
|
-V Version information
-n Set netbios name
-l Set directory to store log files in
-d Set debuglevel
-s Load specified configuration file
-O Set socket options
(This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
|
|
(This used to be commit 9ea7440ac4a3dbb98e34ccb8ee78e0bd782fa704)
|
|
Jeremy.
(This used to be commit ca6146c2d345902446665ebfa88f78a06eb58831)
|
|
in C
please note that:
if (! a & b)
is not the same as:
if (! (a & b))
(This used to be commit ec6a098c2edf6aa44f85b031459b737496080898)
|
|
return empty NetServerEnum2 on port 445, but not on port 139.
Jeremy.
(This used to be commit a9112a1e4b24ccd94be4d0d055ddc9d1bdfef1be)
|
|
(This used to be commit 51e0a4adc7c6cc09e53003726b31201a091e9f35)
|
|
with non-const values - strsep not defined
(This used to be commit a5c59b2cd10016ecbd931531602ad1cb3660bbf9)
|
|
it inside an #ifdef HAVE_ADS to avoid the warning and breaking the
build. (-:
(This used to be commit a8c4febdb760beb669048c2bf2bb0a0b1c5ed472)
|
|
(This used to be commit 23f1b839e6287089511cd51ceed298d6a6d65a89)
|
|
the new accessor functions.
Andrew Bartlett
(This used to be commit f393de2310e997d05674eb7f1268655373e03647)
|
|
if you have an ADS DC.
(This used to be commit 059a352ebb7c7286d205bc86a92f5fd26ab1ff8e)
|
|
(This used to be commit 8e906a948196be7d630a9b20f3c3d2cbafd545f1)
|
|
when a PDC. The fix does not iterate over all WINS tags, which it
should do, but after having looked at doing that it gets *very* messy
to do with our current code base.
(This used to be commit 434e5124db28134ebfc9840cf0839d77987db65e)
|
|
samba-patches 898
(This used to be commit a954f72fe315ec59bfeb4bd407179bc54689440f)
|
|
samba-patches 959
(This used to be commit ef04261e2510b658322336ce841b01f1c903eee2)
|
|
(but assumes that 'myip' is indeed our local IP...)
Andrew Bartlett
(This used to be commit bea31062a261a49b65800a15d47f8b011af632f6)
|
|
server. The real problem is all the special cases we had for when we
are a wins server as opposed to when we are using a 'real' wins
server.
This patch removes the special cases. We now accept non-broadcast
packets from ourselves and we use ourselves as a wins server when we
are one. This gets rid of the special cases and simplifies things
quite a bit.
It all seems to work, but there are bound to be problems found later.
(This used to be commit 3e843d30158d05cdfba716bac7e5c0a75ae7a79c)
|
|
server. We were rejecting them, leaving the name unregistered!
(This used to be commit 2dc539ed33f9893cbe9e16c386994933121b71e9)
|
|
(ie. check for lp_dns_proxy())
(This used to be commit 84d3b09b8542518a4684d07e975bcc9eaa1f6b69)
|
|
We now cope wiith multiple WINS groups and multiple failover servers
for release and refresh as well as registration. We also do the regitrations
in the same fashion as W2K does, where we don't try to register the next
IP in the list for a name until the WINS server has acked the previos IP.
This prevents us flooding the WINS server and also seems to make for much
more reliable multi-homed registration.
I also changed the dead WINS server code to mark pairs of IPs dead,
not individual IPs. The idea is that a WINS server might be dead from
the point of view of one of our interfaces, but not another, so we
need to keep talking to it on one while moving onto a failover WINS
server on the other interface. This copes much better with partial
LAN outages and weird routing tables.
(This used to be commit 313f2c9ff7a513802e4f893324865e70912d419e)
|
|
accept an extended syntax for 'wins server' like this:
wins server = group1:192.168.2.10 group2:192.168.3.99 group1:192.168.0.1
The tags before the IPs don't mean anything, they are just a way of
grouping IPs together. If you use the old syntax (ie. no ':') then
an implicit group name of '*' is used. In general I'd recommend people
use interface names for the group names, but it doesn't matter much.
When we register in nmbd we try to register all our IPs with each group
of WINS servers. We keep trying until all of them are registered with
every group, falling back to the failover WINS servers for each group
as we go.
When we do a WINS lookup we try each of the WINS servers for each group.
If a WINS server for a group gives a negative answer then we give up
on that group and move to the next group. If it times out then
we move to the next failover wins server in the group.
In either case, if a WINS server doesn't respond then we mark it dead
for 10 minutes, to prevent lengthy waits for dead servers.
(This used to be commit e125f06058b6b51382cf046b1dbb30728b8aeda5)
|
|
unicast subnet, so remove that parameter. That frees up userdata so I
can start using it to indicate which wins server tag we are
registering (more about wins 'tags' later ...)
(This used to be commit 1324f0c185bb8cdb95fd497457223aff5e687bd6)
|
|
gives us a good grounding to properly support multiple wins servers
for different interfaces (which will be coming soon ...)
- fixed our wins registration failover code to actually do failover!
We were not trying to register with a secondary wins server at all
when the primary was down. We now fallback correctly.
- fixed the multi-homed name registration packets so that they work
even in a non-connected network (ie. when one of our interfaces is not
routable from the wins server. Yes, this really happens in the real
world).
(This used to be commit a049360d5b0d95a935b06aad43efc17d34de46dc)
|
|
interfaces yet. Instead of giving up, nmbd will now wait for some
interfaces to appear
(This used to be commit 612ae5313250aec80c94782d55cbf755dd4a9a4f)
|
|
(This used to be commit 29874f4b8fecdc7cbd84d656dafce54cca49e0b1)
|
|
(This used to be commit e671b7fe9d6c963e20770944f29ea532293d2692)
|
|
J.F.
(This used to be commit c33459f7018a2522158b20261ab8c100fdde9034)
|
|
server is down. Keep adding refreshible names instead.
Jeremy.
(This used to be commit f25fcd99fa0d0ec2095d9db42145d236c14748e0)
|
|
sharing between machines with rsync.
Finally removed tdb_store_int/tdb_fetch_int.
Now only tdb_store_int32/tdb_fetch_int32 which are endian independent
are allowed.
Jeremy.
(This used to be commit 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e)
|
|
pid. This follows a bug in rsync where it would accidentally
kill(-1), removing all the user's processes. I can't see any way this
would directly happen in Samba, but having the assertions seems
beneficial.
http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h
(This used to be commit 098905bea29c7d5b886809d431294ddf2fc1e152)
|
|
(This used to be commit 472acd89b2bf5ec2a471957aaff42e560053f60e)
|
|
signal handlers. THIS NEEDS TESTING !
Jeremy.
(This used to be commit 166d2a6144f929baecd83bdd855f6ada06cb51a6)
|
|
processing work correctly in winbindd. This is a really good patch
that gives full select semantics to the Samba modified select.
Jeremy.
(This used to be commit 3af16ade173cac24c1ac5eff4a36b439f16ac036)
|
|
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
|
|
Changed the way the wins record are handled in memory. Now they are living
much longer with the different states: active, released and tombstone.
Also added a version ID, some wins flags and the wins owner ip address to
the namrec->data struct, and a function to process messages sent by the
wins replication daemon.
the initiate_wins_processing() function is not correct, I'll fix it later.
J.F.
(This used to be commit b902e087d06c32797af19021a7f56895d86d7364)
|
|
J.F.
(This used to be commit ca7665c6b3618d3160bbd8e55ab56a8783cf8934)
|
|
Jeremy.
(This used to be commit 7d05175494227bf30d098e04ec91c4f0a7b7184c)
|
|
Jeremy.
(This used to be commit 85da18e46e607aa593b7c55f2c7eddd1c3769673)
|
|
Jeremy.
(This used to be commit 4e41780c21d9a6c056104f952e720a79c830c65e)
|
|
Jeremy.
(This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
|
|
signal management.
Jeremy.
(This used to be commit fffae94dd5699f44c0b1c8081587deafd89b3fc0)
|
|
Jeremy.
(This used to be commit 9343b613d3778b0330bc4d610d3befd363797360)
|
|
messages were sent, so you know how many replies to expect.
Const and doc religion.
(This used to be commit 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
|
|
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
(This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
|