summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
AgeCommit message (Collapse)AuthorFilesLines
2001-07-08formatting fixAndrew Tridgell1-1/+1
(This used to be commit 3dc9fd076a2c4c352d51f7b9dfa8b570a231c9e2)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-1/+1
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-30/+23
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-25- make the regresison test mode code build in by default. This shouldAndrew Tridgell1-4/+1
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)
2001-06-22added the ability to test smbd safely as an ordinary user. The way it works isAndrew Tridgell1-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. (This used to be commit 7e8e6ae9a88c4d2587eb4e7f0501cd71bd36ebb2)
2001-06-21Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell1-0/+6
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)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter1-1/+1
back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)
2001-03-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell1-12/+12
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-03-01Fixed compiler warning.Tim Potter1-4/+4
(This used to be commit 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)
2001-02-25neater negprot code using the new cli_setup_bcc() callAndrew Tridgell1-7/+2
(This used to be commit 5b1728426531785d37b4fac0684114f8a84dacb2)
2001-02-21the unicode conversion of our client code is complete enough to beAndrew Tridgell1-5/+7
enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII (This used to be commit 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9)
2001-02-20- neater setting of bccAndrew Tridgell1-3/+3
- converted cli_rename and cli_unlink (This used to be commit 0a8992e224b7a3d90d45b13d73fa8a6f155efa79)
2001-02-20converted cli_list()Andrew Tridgell1-1/+10
(This used to be commit bdce09b77807c80281c1e169b7c4813c9238fbe3)
2001-02-20pipe opening now works with unicodeAndrew Tridgell1-13/+4
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
2001-02-20initial client side unicode support (needed for netapp filer)Andrew Tridgell1-40/+35
I've currently got this code disabled by default as it is incomplete. You enable it by setting a USE_UNICODE environment variable. Once the support is complete this check will be removed and the CAP_UNICODE capability bit will be the sole determination of whether the client library code uses unicode right now I have converted session_setup and tconx. I will do more fns over the next few days. see clistr.c for the new client side string interface. Luckily it tends to make the code smaller and neater while adding unicode support. (This used to be commit e1a04e621f1c28d8e6e543d43741ca0272e2237f)
2001-02-15Merge of i18n password fix for smbclient.Tim Potter1-1/+0
(This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2)
2001-02-14Merge of i18n fixes from appliance branch. Samba can now talk to a networkTim Potter1-3/+4
with a PDC that has international netbios name and domain name. There's still quite a bit of i18n stuff to fix though... (This used to be commit 79045bd72ace9144e7dd73785b1d10a71b0d15aa)
2000-12-21Replace magic number with constant.Tim Potter1-1/+1
(This used to be commit 1a228868cf14418894b798f19955df3276bd1089)
2000-12-04in cli_session_setup() accept usernames of the form DOMAIN/USER orAndrew Tridgell1-0/+9
DOMAIN\USER this means all our tools can now put the domain name in the -U option (This used to be commit bac1c76f03b6b848fa2e942b12c646aed58bee12)
2000-11-16Ok - fixed a bug in our levelII oplock code. We need to break a level II onJeremy Allison1-1/+1
a byte range lock (write lock only, but Win2k breaks on read lock also so I do the same) - if you think about why, this is obvious. Also fixed our client code to do level II oplocks, if requested, and fixed the code where we would assume the client wanted level II if it advertised itself as being level II capable - it may not want that. Jeremy. (This used to be commit 213cd0b5192307cd4b0026cae94b2f52fb1b0c02)
2000-10-28Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo ↵Jeremy Allison1-4/+2
Research Lab. IBM-Japan. Co. Jp. Jeremy. (This used to be commit 06f5da5d4bf044969364afe0298347811fb4ae91)
2000-09-26added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton1-0/+38
(This used to be commit b21179331802aace566671dcff6db22cdf4b3e81)
2000-07-07More rpcclient merge issues:Gerald Carter1-2/+12
* fixes some readline bugs from the merge * first attempt at commands (spoolenum almost works) * no changes to existing functions in HEAD; only additions of new functions. I'll weed out what I can as I go. --jerry (This used to be commit 61d2aad5dc2b212b11c981f1eca47efa627e9fc8)
2000-04-25split clientgen.c into several partsAndrew Tridgell1-0/+790
the next step is splitting out the auth code, to make adding lukes NTLMSSP support easier (This used to be commit 10c5470835b43116ed48b3137c3b9cc867a20989)