summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* got rid of the date headers off all text docsAndrew Tridgell2001-06-2532-98/+0
| | | | (This used to be commit 9d02041f0095d77753bd96bf070459547ec1339d)
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-2515-621/+682
| | | | | | instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
* make sure we have BOOL in autoconf usage of util_sec.cAndrew Tridgell2001-06-251-0/+1
| | | | (This used to be commit 72f63f5144ececdef31c659ab645eb71a88943b5)
* added a -L option to smbpasswd to force it to run locally so we can test ↵Andrew Tridgell2001-06-251-3/+17
| | | | | | smbpasswd as non-root (This used to be commit ab635202655712a05b812ff40550d00d00552853)
* - make the regresison test mode code build in by default. This shouldAndrew Tridgell2001-06-255-46/+59
| | | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something (This used to be commit 55109a752578e9389d853cb27ec17c2114ecff77)
* fixed errorSimo Sorce2001-06-241-5/+5
| | | | | using wrong pointer to test and free s/str/s/ (This used to be commit 7e5a9860fad92fee79bcc20f2ea2a3728080dba2)
* Log debug before and after netbios names copied so we know if they've beenJeremy Allison2001-06-231-0/+3
| | | | | | changed. Jeremy. (This used to be commit f8c121c69c9561f011a0e08a9d0beaf1cefd1667)
* uhm some pointer went wrongSimo Sorce2001-06-231-4/+4
| | | | (This used to be commit d0acacfc9df86abab24420f1807b4d5253e8c285)
* handle P_LIST parametersSimo Sorce2001-06-231-0/+25
| | | | (This used to be commit 26ab608c91c7357df3a79bc34111194f115de005)
* fix compiler warningsSimo Sorce2001-06-231-0/+2
| | | | (This used to be commit 1959864490e79756257ba10431b188de78b8c8a7)
* fix compiler warningsSimo Sorce2001-06-232-4/+0
| | | | (This used to be commit 7420e2f7898f1d141ba2af3eda07a67862fee842)
* Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison2001-06-235-10/+20
| | | | | | fix for the problem. Jeremy. (This used to be commit e059fffd03a1382fb2b7059b6de369d9fc765a17)
* Better fix for client name vulnarability.Jeremy Allison2001-06-231-0/+2
| | | | | Jeremy. (This used to be commit 17c3faa367328d186d10f59f08549de0c608b16a)
* Fix for multibyte default service parameter from TAKAHASHI Motonobu, Samba ↵Jeremy Allison2001-06-221-2/+2
| | | | | | | Users Group Japan Jeremy (This used to be commit a2da1f91c1b08414592d5f014c8539575d0e9637)
* Fixed logic bug in timeout processing spotted by Ying Chen ↵Jeremy Allison2001-06-221-1/+1
| | | | | | | <ying@almaden.ibm.com>. Jeremy. (This used to be commit 08c168242364bf4d415f49d134e507a7e234611b)
* Fix for race condition found by Herb where we can end up with a NULL dbf.Jeremy Allison2001-06-221-8/+0
| | | | | Jeremy. (This used to be commit 5cbb2106735ad0533198a83d62541cabd7beed20)
* 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. (This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
* 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. (This used to be commit 7e8e6ae9a88c4d2587eb4e7f0501cd71bd36ebb2)
* sync this function with 2.2 (single check for NULL parameter)Gerald Carter2001-06-221-0/+3
| | | | (This used to be commit 3ab50e648d682080308d2db6bdb71eef0e303988)
* Removed unused (and potentially crash-causing) free function.Jeremy Allison2001-06-221-14/+0
| | | | | Jeremy. (This used to be commit 54ea00fa870f258b885b18e8684caa8488948607)
* add an ignore on proto.hAndrew Tridgell2001-06-221-0/+1
| | | | (This used to be commit 0dc9227156823f6a44e6a0260e091b972057baa3)
* 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 (This used to be commit 8a37df73ec4d8d1a7db60a49cd5d7d22c4704a88)
* Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts toTim Potter2001-06-221-20/+34
| | | | | allocate 0 bytes. (This used to be commit 465994cfbca72649474345bc057d436961cccf97)
* Spelling fix.Tim Potter2001-06-221-1/+1
| | | | (This used to be commit 5f4889beb9311fd3912c3dfccf18fc9ab22b964c)
* 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 (This used to be commit 7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399)
* 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. (This used to be commit f179e0ff61794073aedcf77544865ad2f18c6e6d)
* Merged cli_read_one() function for reading DCE/RPC reply fragments.Tim Potter2001-06-221-0/+46
| | | | (This used to be commit 9e074bc2bf2df34048b67457623bb8219fb1e4d6)
* 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. (This used to be commit 0187cd6aef7586d7ad4bdc70c50f3f2e7c69519c)
* added some comments to make the cli read code clearerAndrew Tridgell2001-06-221-4/+14
| | | | (This used to be commit bbfbe03cc6166c23c42a704b5acaa19cbdbc39ce)
* use next_token instead of strtok.Simo Sorce2001-06-211-6/+7
| | | | | single elemnts of list cannot be longer than a pstring (1024B now) (This used to be commit 72b749ec89fa3642c0b3330a5331be645f84e24c)
* Ok - I misspoke.... mmap returns MAP_FAILED, not neccessarily -1 :-).Jeremy Allison2001-06-211-2/+6
| | | | | Jeremy. (This used to be commit 2d1c6d1f6b55a0a78eb8afbe16d2ad8b3253a220)
* When mmap fails it returns -1 *NOT NULL*.Jeremy Allison2001-06-211-1/+7
| | | | | | This got regressed somehow..... Jeremy. (This used to be commit b77c8b536d4b6d2162f4932227f01cffb730c645)
* Merging Gerry's spoolss changes.Jeremy Allison2001-06-214-620/+724
| | | | | Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
* merge from 2.2Gerald Carter2001-06-217-1829/+3382
| | | | (This used to be commit 5932471a03e74ef7fcc71e22dbb52c530332a713)
* 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 (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
* 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 (This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
* 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. (This used to be commit 244aec8ea623fec828add3ab09c5003bf32bd5c7)
* Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison2001-06-208-18/+227
| | | | | Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
* Warning fix from Andrew Bartlett.Jeremy Allison2001-06-201-1/+1
| | | | | Jeremy. (This used to be commit 87f647715d9fba9f8d25da0bde005a8d8858c2ae)
* 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) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
* make protoTim Potter2001-06-201-0/+2
| | | | (This used to be commit d0b37d1a623acce2ae4509aebda85ad1280dc8ac)
* Added cli_samr_delete_dom_user() function.Tim Potter2001-06-201-0/+44
| | | | (This used to be commit 2162454d9ea5a07892d0b5d7fc5abe7251b4fa98)
* Added delete domain user rpcclient command.Tim Potter2001-06-201-1/+84
| | | | (This used to be commit aa9024c95996dec67d76c5ed108cfba733dcdbfe)
* added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2001-06-206-613/+670
| | | | | | (to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
* 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! (This used to be commit 8e982941d82b813197f2a9720149e60f629b5b20)
* INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to notJeremy Allison2001-06-193-12/+7
| | | | | | depend on it... Jeremy. (This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)
* Only try and open a directory if we get EISDIR.Jeremy Allison2001-06-191-4/+8
| | | | | Jeremy. (This used to be commit 5b1245f80357f585ef3b24704e5ef34ef71e232f)
* Extra debug in open.c, fix for bad debug message in reply.cJeremy Allison2001-06-193-3/+5
| | | | | Jeremy. (This used to be commit 2c2fc8513699eb39721ac1d65fa1fdaecde526a8)
* Fixed typo.Tim Potter2001-06-191-1/+1
| | | | (This used to be commit fdfd690538b02781e237831474d679307953ac8f)
* Fixed typo in debug message.Tim Potter2001-06-191-1/+1
| | | | (This used to be commit d05577c33237a092bbc7ca21e68f3cef06b4ab3b)