summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed logic bug in timeout processing spotted by Ying Chen ↵Jeremy Allison2001-06-221-1/+1
| | | | | | | | | | | | <ying@almaden.ibm.com>. Jeremy.
| * Fix for race condition found by Herb where we can end up with a NULL dbf.Jeremy Allison2001-06-221-8/+0
| | | | | | | | Jeremy.
| * Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison2001-06-222-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 isAndrew Tridgell2001-06-224-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 Carter2001-06-221-0/+3
| |
| * Removed unused (and potentially crash-causing) free function.Jeremy Allison2001-06-221-14/+0
| | | | | | | | Jeremy.
| * add an ignore on proto.hAndrew Tridgell2001-06-221-0/+1
| |
| * auto-build proto.h if its not there, but don't make it dependAndrew Tridgell2001-06-222-4704/+4
| | | | | | | | on anything. Delete proto.h from CVS
| * Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts toTim Potter2001-06-221-20/+34
| | | | | | | | allocate 0 bytes.
| * Spelling fix.Tim Potter2001-06-221-1/+1
| |
| * the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell2001-06-222-13/+1
| | | | | | | | no way of telling if the call really failed
| * Use cli_read_one() for reading DCE/RPC reply fragments. We need to checkTim Potter2001-06-221-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 Potter2001-06-221-0/+46
| |
| * Andrew - please look this over. I've fixed a long standing (maybe 4-5Jeremy Allison2001-06-222-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 clearerAndrew Tridgell2001-06-221-4/+14
| |
| * use next_token instead of strtok.Simo Sorce2001-06-211-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 Allison2001-06-211-2/+6
| | | | | | | | Jeremy.
| * When mmap fails it returns -1 *NOT NULL*.Jeremy Allison2001-06-211-1/+7
| | | | | | | | | | This got regressed somehow..... Jeremy.
| * Merging Gerry's spoolss changes.Jeremy Allison2001-06-214-620/+724
| | | | | | | | Jeremy.
| * merge from 2.2Gerald Carter2001-06-217-1829/+3382
| |
| * next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-2114-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 doesAndrew Tridgell2001-06-218-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 Allison2001-06-214-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 Allison2001-06-208-18/+227
| | | | | | | | Jermey.
| * Warning fix from Andrew Bartlett.Jeremy Allison2001-06-201-1/+1
| | | | | | | | Jeremy.
| * initial support for paramter type P_LISTSimo Sorce2001-06-206-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 protoTim Potter2001-06-201-0/+2
| |
| * Added cli_samr_delete_dom_user() function.Tim Potter2001-06-201-0/+44
| |
| * Added delete domain user rpcclient command.Tim Potter2001-06-201-1/+84
| |
| * added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2001-06-206-613/+670
| | | | | | | | (to allow unmount)
| * Merge from appliance branch:Tim Potter2001-06-201-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 notJeremy Allison2001-06-193-12/+7
| | | | | | | | | | depend on it... Jeremy.
| * Only try and open a directory if we get EISDIR.Jeremy Allison2001-06-191-4/+8
| | | | | | | | Jeremy.
| * Extra debug in open.c, fix for bad debug message in reply.cJeremy Allison2001-06-193-3/+5
| | | | | | | | Jeremy.
| * Fixed typo.Tim Potter2001-06-191-1/+1
| |
| * Fixed typo in debug message.Tim Potter2001-06-191-1/+1
| |
| * added a torture target for building all torture progs. Fixed a typo in locktestAndrew Tridgell2001-06-192-1/+4
| |
| * moved all our torture code to a separate directoryAndrew Tridgell2001-06-198-8/+3061
| |
| * torture code is moving to its own directoryAndrew Tridgell2001-06-191-3053/+0
| |
| * rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.Jeremy Allison2001-06-192-2/+2
| | | | | | | | | | utils/smbcacls.c: Set enum correctly. Jeremy.
| * Added $(PROFILE_OBJ) to winbindd objects.Tim Potter2001-06-191-1/+1
| |
| * Set support for info levels...Jeremy Allison2001-06-191-20/+14
| | | | | | | | Jeremy.
| * Best-effort so far implementation of new W2K info levels.Jeremy Allison2001-06-181-0/+148
| | | | | | | | | | An-embrace-and-extending we will go... Jeremy.
| * New info level tester.Jeremy Allison2001-06-182-0/+90
| | | | | | | | Jeremy.
| * Fix for assert fail - left over when moved to dynamic allocation.Jeremy Allison2001-06-181-3/+1
| | | | | | | | Jeremy.
| * Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison2001-06-189-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 supportJeremy Allison2001-06-181-6/+16
| | | | | | | | | | for Win9x. Jeremy.
| * added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell2001-06-186-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-insensitiveTim Potter2001-06-184-71/+9
| | | | | | | | | | and the use of this function only increased timeouts when Samba queries a broken DNS server.
| * Fixed typo in nmblookup example.Tim Potter2001-06-181-1/+1
| |