Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fixed logic bug in timeout processing spotted by Ying Chen ↵ | Jeremy Allison | 2001-06-22 | 1 | -1/+1 | |
| | | | | | | | | | | | | <ying@almaden.ibm.com>. Jeremy. | |||||
| * | Fix for race condition found by Herb where we can end up with a NULL dbf. | Jeremy Allison | 2001-06-22 | 1 | -8/+0 | |
| | | | | | | | | Jeremy. | |||||
| * | Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(), | Jeremy Allison | 2001-06-22 | 2 | -9/+9 | |
| | | | | | | | | | | we need to close with close_file(). Jeremy. | |||||
| * | added the ability to test smbd safely as an ordinary user. The way it works is | Andrew Tridgell | 2001-06-22 | 4 | -3/+96 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that libsmb/ creates a local tcp socket then launches smbd as a subprocess attached to that socket. smbd thinks it is being launched from inetd. to use it do the following: - compile with -DSMB_REGRESSION_TEST - run like this (also works with smbtorture etc) export SMBD_TEST=1 export LIBSMB_PROG=bin/smbd smbclient //server/share -Uuser%pass obviously you need to setup a smb.conf etc. Using --prefix to configure is useful. The aim of all this stuff is to add a decent set of regression tests to the build farm, so we know if smbd actually runs correctly on all the platforms, not just builds. We can run smbtorture, masktest, locktest etc, plus a bunch of smbclient scripts and any new tests we write. This doesn't help much with nmbd (at least not yet) but its a good start. | |||||
| * | sync this function with 2.2 (single check for NULL parameter) | Gerald Carter | 2001-06-22 | 1 | -0/+3 | |
| | | ||||||
| * | Removed unused (and potentially crash-causing) free function. | Jeremy Allison | 2001-06-22 | 1 | -14/+0 | |
| | | | | | | | | Jeremy. | |||||
| * | add an ignore on proto.h | Andrew Tridgell | 2001-06-22 | 1 | -0/+1 | |
| | | ||||||
| * | auto-build proto.h if its not there, but don't make it depend | Andrew Tridgell | 2001-06-22 | 2 | -4704/+4 | |
| | | | | | | | | on anything. Delete proto.h from CVS | |||||
| * | Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts to | Tim Potter | 2001-06-22 | 1 | -20/+34 | |
| | | | | | | | | allocate 0 bytes. | |||||
| * | Spelling fix. | Tim Potter | 2001-06-22 | 1 | -1/+1 | |
| | | ||||||
| * | the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵ | Andrew Tridgell | 2001-06-22 | 2 | -13/+1 | |
| | | | | | | | | no way of telling if the call really failed | |||||
| * | Use cli_read_one() for reading DCE/RPC reply fragments. We need to check | Tim Potter | 2001-06-22 | 1 | -29/+36 | |
| | | | | | | | | | | | | | | | | for and ignore ERRmoredata errors as the client library doesn't support 32-bit error messages. Added some annotations for the RPC pipe code to make it a bit clearer maybe. | |||||
| * | Merged cli_read_one() function for reading DCE/RPC reply fragments. | Tim Potter | 2001-06-22 | 1 | -0/+46 | |
| | | ||||||
| * | Andrew - please look this over. I've fixed a long standing (maybe 4-5 | Jeremy Allison | 2001-06-22 | 2 | -137/+164 | |
| | | | | | | | | | | | | | | | | | | years old) bug when chainging a sessionsetup_and_X and tcon together. The wrong username was being entered into the tdb, even though the correct user was used for accessing files. This is related to the fact that authorise_login() is not used for sessionsetup, but only for tcon auths. Jeremy. | |||||
| * | added some comments to make the cli read code clearer | Andrew Tridgell | 2001-06-22 | 1 | -4/+14 | |
| | | ||||||
| * | use next_token instead of strtok. | Simo Sorce | 2001-06-21 | 1 | -6/+7 | |
| | | | | | | | | single elemnts of list cannot be longer than a pstring (1024B now) | |||||
| * | Ok - I misspoke.... mmap returns MAP_FAILED, not neccessarily -1 :-). | Jeremy Allison | 2001-06-21 | 1 | -2/+6 | |
| | | | | | | | | Jeremy. | |||||
| * | When mmap fails it returns -1 *NOT NULL*. | Jeremy Allison | 2001-06-21 | 1 | -1/+7 | |
| | | | | | | | | | | This got regressed somehow..... Jeremy. | |||||
| * | Merging Gerry's spoolss changes. | Jeremy Allison | 2001-06-21 | 4 | -620/+724 | |
| | | | | | | | | Jeremy. | |||||
| * | merge from 2.2 | Gerald Carter | 2001-06-21 | 7 | -1829/+3382 | |
| | | ||||||
| * | next_token() was supposed to be a reentrant replacement for strtok(), | Andrew Tridgell | 2001-06-21 | 14 | -290/+153 | |
| | | | | | | | | | | | | | | | | | | but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour | |||||
| * | Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually does | Andrew Tridgell | 2001-06-21 | 8 | -654/+673 | |
| | | | | | | | | | | | | | | | | send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths | |||||
| * | Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>, | Jeremy Allison | 2001-06-21 | 4 | -16/+22 | |
| | | | | | | | | | | | | Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True), but always use dos_to_unix(xx,False) to prevent overwriting. Jeremy. | |||||
| * | Fixed W2K SP2 joining a Samba PDC hosted domain. | Jeremy Allison | 2001-06-20 | 8 | -18/+227 | |
| | | | | | | | | Jermey. | |||||
| * | Warning fix from Andrew Bartlett. | Jeremy Allison | 2001-06-20 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
| * | initial support for paramter type P_LIST | Simo Sorce | 2001-06-20 | 6 | -690/+856 | |
| | | | | | | | | | | | | it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) | |||||
| * | make proto | Tim Potter | 2001-06-20 | 1 | -0/+2 | |
| | | ||||||
| * | Added cli_samr_delete_dom_user() function. | Tim Potter | 2001-06-20 | 1 | -0/+44 | |
| | | ||||||
| * | Added delete domain user rpcclient command. | Tim Potter | 2001-06-20 | 1 | -1/+84 | |
| | | ||||||
| * | added a close-share smbcontrol message that forcibly closes a share in smbd ↵ | Andrew Tridgell | 2001-06-20 | 6 | -613/+670 | |
| | | | | | | | | (to allow unmount) | |||||
| * | Merge from appliance branch: | Tim Potter | 2001-06-20 | 1 | -2/+8 | |
| | | | | | | | | | | Don't call find_domain_from_name() from winbindd_kill_connections() as you get stuck in an infinite loop! | |||||
| * | INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to not | Jeremy Allison | 2001-06-19 | 3 | -12/+7 | |
| | | | | | | | | | | depend on it... Jeremy. | |||||
| * | Only try and open a directory if we get EISDIR. | Jeremy Allison | 2001-06-19 | 1 | -4/+8 | |
| | | | | | | | | Jeremy. | |||||
| * | Extra debug in open.c, fix for bad debug message in reply.c | Jeremy Allison | 2001-06-19 | 3 | -3/+5 | |
| | | | | | | | | Jeremy. | |||||
| * | Fixed typo. | Tim Potter | 2001-06-19 | 1 | -1/+1 | |
| | | ||||||
| * | Fixed typo in debug message. | Tim Potter | 2001-06-19 | 1 | -1/+1 | |
| | | ||||||
| * | added a torture target for building all torture progs. Fixed a typo in locktest | Andrew Tridgell | 2001-06-19 | 2 | -1/+4 | |
| | | ||||||
| * | moved all our torture code to a separate directory | Andrew Tridgell | 2001-06-19 | 8 | -8/+3061 | |
| | | ||||||
| * | torture code is moving to its own directory | Andrew Tridgell | 2001-06-19 | 1 | -3053/+0 | |
| | | ||||||
| * | rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0. | Jeremy Allison | 2001-06-19 | 2 | -2/+2 | |
| | | | | | | | | | | utils/smbcacls.c: Set enum correctly. Jeremy. | |||||
| * | Added $(PROFILE_OBJ) to winbindd objects. | Tim Potter | 2001-06-19 | 1 | -1/+1 | |
| | | ||||||
| * | Set support for info levels... | Jeremy Allison | 2001-06-19 | 1 | -20/+14 | |
| | | | | | | | | Jeremy. | |||||
| * | Best-effort so far implementation of new W2K info levels. | Jeremy Allison | 2001-06-18 | 1 | -0/+148 | |
| | | | | | | | | | | An-embrace-and-extending we will go... Jeremy. | |||||
| * | New info level tester. | Jeremy Allison | 2001-06-18 | 2 | -0/+90 | |
| | | | | | | | | Jeremy. | |||||
| * | Fix for assert fail - left over when moved to dynamic allocation. | Jeremy Allison | 2001-06-18 | 1 | -3/+1 | |
| | | | | | | | | Jeremy. | |||||
| * | Added patches to remove Linux specific XFS ACLs. These are now handled by the | Jeremy Allison | 2001-06-18 | 9 | -953/+614 | |
| | | | | | | | | | | | | generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy. | |||||
| * | Added "Jim McDonough" <jmcd@us.ibm.com> patches for directory support | Jeremy Allison | 2001-06-18 | 1 | -6/+16 | |
| | | | | | | | | | | for Win9x. Jeremy. | |||||
| * | added a oplock break handler hook to the client code, this allows for more ↵ | Andrew Tridgell | 2001-06-18 | 6 | -49/+135 | |
| | | | | | | | | complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly | |||||
| * | Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitive | Tim Potter | 2001-06-18 | 4 | -71/+9 | |
| | | | | | | | | | | and the use of this function only increased timeouts when Samba queries a broken DNS server. | |||||
| * | Fixed typo in nmblookup example. | Tim Potter | 2001-06-18 | 1 | -1/+1 | |
| | |