summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-01The 17-bit length field in the header contains the number ofChristopher R. Hertel1-1/+8
bytes which follow the header, not the full packet size. [Yes, the length field is either 17-bits, or (per the RFCs) it is a 16-bit length field preceeded by an 8-bit flags field of which only the low-order bit may be used. If that bit is set, then add 65536 to the 16-bit length field. (In other words, it's a 17-bit unsigned length field.) ...unless, of course, the transport is native TCP [port 445] in which case the length field *might* be 24-bits wide.] Anyway, the change is a very minor one. We were including the four bytes of the header in the length count and, as a result, sending four bytes of garbage at the end of the SESSION REQUEST packet. Small fix in function cli_session_request(). (This used to be commit cd2b1357066a712efcf87ac61922ef871118e8de)
2002-06-30fixed a makefile syntax error that was breaking the build on someAndrew Tridgell1-1/+1
systems (This used to be commit 4eda1801493a79a27ad49e141e6adf8c8d4db85b)
2002-06-28Shut down printing tdb correctly - this will be more important when I goJeremy Allison2-3/+18
to a tdb per-queue for scalability. Jeremy. (This used to be commit e808eb2758ff4ad1eed7b50a02865b87ba0c068e)
2002-06-28Added limit on SPOOLSS pipes from 2.2.xJeremy Allison1-8/+31
Jeremy. (This used to be commit b35fc30c37fa894acea3fcb7b48ee9841d1bd5e8)
2002-06-28Test how many pipes we can open.Jeremy Allison1-0/+29
Jeremy. (This used to be commit 95d22f18d7a2bb06804a6a336b243face4b496a1)
2002-06-28Const cleanup...should only be 2 warnings left from calling lib/util_str.cJim McDonough1-117/+158
str_list_copy(). Perhaps its proto should be fixed. (This used to be commit b81bc2b34b620c24a148435d9913bd1a1528c983)
2002-06-28STRING was being redefined...Jeremy Allison1-1/+0
Jeremy. (This used to be commit f631f7e0fc7ff655d56ad17606134784f401f171)
2002-06-28don't backup to a newer fileAndrew Tridgell1-1/+17
(This used to be commit ae2f8aa9d0678aa0014d96fc8b1b52f42cba8349)
2002-06-28make net join a bit less verboseAndrew Tridgell3-3/+3
these errors happen all the time, so they shouldn't be level 0 (This used to be commit abc2aed26c6cb12a86987a3846ca5c9f7df9a5ae)
2002-06-28don't warn on non-existant files in map_file(), let the caller handle any ↵Andrew Tridgell1-1/+2
warning (This used to be commit 98a119ee58286b708a54dcba9ffcfbdcf8cb6bba)
2002-06-28don't warn on the loading of zero length files. This fixes theAndrew Tridgell1-1/+1
'valid.dat' warning (This used to be commit 57101ef770e34ef9fd2ddcb5d9c9e9ad050e5e3d)
2002-06-28Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison14-1040/+1462
Now let's keep this in sync ! Jeremy. (This used to be commit 3603cd4947df2c10df604447dc542932cb9e5d5a)
2002-06-27It's fairly obvious that no one has tried to upload a driverGerald Carter2-2/+30
to a Samba print server running HEAD in a while. This has been broken since tridge's changes to make_connection() to not do the chdir() to the connect_path. Sorry it took me so long to get around to fixing it. The problem occured with our internal use of make_connection(). jerry (This used to be commit b5bc8aa0f68ceebfb5c0ec15ff93b0172cec36d8)
2002-06-27fixed a link problem with global_in_nmbdAndrew Tridgell2-3/+3
(This used to be commit 9a3e323ec261a1ee3a83f8c558583c3d4a53e06a)
2002-06-27The next phase in the WINS rewrite!Andrew Tridgell13-894/+867
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)
2002-06-27Jelmer has been keeping on top of the typos.Andrew Bartlett4-3/+6
(This used to be commit 1e36b7e9620f616590dd9f4f44384272b62605ff)
2002-06-27We don't use SSL any more...Andrew Bartlett1-405/+0
(from jelmer) Andrew Bartlett (This used to be commit f766fc47d405cd2862ab542d851cf0cbf07ed367)
2002-06-27a null grp_sid should have a 0 offset. Also removed a few more unnecessaryGerald Carter2-17/+6
prs_align() for sec_desc. (This used to be commit fc3770f281f6344a0589bfe614cd3e559b7259dd)
2002-06-27Using 1 for a tdb hash size makes for slow inserts....Jeremy Allison1-1/+1
Jeremy. (This used to be commit d015c08100bf467e3f83143586a234989eca1a49)
2002-06-26Re-enable kernel change notification on s390 as it has been fixed in theJim McDonough2-2/+2
kernel. (This used to be commit ce7aa715ba2b704bfba49f128196c6a3421fd73b)
2002-06-26more merges from SAMBA_2_2Gerald Carter3-806/+813
(This used to be commit fea895c5c41d51e6b06f0bcf8e0c95b29df89e76)
2002-06-26merge from APP_HEADGerald Carter2-16/+9
(This used to be commit d8cf54399d89b4023102ed8326d35147d91e4168)
2002-06-26Typo...Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4ed134426dbf85a4f4e2f7fcef91cd8e8bf31519)
2002-06-26Added prs_align_uint16 for SD aligns.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 374182a9ba4988cad407e6e6c45057069a3c5793)
2002-06-26Reduce compiler warnings.Jim McDonough1-28/+36
(This used to be commit b361089360068b91e9f4d221abdc3c8351596a7f)
2002-06-26resolve_wins() now needs to be a public functionAndrew Tridgell1-2/+2
(This used to be commit 0bce9af615db2eb7e95887ab6b95655d7771dac2)
2002-06-26This commit finally gives us multiple wins server groups. We nowAndrew Tridgell8-266/+557
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)
2002-06-26we never pass any userdata when doing name registrations on theAndrew Tridgell1-54/+51
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)
2002-06-26removed the wins name registration code from libsmbclientAndrew Tridgell2-229/+158
it is *completely* bogus for our client code to be doing wins registrations. Not only is it slow as hell (think about when a wins server is down) but how the heck is going to answer the queries that will later come in for our name? And what happens when libsmbclient sends registrations and nmbd then gets the WACK response from the wins server? we end up losing our name! Name registration is a job for nmbd, not for clients. (This used to be commit 62774923ffdce15eded0f37ba99e33e9cd7a358c)
2002-06-26made the wins list handling a littler clearerAndrew Tridgell1-9/+5
(This used to be commit d03efabc4dca842cafcd0edfa1eaa5b4d3e821b6)
2002-06-26mumble ... fix typo ... mumbleAndrew Tridgell1-1/+1
(This used to be commit 68be27cfea938d7f91a8ce1da39eb86c577f7719)
2002-06-26fixed we_are_multihomed() to cope with dynamic interfaces (ie. don'tAndrew Tridgell1-6/+1
cache the result!) (This used to be commit fc8aa198b16da24b68e45982eb45dd7d5fd089e1)
2002-06-26- completely rewrote the wins_srv.c code. It is now much simpler, andAndrew Tridgell6-331/+126
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)
2002-06-26fixed 3 bugs in jeremys trans2 merge. Hopefully it now works.Andrew Tridgell1-8/+4
(This used to be commit 4a7813711130625598e0ffe92e7938890b818d2f)
2002-06-26reverted some bogus test code that jeremy accidentally committedAndrew Tridgell1-8/+0
(This used to be commit 6b28ca8bd2a6613989bb23be951836d173296197)
2002-06-26Another bug fix from metze.Andrew Bartlett1-1/+1
(This used to be commit 5c754cef19c9580e2cb1e23152a1097d11ca8c60)
2002-06-26Qualify some of the hexidecimal responses with 0xAndrew Bartlett1-5/+5
(This used to be commit e77e21cdbe2cb2d594494dd6e5cac37b5b1bcab8)
2002-06-25And fix another missing ubiqx...Andrew Bartlett1-1/+1
(Didn't have smbmnt compiled in originally, so it missed my tests) (This used to be commit 184be390a842221470cdc20f05eb3dc14de5b534)
2002-06-25Fix the smbmnt compile.Andrew Bartlett1-1/+1
(This used to be commit 987633021f13d2c3571fbe2c1f9ff86a14c046e6)
2002-06-25I'm going to try and check this against Win2k shortly, but I'm certain thatAndrew Bartlett1-1/+1
'NT_STATUS_OK' is not the right answer here. Try NO_MORE_ENTRIES for now. Andrew Bartlett (This used to be commit c98b9a965905f1876b4884f932ff2e0237d85b03)
2002-06-25Try to avoid infinite loops when reteriving users - even from broken servers.Andrew Bartlett1-1/+4
Andrew Bartlett (This used to be commit ebc8452a30b2a9bdd6698af8dad489f3f92ae7a6)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett12-158/+67
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-06-25And another .cvsignoreAndrew Bartlett1-0/+1
(This used to be commit fa0037a294a9faaf3cdc894e2ec1280dad157553)
2002-06-25Add a .cvsignore fileAndrew Bartlett1-0/+1
(This used to be commit 7f81e423d2fcfd3a97920d1c5f50d9020355428b)
2002-06-25Kill off unnecessary cast.Andrew Bartlett1-2/+3
(This used to be commit 658e853bc6914113dcd4f67d7a1d2761372b562d)
2002-06-25Break up samba's object dependencies, and its prototype includes.Andrew Bartlett14-183/+268
Now smbclient, net, and swat use their own proto files - now the global proto.h The change to libads/kerberos.c was to break up the dependency on secrets.c - we want to be able to write an ADS client that doesn't need local secrets. I have other breakups in the works - I will remove the dependency of rpc_parse on passdb (and therefore secrets.c) shortly. (NOTE: This patch does *not* break up includes.h, or other such forbidden actions). Andrew Bartlett (This used to be commit edb41dad2df0ae3db364dbc3896cc75956262edf)
2002-06-25Add a couple more DEBUG()s to winbindd.Andrew Bartlett1-4/+9
Andrew Bartlett (This used to be commit 3b2464ffdad5e64a05e227b50116cb59f6d34204)
2002-06-25fixed a bug in handling select in the main daemon - this stops the daemon ↵Andrew Tridgell1-12/+6
spinning if a signal is received at an inconvenient moment (This used to be commit d8d7dd523d897ea25a572c8f21903e94e8485404)
2002-06-25removed compiler warningGerald Carter1-1/+1
(This used to be commit 73ba155a6bba150b5bd8385fd609ed7fea30f02f)
2002-06-25merge of SONAMEFLAG stuff from SAMBA_2_2. If I stepped on somethingGerald Carter3-820/+921
here because HEAD does it differently, someone let me know. This looks ok and compiles fine from what I can tell. (This used to be commit 68841ae76289369c0b2e9e964bad1746e6e2cc8b)