summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Kill off codepage related stuff, now we don't use codepages any more.Andrew Bartlett2002-07-035-892/+816
| | | | | | | | Andrew Bartlett
* | fix typo in unix extensions descriptionGerald Carter2002-07-021-3/+3
| |
* | Address the string_sub problem by changing len = 0 to mean "no expand".Jeremy Allison2002-07-0214-81/+121
| | | | | | | | | | | | Went through and checked all string_subs I could to ensure they're being used correctly. Jeremy.
* | fixed our winreg parsing to handle a diifferent form given to us byAndrew Tridgell2002-07-021-6/+8
| | | | | | | | WinXP. This fixes setting security decsriptors from XP Professional.
* | Merge of constant renames from APPLIANCE_HEAD.Tim Potter2002-07-023-67/+65
| |
* | fixed a prototype problem in client.cAndrew Tridgell2002-07-021-0/+3
| |
* | used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2002-07-0123-304/+80
| | | | | | | | code
* | ads_mod_ber should be static, not publicAndrew Tridgell2002-07-011-2/+2
| | | | | | | | | | this fixes the huge number of struct berval warnings on non-ads compiles
* | fixed multi-homed re-registration of names when we are a WINSAndrew Tridgell2002-07-011-1/+11
| | | | | | | | server. We were rejecting them, leaving the name unregistered!
* | don't start the async dns process unless we actually need it!Andrew Tridgell2002-07-011-1/+1
| | | | | | | | (ie. check for lp_dns_proxy())
* | bias the lookup sorting towards directly reachable IPsAndrew Tridgell2002-07-012-0/+16
| |
* | sort name query responses by how far they are from our interfaceAndrew Tridgell2002-07-012-2/+43
| | | | | | | | | | broadcast addresses. This makes it far more likely that we will try to talk to an interface that is routable from one of our interfaces.
* | fixed a bug handling startup when the ads server is not contactableAndrew Tridgell2002-07-011-1/+1
| |
* | The 17-bit length field in the header contains the number ofChristopher R. Hertel2002-07-011-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().
* | fixed a makefile syntax error that was breaking the build on someAndrew Tridgell2002-06-301-1/+1
| | | | | | | | systems
* | Shut down printing tdb correctly - this will be more important when I goJeremy Allison2002-06-282-3/+18
| | | | | | | | | | to a tdb per-queue for scalability. Jeremy.
* | Added limit on SPOOLSS pipes from 2.2.xJeremy Allison2002-06-281-8/+31
| | | | | | | | Jeremy.
* | Test how many pipes we can open.Jeremy Allison2002-06-281-0/+29
| | | | | | | | Jeremy.
* | Const cleanup...should only be 2 warnings left from calling lib/util_str.cJim McDonough2002-06-281-117/+158
| | | | | | | | str_list_copy(). Perhaps its proto should be fixed.
* | STRING was being redefined...Jeremy Allison2002-06-281-1/+0
| | | | | | | | Jeremy.
* | don't backup to a newer fileAndrew Tridgell2002-06-281-1/+17
| |
* | make net join a bit less verboseAndrew Tridgell2002-06-283-3/+3
| | | | | | | | these errors happen all the time, so they shouldn't be level 0
* | don't warn on non-existant files in map_file(), let the caller handle any ↵Andrew Tridgell2002-06-281-1/+2
| | | | | | | | warning
* | don't warn on the loading of zero length files. This fixes theAndrew Tridgell2002-06-281-1/+1
| | | | | | | | 'valid.dat' warning
* | Proper merge of all the working printing stuff from APPLIANCE_HEAD.Jeremy Allison2002-06-2814-1040/+1462
| | | | | | | | | | Now let's keep this in sync ! Jeremy.
* | It's fairly obvious that no one has tried to upload a driverGerald Carter2002-06-272-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
* | fixed a link problem with global_in_nmbdAndrew Tridgell2002-06-272-3/+3
| |
* | The next phase in the WINS rewrite!Andrew Tridgell2002-06-2713-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.
* | Jelmer has been keeping on top of the typos.Andrew Bartlett2002-06-274-3/+6
| |
* | We don't use SSL any more...Andrew Bartlett2002-06-271-405/+0
| | | | | | | | | | | | (from jelmer) Andrew Bartlett
* | a null grp_sid should have a 0 offset. Also removed a few more unnecessaryGerald Carter2002-06-272-17/+6
| | | | | | | | prs_align() for sec_desc.
* | Using 1 for a tdb hash size makes for slow inserts....Jeremy Allison2002-06-271-1/+1
| | | | | | | | Jeremy.
* | Re-enable kernel change notification on s390 as it has been fixed in theJim McDonough2002-06-262-2/+2
| | | | | | | | kernel.
* | more merges from SAMBA_2_2Gerald Carter2002-06-263-806/+813
| |
* | merge from APP_HEADGerald Carter2002-06-262-16/+9
| |
* | Typo...Jeremy Allison2002-06-261-1/+1
| | | | | | | | Jeremy.
* | Added prs_align_uint16 for SD aligns.Jeremy Allison2002-06-261-0/+11
| | | | | | | | Jeremy.
* | Reduce compiler warnings.Jim McDonough2002-06-261-28/+36
| |
* | resolve_wins() now needs to be a public functionAndrew Tridgell2002-06-261-2/+2
| |
* | This commit finally gives us multiple wins server groups. We nowAndrew Tridgell2002-06-268-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.
* | we never pass any userdata when doing name registrations on theAndrew Tridgell2002-06-261-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 ...)
* | removed the wins name registration code from libsmbclientAndrew Tridgell2002-06-262-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.
* | made the wins list handling a littler clearerAndrew Tridgell2002-06-261-9/+5
| |
* | mumble ... fix typo ... mumbleAndrew Tridgell2002-06-261-1/+1
| |
* | fixed we_are_multihomed() to cope with dynamic interfaces (ie. don'tAndrew Tridgell2002-06-261-6/+1
| | | | | | | | cache the result!)
* | - completely rewrote the wins_srv.c code. It is now much simpler, andAndrew Tridgell2002-06-266-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).
* | fixed 3 bugs in jeremys trans2 merge. Hopefully it now works.Andrew Tridgell2002-06-261-8/+4
| |
* | reverted some bogus test code that jeremy accidentally committedAndrew Tridgell2002-06-261-8/+0
| |
* | Another bug fix from metze.Andrew Bartlett2002-06-261-1/+1
| |
* | Qualify some of the hexidecimal responses with 0xAndrew Bartlett2002-06-261-5/+5
| |