summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a logical cli_read(), removed the cli_read_one() hack.Jeremy Allison2001-06-291-124/+61
| | | | Jeremy.
* Fix a stupid typo ...Richard Sharpe2001-06-271-2/+2
|
* Put an 0x in front of a hex number.Tim Potter2001-06-261-1/+1
|
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-251-1/+1
| | | | instead of a define
* - make the regresison test mode code build in by default. This shouldAndrew Tridgell2001-06-251-4/+1
| | | | | allow us to have test targets without special configure options - fixed make proto so that it actually does something
* added the ability to test smbd safely as an ordinary user. The way it works isAndrew Tridgell2001-06-221-3/+9
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts toTim Potter2001-06-221-20/+34
| | | | allocate 0 bytes.
* Merged cli_read_one() function for reading DCE/RPC reply fragments.Tim Potter2001-06-221-0/+46
|
* added some comments to make the cli read code clearerAndrew Tridgell2001-06-221-4/+14
|
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-211-5/+8
| | | | | | | | | 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-214-14/+30
| | | | | | | | 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-212-8/+15
| | | | | | 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-202-2/+2
| | | | Jermey.
* Added cli_samr_delete_dom_user() function.Tim Potter2001-06-201-0/+44
|
* New info level tester.Jeremy Allison2001-06-181-0/+43
| | | | Jeremy.
* added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell2001-06-182-47/+79
| | | | 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-181-1/+1
| | | | | and the use of this function only increased timeouts when Samba queries a broken DNS server.
* Added a unix error code for NT_STATUS_PATH_NOT_COVERED.Tim Potter2001-06-151-0/+1
|
* Merged encode_pw_buffer() and nt_owf_genW() functions from TNG branch.Tim Potter2001-06-151-0/+49
|
* Added some msdfs client routines.Tim Potter2001-06-131-0/+222
|
* Fix up the problems with calling smbc_init multiple times.Richard Sharpe2001-06-071-0/+6
|
* Added stubs for dfs rpc client routines.Tim Potter2001-06-061-0/+79
|
* Fixed bug in cli_samr_create_dom_user()Tim Potter2001-06-061-4/+68
| | | | | | Added cli_samr_lookup_names() Removed redundant argument to cli_samr_connect()
* Set correct reply word in large writeX (greater than 64k) replies.Jeremy Allison2001-06-051-1/+5
| | | | | Also added smbtorture test for this. Jeremy.
* use LDSHFLAGS not -shared in several placesAndrew Tridgell2001-06-041-1/+1
|
* Added add domain user to rpcclient.Tim Potter2001-06-041-0/+150
| | | | Added cli_ functions for set userinfo and userinfo2.
* merge from 2.2Gerald Carter2001-05-311-2/+0
|
* Added srv_get_info client command.Tim Potter2001-05-241-0/+46
|
* Added logon control2 client call.Tim Potter2001-05-241-29/+15
|
* Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter2001-05-242-0/+224
|
* merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter2001-05-171-0/+57
| | | | in separate commit after I get it working in 2.2.
* Fix a small warning about char * vs unsigned char * that gets some compilersRichard Sharpe2001-05-171-1/+1
| | | | in a twitch.
* Further recasts to sockaddr * rather than sockaddr_in *Richard Sharpe2001-05-171-3/+3
|
* Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVALRichard Sharpe2001-05-151-24/+24
| | | | is a better return code anyway (I knew that :-)
* Compile fixes for dynamic samr_query_userinfo() stuff.Tim Potter2001-05-141-3/+2
|
* Use talloc_strdup() instead of strdup().Tim Potter2001-05-111-1/+1
|
* Memory leak fixes plus general cleanup.Tim Potter2001-05-111-1/+4
|
* Fix for query_dispinfo()Tim Potter2001-05-081-0/+70
| | | | Added lookup_rids() function.
* Some reformatting (sorry Gerald).Tim Potter2001-05-072-143/+155
| | | | | | Cleanup of exit paths. Added query domain info and query display info.
* Fixed a compiler warning. Still more const warnings though. )-:Tim Potter2001-05-071-1/+1
|
* Zero fnum when initialising a cli_state.Tim Potter2001-05-041-0/+2
|
* Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions.Tim Potter2001-05-041-0/+107
|
* Added cli_samr_enum_dom_groups() function.Tim Potter2001-05-041-0/+77
|
* Fixup smbcacls. Don't return memory already freed, don't free memory allocatedJeremy Allison2001-05-011-12/+1
| | | | | with talloc. Jeremy.
* - fixed some compiler warningsAndrew Tridgell2001-04-281-1/+1
| | | | - fixed slprintf and vsprintf macros
* rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter2001-04-283-162/+300
|
* merging from 2.2 to headAndrew Tridgell2001-04-224-55/+195
|
* Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other thanJeremy Allison2001-04-151-4/+12
| | | | | nmbd to talk to nmbd if it's a WINS server. Jeremy.
* Merge of Andrew's changes in 2.2.Jeremy Allison2001-04-131-1/+1
| | | | Jeremy.
* Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2001-04-082-7/+7
| | | | Jeremy.