Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use a logical cli_read(), removed the cli_read_one() hack. | Jeremy Allison | 2001-06-29 | 1 | -124/+61 | |
| | | | | Jeremy. | |||||
* | Fix a stupid typo ... | Richard Sharpe | 2001-06-27 | 1 | -2/+2 | |
| | ||||||
* | Put an 0x in front of a hex number. | Tim Potter | 2001-06-26 | 1 | -1/+1 | |
| | ||||||
* | fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵ | Andrew Tridgell | 2001-06-25 | 1 | -1/+1 | |
| | | | | instead of a define | |||||
* | - make the regresison test mode code build in by default. This should | Andrew Tridgell | 2001-06-25 | 1 | -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 is | Andrew Tridgell | 2001-06-22 | 1 | -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 to | Tim Potter | 2001-06-22 | 1 | -20/+34 | |
| | | | | allocate 0 bytes. | |||||
* | Merged cli_read_one() function for reading DCE/RPC reply fragments. | Tim Potter | 2001-06-22 | 1 | -0/+46 | |
| | ||||||
* | added some comments to make the cli read code clearer | Andrew Tridgell | 2001-06-22 | 1 | -4/+14 | |
| | ||||||
* | next_token() was supposed to be a reentrant replacement for strtok(), | Andrew Tridgell | 2001-06-21 | 1 | -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 does | Andrew Tridgell | 2001-06-21 | 4 | -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 Allison | 2001-06-21 | 2 | -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 Allison | 2001-06-20 | 2 | -2/+2 | |
| | | | | Jermey. | |||||
* | Added cli_samr_delete_dom_user() function. | Tim Potter | 2001-06-20 | 1 | -0/+44 | |
| | ||||||
* | New info level tester. | Jeremy Allison | 2001-06-18 | 1 | -0/+43 | |
| | | | | Jeremy. | |||||
* | added a oplock break handler hook to the client code, this allows for more ↵ | Andrew Tridgell | 2001-06-18 | 2 | -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-insensitive | Tim Potter | 2001-06-18 | 1 | -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 Potter | 2001-06-15 | 1 | -0/+1 | |
| | ||||||
* | Merged encode_pw_buffer() and nt_owf_genW() functions from TNG branch. | Tim Potter | 2001-06-15 | 1 | -0/+49 | |
| | ||||||
* | Added some msdfs client routines. | Tim Potter | 2001-06-13 | 1 | -0/+222 | |
| | ||||||
* | Fix up the problems with calling smbc_init multiple times. | Richard Sharpe | 2001-06-07 | 1 | -0/+6 | |
| | ||||||
* | Added stubs for dfs rpc client routines. | Tim Potter | 2001-06-06 | 1 | -0/+79 | |
| | ||||||
* | Fixed bug in cli_samr_create_dom_user() | Tim Potter | 2001-06-06 | 1 | -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 Allison | 2001-06-05 | 1 | -1/+5 | |
| | | | | | Also added smbtorture test for this. Jeremy. | |||||
* | use LDSHFLAGS not -shared in several places | Andrew Tridgell | 2001-06-04 | 1 | -1/+1 | |
| | ||||||
* | Added add domain user to rpcclient. | Tim Potter | 2001-06-04 | 1 | -0/+150 | |
| | | | | Added cli_ functions for set userinfo and userinfo2. | |||||
* | merge from 2.2 | Gerald Carter | 2001-05-31 | 1 | -2/+0 | |
| | ||||||
* | Added srv_get_info client command. | Tim Potter | 2001-05-24 | 1 | -0/+46 | |
| | ||||||
* | Added logon control2 client call. | Tim Potter | 2001-05-24 | 1 | -29/+15 | |
| | ||||||
* | Added stubs for SRVSVC and NETLOGON rpcclient commands. | Tim Potter | 2001-05-24 | 2 | -0/+224 | |
| | ||||||
* | merge from 2.2 DeletePrinterDriver() server side stud coming | Gerald Carter | 2001-05-17 | 1 | -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 compilers | Richard Sharpe | 2001-05-17 | 1 | -1/+1 | |
| | | | | in a twitch. | |||||
* | Further recasts to sockaddr * rather than sockaddr_in * | Richard Sharpe | 2001-05-17 | 1 | -3/+3 | |
| | ||||||
* | Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL | Richard Sharpe | 2001-05-15 | 1 | -24/+24 | |
| | | | | is a better return code anyway (I knew that :-) | |||||
* | Compile fixes for dynamic samr_query_userinfo() stuff. | Tim Potter | 2001-05-14 | 1 | -3/+2 | |
| | ||||||
* | Use talloc_strdup() instead of strdup(). | Tim Potter | 2001-05-11 | 1 | -1/+1 | |
| | ||||||
* | Memory leak fixes plus general cleanup. | Tim Potter | 2001-05-11 | 1 | -1/+4 | |
| | ||||||
* | Fix for query_dispinfo() | Tim Potter | 2001-05-08 | 1 | -0/+70 | |
| | | | | Added lookup_rids() function. | |||||
* | Some reformatting (sorry Gerald). | Tim Potter | 2001-05-07 | 2 | -143/+155 | |
| | | | | | | Cleanup of exit paths. Added query domain info and query display info. | |||||
* | Fixed a compiler warning. Still more const warnings though. )-: | Tim Potter | 2001-05-07 | 1 | -1/+1 | |
| | ||||||
* | Zero fnum when initialising a cli_state. | Tim Potter | 2001-05-04 | 1 | -0/+2 | |
| | ||||||
* | Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions. | Tim Potter | 2001-05-04 | 1 | -0/+107 | |
| | ||||||
* | Added cli_samr_enum_dom_groups() function. | Tim Potter | 2001-05-04 | 1 | -0/+77 | |
| | ||||||
* | Fixup smbcacls. Don't return memory already freed, don't free memory allocated | Jeremy Allison | 2001-05-01 | 1 | -12/+1 | |
| | | | | | with talloc. Jeremy. | |||||
* | - fixed some compiler warnings | Andrew Tridgell | 2001-04-28 | 1 | -1/+1 | |
| | | | | - fixed slprintf and vsprintf macros | |||||
* | rpcclient merge from 2.2 (including Jeremy's non-void return fix) | Gerald Carter | 2001-04-28 | 3 | -162/+300 | |
| | ||||||
* | merging from 2.2 to head | Andrew Tridgell | 2001-04-22 | 4 | -55/+195 | |
| | ||||||
* | Fix from "Darrin B. Jewell" <jewell@bdi.com> to allow anything other than | Jeremy Allison | 2001-04-15 | 1 | -4/+12 | |
| | | | | | nmbd to talk to nmbd if it's a WINS server. Jeremy. | |||||
* | Merge of Andrew's changes in 2.2. | Jeremy Allison | 2001-04-13 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Got "medieval on our ass" about adding the -1 to slprintf. | Jeremy Allison | 2001-04-08 | 2 | -7/+7 | |
| | | | | Jeremy. |