summaryrefslogtreecommitdiff
path: root/source4/client
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2577: - I recently found out that charaters below 0x3F are guaranteed not toAndrew Tridgell1-0/+46
occur as secondary bytes in any multi-byte character set. This allows for a very simple optimisation in strchr_m() and strrchr_m(). It might be a good idea to pick this up for Samba3. - the horrible toktocliplist() is only used in clitar.c, so move it there, to prevent anyone else from being tempted to use it. (This used to be commit 663b7b75ddd838ce547425b07d7ce4d4606fb479)
2007-10-10r2499: - use more efficient wildcard delete in smbclientAndrew Tridgell1-20/+9
- use "*.*" instead of "*" when connected to ancient servers (This used to be commit e28f2027580f31b392ecc9e115ee2eb5fc80f933)
2007-10-10r2456: got rid of some outdated global macrosAndrew Tridgell1-1/+8
(This used to be commit ea7eac5e3fb8f0db8d412a95ef4dc7889a07bc73)
2007-10-10r2433: attrib_string() is now a generally available library function (it ↵Andrew Tridgell1-40/+4
will be used by the new RAW-SEARCH test) (This used to be commit bb6bb2735eef58a135ba5cc3d64d75588a505d66)
2007-10-10r2063: Ensure the first argument to a printf() like function (talloc_init()Andrew Bartlett1-2/+2
in this case) is constant. Andrew Bartlett (This used to be commit 806ed15e605a5df1b4c243e21cd595ec2f98e3ee)
2007-10-10r2003: got rid of next_token_nr(), which involved some horrible globalsAndrew Tridgell2-99/+98
and nasy pointer tricks. this involved fixing some of the internals of smbclient (This used to be commit 126fec6169f9412932c82e7675840476132bce87)
2007-10-10r1986: Janitor for myself. Merge -r1907:1908 from SAMBA_3_0 branch.Tim Potter1-1/+1
(This used to be commit 99f7feec0ab545271f49ea3ab811eb3022aa03db)
2007-10-10r1957: add cmdline_set_* functionsStefan Metzmacher1-21/+5
and let smbclient use the cmdline _* functions metze (This used to be commit ffb87ebc33e728bf8506383f95b80605adec3c68)
2007-10-10r1941: - fixed an allocation error with querying security descriptors remotelyAndrew Tridgell1-0/+2
- print the received security_descriptor in the smbclient "acl" command - make sure we zero the alignment data in nttrans packet sends (This used to be commit 8925b8b2193905d084e1bfaaa3235ed7f9d1eb55)
2007-10-10r1913: add --version backStefan Metzmacher1-0/+1
metze (This used to be commit a1bb734009571c7a052a15507a70137ac31911ba)
2007-10-10r1911: merge a few popt parameters from 3.0 move some to better placesStefan Metzmacher1-10/+8
and deal with users DOMAIN and lp_workgroup() of the local workstation metze (This used to be commit 1fc0100e44a8640cfc15effb99f5824cb7817da8)
2007-10-10r1897: added a choose_called_name() function that allows us to more sanelyAndrew Tridgell2-31/+11
handle connections using the IP as the server name, while not trying for NBT name resolution on names like "192" and "192.168.1.2". also removed the ip address argument to smbcli_socket_connect() as it isn't used and doesn't really make sense. (This used to be commit 2ce4028842556328da4da0de9bee942bed02cc62)
2007-10-10r1730: We cannot dereference c->tree here, as there is not a tree yet.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c9b5f335f8d270ba38848a56e7f5a9e05036a654)
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher4-138/+138
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r1578: the first stage of the async client rewrite.Andrew Tridgell1-24/+1
Up to now the client code has had an async API, and operated asynchronously at the packet level, but was not truly async in that it assumed that it could always write to the socket and when a partial packet came in that it could block waiting for the rest of the packet. This change makes the SMB client library full async, by adding a separate outgoing packet queue, using non-blocking socket IO and having a input buffer that can fill asynchonously until the full packet has arrived. The main complexity was in dealing with the events structure when using the CIFS proxy backend. In that case the same events structure needs to be used in both the client library and the main smbd server, so that when the client library is waiting for a reply that the main server keeps processing packets. This required some changes in the events library code. Next step is to make the generated rpc client code use these new capabilities. (This used to be commit 96bf4da3edc4d64b0f58ef520269f3b385b8da02)
2007-10-10r1462: GENSEC Kerberos and SPENGO work:Andrew Bartlett1-0/+1
- Spelling - it's SPNEGO, not SPENGO - SMB signing - Krb5 logins are now correctly signed - SPNEGO - Changes to always tell GENSEC about incoming packets, empty or not. Andrew Bartlett (This used to be commit cea578d6f39a2ea4a24e7a0064c95193ab6f6df7)
2007-10-10r1034: Couple of small (popt) fixesJelmer Vernooij1-6/+3
(This used to be commit 6fa0baa1c33b487f5f693483dd9b2664a0093b12)
2007-10-10r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher2-4/+4
metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10r960: convert 'unsigned int' to uint_t in the most placesStefan Metzmacher2-5/+5
metze (This used to be commit 18062d2ed9fc9224c43143c10efbf2f6f1f5bbe0)
2007-10-10r943: change samba4 to use 'uint8_t' instead of 'unsigned char'Stefan Metzmacher1-2/+2
metze (This used to be commit b5378803fdcb3b3afe7c2932a38828e83470f61a)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher3-16/+16
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-2/+2
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell2-17/+17
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r866: convert the rest of the binaries to config.mk filesStefan Metzmacher2-0/+19
metze (This used to be commit 0f8c193ac35572862b0d653dc02a71ebc71e88a8)
2007-10-10r591: don't need to init non-ref out ptrs (thanks to abartlet for spotting this)Andrew Tridgell1-2/+0
(This used to be commit 3ac0cff83752b98ee7b8af7f4f9a33ffe9ae05e7)
2007-10-10r361: allow anonymous browsingAndrew Tridgell1-9/+2
(This used to be commit 845730501e24629aa3db4698f097dd73c14bca3b)
2007-10-10r360: use the STYPE_* definitions from srvsvc.idlAndrew Tridgell1-4/+6
(This used to be commit 32707fe3c0fd7139b597fef1c2b096992e51bdc6)
2007-10-10r357: added share browsing to smbclient using the SRVSVC MSRPC pipeAndrew Tridgell1-4/+92
(This used to be commit 53ae1ddb8d974736ed305d5e4da04807f0c04332)
2007-10-10r152: a quick airport commit ....Andrew Tridgell2-3/+3
added ldbedit, a _really_ useful command added ldbadd, ldbdel, ldbsearch and ldbmodify to build solved lots of timezone issues, we now pass the torture tests with client and server in different zones fixed several build issues I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that fix. (This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)
2007-10-10r66: fixed a segv when printing an error from a session setup failure. ThisAndrew Tridgell1-5/+8
was caused by the cli to cli->tree conversion a while ago (This used to be commit f88f1d33618562f8b8273ec45a79b819c9e48686)
2007-10-10r42: importing .cvsignore filesGerald Carter1-1/+0
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)
2007-10-10r23: get rid of def_finfoAndrew Tridgell2-11/+1
(This used to be commit 25b7ec390aec3e324c4c7ad8edbc90fc8896b230)
2004-02-10Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter2-36/+39
only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-08Convert libcli routines to use cli_tree instead of cli_state. PortTim Potter2-79/+80
smbtorture to use the new interface. Part 2 will be to eliminate cli_state from smbtorture as this is now the only place where it is used. (This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2004-01-28merge the version.h autogeneration stuff from 3.0Stefan Metzmacher1-1/+1
metze (This used to be commit 24dc237e109f6dce69814b22e0fb7878a7f6bfa8)
2003-11-28fixed some warningsAndrew Tridgell1-2/+3
(This used to be commit 1c2b8a93c50e3d5485732a2f06847166e883f939)
2003-11-23by using a single proto.h we gain another factor of 4 in the speed ofAndrew Tridgell2-2/+0
"make proto" (This used to be commit f6bb118799887e8e29399343e377ba8e9f059f20)
2003-10-30- a few portability fixes from Jim MyersAndrew Tridgell1-1/+48
- added SMBD_LISTEN_BACKLOG in local.h - added the beginnings of a ndr/rpc parsing framework for Samba4. It currently correctly parses security descriptors for the nttrans QUERY_SECDESC call, but I hope it will become a reasonable framework that an idl based generator can work to (This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761)
2003-09-02thanks to ntfsd and some google searches I worked out what the unknownAndrew Tridgell1-3/+2
fields in level 261 and level 262 of directory search are, plus the names of the levels the unknown fields are a 64bit unique file id, and match the 64 bit number from the internal_information qfileinfo level (This used to be commit b69f54eb028a24144a2e813f059b08644118ab09)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell3-4/+4
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
2003-08-14client/client.c - cannot initialize struct with non-const valuesHerb Lewis1-1/+5
include/byteorder.h - fix for IRIX compiler - cannot cast an LVALUE include/smb_interfaces.h - remove empty structure source/lib/debug.c - void functions cannot return value libcli/clifile.c - cannot assign *struct to struct (This used to be commit 9a724762012f55d21d44ea87add7daf21f7414d1)
2003-08-14fixed allinfo bug reported by metzeAndrew Tridgell1-1/+1
(This used to be commit 0b7e5d6353837b24a3588ddd62e793b025432f10)
2003-08-13use the \\server\share form of tconx to work with servers that don'tAndrew Tridgell1-0/+2
cope with the simpler form (This used to be commit 295cc63fb8d99d403c863a7b30cb30382070a6f9)
2003-08-13first public release of samba4 codeAndrew Tridgell9-0/+8034
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)