summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2001-03-15added getdriver and enumdrivers commands. Also fixedGerald Carter1-8/+217
enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient. (This used to be commit 83d6bc4454f0cda581d26de32a4fcaad42431b34)
2001-03-15more updates. several spoolss commands added as placeholdersGerald Carter1-1/+1
to be filled in one at a time. (This used to be commit 6aaac3766324302b995b5a55876bf2ab74af1ff8)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter3-33/+35
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-14simpler clistr interface which handles individual packets havingAndrew Tridgell4-60/+18
unicode bit set differently to capabilities (This used to be commit 34a0821e087810381996f5ff6cf3b4d7b9bb53a0)
2001-03-11Ok - everything now compiles in HEAD (at least the default stuff). WeJeremy Allison1-1/+1
should now be ready for the trivial winbindd port..... (Tim ? :-). Jeremy. (This used to be commit 85021b16388e8efc15ac57bf1a7c01bba552bf41)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-3/+0
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-03-10to use the same macros in the client and server rename the CLISTR_Andrew Tridgell7-74/+74
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
2001-03-09Missed some prs_inits.Jeremy Allison2-29/+29
Jeremy. (This used to be commit 7a8a7a24d4c328d26d34c3b3ac28af39e6acd32c)
2001-03-09Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2-14/+14
We were reading the endainness in the RPC header and then never propagating it to the internal parse_structs used to parse the data. Also removed the "align" argument to prs_init as it was *always* set to 4, and if needed can be set differently on a case by case basis. Now ready for AS/U testing when Herb gets it set up :-). Jeremy. (This used to be commit 0cd37c831d79a12a10e479bf4fa89ffe64c1292a)
2001-03-09More SGI type fixes ...Richard Sharpe1-5/+7
(This used to be commit 26d7d8af2903b1f24da51c78e12f54a1d42ed798)
2001-03-07Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe1-6/+7
(This used to be commit e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
2001-03-06Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe1-1/+52
wrong interface defn. (This used to be commit 317e369c3e20206c9f8b36a91dc666ebeede68ec)
2001-03-05smb.h: add one error code for no such printer jobRichard Sharpe1-3/+28
libsmbclient.c: fix problems with return codes on smbc_unlink_print_job (This used to be commit 7557f9145ccdced3fcebdd20e1eb6fc5a27abda2)
2001-03-01Fix two problems identified by the test suite, one a major oneRichard Sharpe1-3/+61
where I was indexing through a NULL pointer :-( (This used to be commit 5f1ea70e110bd3b97a4c75b2fe0edef22847550b)
2001-03-01Fixed compiler warning.Tim Potter1-4/+4
(This used to be commit 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)
2001-02-26Fix some errors uncovered in libsmbclient by the test suiteRichard Sharpe2-120/+57
Fix some problems with unused variables and reaching the end of a nonvoid function (This used to be commit 44986f397ae647aa790422737a839443efb99920)
2001-02-26made some LANMAN1 wildcard progressAndrew Tridgell2-9/+16
it now handles -M LANMAN1 -f '.x' -m '?x' nicely (This used to be commit e7ccb9be6da9b1426eb136b4a0a1171232471768)
2001-02-26fixed a bug in non-terminated unicode strings with clistr_pull()Andrew Tridgell1-1/+1
(This used to be commit 339bcfd05d3260a123ccf3c06429da6bfe621f74)
2001-02-26add cli_list_new() for forced new protocol listingAndrew Tridgell1-8/+18
(This used to be commit a5407366b77f2bec2c21e1f36dd007813d33f75e)
2001-02-25use cli_list_old() when negotiating the older protocolsAndrew Tridgell1-0/+4
(This used to be commit 735f29319b8d81df203c8ddbcea5349b11f2195d)
2001-02-25neater negprot code using the new cli_setup_bcc() callAndrew Tridgell1-7/+2
(This used to be commit 5b1728426531785d37b4fac0684114f8a84dacb2)
2001-02-25Separated reg code into interface & implementation.Jeremy Allison1-5/+1
libsmb/namequery.c: Removed ununsed variables. Jeremy. (This used to be commit b857113f400551c57ac400a9cdc3c752085d107d)
2001-02-22make sure we don't free non-allocated dataAndrew Tridgell1-7/+10
(This used to be commit 4a620f7037378dc042b6388ede6356c6db5d58fb)
2001-02-22cope better with broken filer expectationsAndrew Tridgell1-2/+2
(This used to be commit 847de3b4adfb00a98032e478b2663d09e240380e)
2001-02-21converted the last couple of functions in libsmb to be unicodeAndrew Tridgell2-14/+18
the whole of libsmb should now do unicode where appropriate (This used to be commit ac7529d2b69826f8214d5632c31778cc87216653)
2001-02-21the unicode conversion of our client code is complete enough to beAndrew Tridgell6-95/+24
enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII (This used to be commit 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9)
2001-02-21reverted richards cli_NetServerEnum changes - they broke lots of thingsAndrew Tridgell1-56/+12
(This used to be commit 86adbb0caf26a8c2fc4d3748b965c0ce79360c1a)
2001-02-21added support for a CLISTR_ASCII flag so we can use a uniformAndrew Tridgell1-4/+5
interface for ascii-only fields (This used to be commit cdf0316610803e6743936b29f232b32f9ec81422)
2001-02-20yipee! client unicode now works well with ntAndrew Tridgell3-8/+15
(This used to be commit 5b2ef8a1b914265c6072c968d2dad7d26c2aeffc)
2001-02-20converted a bunch more fnsAndrew Tridgell3-40/+56
(This used to be commit f6b8d6730452522f77852af0917cb48424d4c8a9)
2001-02-20converted nt_create and setatrAndrew Tridgell1-9/+10
(This used to be commit c40a1e4ebdb379482bf6e7d4efcc9b5321a4e7c6)
2001-02-20- neater setting of bccAndrew Tridgell5-25/+29
- converted cli_rename and cli_unlink (This used to be commit 0a8992e224b7a3d90d45b13d73fa8a6f155efa79)
2001-02-20converted cli_open()Andrew Tridgell1-7/+8
(This used to be commit db60c0c26242be0370e6459fe6f1634c97b61176)
2001-02-20converted cli_chkpath()Andrew Tridgell1-3/+4
(This used to be commit 95268f52556e5983004e594002b7e18a8656d1f0)
2001-02-20converted cli_list()Andrew Tridgell3-34/+57
(This used to be commit bdce09b77807c80281c1e169b7c4813c9238fbe3)
2001-02-20converted cli_mkdir()Andrew Tridgell1-3/+4
(This used to be commit bce3ed01a9c3c7c89cdc21b60f1122dc6b6db264)
2001-02-20pipe opening now works with unicodeAndrew Tridgell5-29/+45
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
2001-02-20initial client side unicode support (needed for netapp filer)Andrew Tridgell3-41/+213
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-19Opps, last one did not commit the correct changes ... Here they are.Richard Sharpe1-7/+31
This now uses a lookup on <DOMAIN><1D> and then does a name status query to the IP address returned to find the name of the server. Seems to work well against Samba, Win9X, WinNT and Win2K. (This used to be commit debb723194f903c7b3af61f93949df062985e218)
2001-02-19Change code around and add retry to deal with the occassional loss of ↵Richard Sharpe1-62/+73
NetBIOS datagrams responses, either via TDB or direct receive ... (This used to be commit 54b0fbe98b1cbb1d9d62606c16921dbffc3a3c6d)
2001-02-18Fixes to libsmbclient so it will work when browsing real Windows systems whichRichard Sharpe3-19/+181
only respond to port 138 when dealing with NetBIOS datagrams. We use the unexpected packed database. (This used to be commit 620cc34015ab16d25f7ef7e13cbc3d0f669da11e)
2001-02-16Excise snprintf -> slprintf.Jeremy Allison1-0/+5
srv_samr.c: duplicate gid fix. srv_spoolss_nt.c: Merge of JF's work. uid.c: Fix for returning names when a PDC. Jeremy. (This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
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 Potter2-3/+6
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)
2001-02-12Added commented/documented version of libsmbclient.h and fixed up a smallRichard Sharpe1-3/+1
problem in libsmbclient.c where we no longer pass the workgroup. (This used to be commit 3c6611434601a45ba448f0313397104c7cea616c)
2001-02-06Fix problems in libsmbclient with pring job struct plus add implementationRichard Sharpe1-0/+96
of last two print routines ... (This used to be commit 7c50af3b71eeedfef8ed0d5771c2dc578fa95741)
2001-02-05Implement two printing related functions and start the remaining two.Richard Sharpe1-0/+63
(This used to be commit c19559a286c3ec6dedefbd2423aa5738edd9ba41)
2001-02-04Fix some further small bugs in libsmbclient to make it pass theRichard Sharpe1-7/+56
Caldera test suite and start to add the printing routines. (This used to be commit 838cfad404ef648ee7909f449264afa4db60fa3b)
2001-02-02Convert netbios name to dos codepage in make_nmb_name(). This allowsTim Potter1-0/+1
nmblookup and smbclient to work with i18n netbios names. (This used to be commit 2eabb7c229fb8a64d47757f291b327f5b7f26b55)
2001-01-29Fix some bugs and prepare for some other bug fixes ...Richard Sharpe1-6/+67
(This used to be commit 4ae7812353c0ed088fb1ae4cd79c99daab363d1c)