summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* More memory leaks fixed courtesy of Insure ...Richard Sharpe2001-03-281-11/+44
|
* merge from 2.2.Gerald Carter2001-03-271-3/+3
|
* One small Insure fix for a memory leak. More fixes to come perhaps ...Richard Sharpe2001-03-271-2/+52
| | | | | Also fixed an error return for smbc_rmdir so that we can distinguish between EACCES and ENOTEMPTY
* reverted the rename of new_spoolss_io_r_enumprinterdrivers()Gerald Carter2001-03-191-1/+1
|
* fixed some compilation errors with IRIX ccAndrew Tridgell2001-03-181-2/+2
|
* added STR_ASCII support to clistr_pull()Andrew Tridgell2001-03-162-5/+6
|
* addprinter and adddriver are working now :-)Gerald Carter2001-03-151-0/+106
|
* added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter2001-03-151-2/+94
|
* added getdriver and enumdrivers commands. Also fixedGerald Carter2001-03-151-8/+217
| | | | | enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient.
* more updates. several spoolss commands added as placeholdersGerald Carter2001-03-151-1/+1
| | | | to be filled in one at a time.
* set of changes in the beginning of bringing rpcclient changesGerald Carter2001-03-143-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
* simpler clistr interface which handles individual packets havingAndrew Tridgell2001-03-144-60/+18
| | | | unicode bit set differently to capabilities
* Ok - everything now compiles in HEAD (at least the default stuff). WeJeremy Allison2001-03-111-1/+1
| | | | | should now be ready for the trivial winbindd port..... (Tim ? :-). Jeremy.
* Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison2001-03-111-3/+0
| | | | | | RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy.
* to use the same macros in the client and server rename the CLISTR_Andrew Tridgell2001-03-107-74/+74
| | | | macros to STR_
* Missed some prs_inits.Jeremy Allison2001-03-092-29/+29
| | | | Jeremy.
* Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues.Jeremy Allison2001-03-092-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.
* More SGI type fixes ...Richard Sharpe2001-03-091-5/+7
|
* Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe2001-03-071-6/+7
|
* Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe2001-03-061-1/+52
| | | | wrong interface defn.
* smb.h: add one error code for no such printer jobRichard Sharpe2001-03-051-3/+28
| | | | libsmbclient.c: fix problems with return codes on smbc_unlink_print_job
* Fix two problems identified by the test suite, one a major oneRichard Sharpe2001-03-011-3/+61
| | | | where I was indexing through a NULL pointer :-(
* Fixed compiler warning.Tim Potter2001-03-011-4/+4
|
* Fix some errors uncovered in libsmbclient by the test suiteRichard Sharpe2001-02-262-120/+57
| | | | | Fix some problems with unused variables and reaching the end of a nonvoid function
* made some LANMAN1 wildcard progressAndrew Tridgell2001-02-262-9/+16
| | | | it now handles -M LANMAN1 -f '.x' -m '?x' nicely
* fixed a bug in non-terminated unicode strings with clistr_pull()Andrew Tridgell2001-02-261-1/+1
|
* add cli_list_new() for forced new protocol listingAndrew Tridgell2001-02-261-8/+18
|
* use cli_list_old() when negotiating the older protocolsAndrew Tridgell2001-02-251-0/+4
|
* neater negprot code using the new cli_setup_bcc() callAndrew Tridgell2001-02-251-7/+2
|
* Separated reg code into interface & implementation.Jeremy Allison2001-02-251-5/+1
| | | | | libsmb/namequery.c: Removed ununsed variables. Jeremy.
* make sure we don't free non-allocated dataAndrew Tridgell2001-02-221-7/+10
|
* cope better with broken filer expectationsAndrew Tridgell2001-02-221-2/+2
|
* converted the last couple of functions in libsmb to be unicodeAndrew Tridgell2001-02-212-14/+18
| | | | the whole of libsmb should now do unicode where appropriate
* the unicode conversion of our client code is complete enough to beAndrew Tridgell2001-02-216-95/+24
| | | | | | enabled by default you can disable it by setting the environment variable CLI_FORCE_ASCII
* reverted richards cli_NetServerEnum changes - they broke lots of thingsAndrew Tridgell2001-02-211-56/+12
|
* added support for a CLISTR_ASCII flag so we can use a uniformAndrew Tridgell2001-02-211-4/+5
| | | | interface for ascii-only fields
* yipee! client unicode now works well with ntAndrew Tridgell2001-02-203-8/+15
|
* converted a bunch more fnsAndrew Tridgell2001-02-203-40/+56
|
* converted nt_create and setatrAndrew Tridgell2001-02-201-9/+10
|
* - neater setting of bccAndrew Tridgell2001-02-205-25/+29
| | | | - converted cli_rename and cli_unlink
* converted cli_open()Andrew Tridgell2001-02-201-7/+8
|
* converted cli_chkpath()Andrew Tridgell2001-02-201-3/+4
|
* converted cli_list()Andrew Tridgell2001-02-203-34/+57
|
* converted cli_mkdir()Andrew Tridgell2001-02-201-3/+4
|
* pipe opening now works with unicodeAndrew Tridgell2001-02-205-29/+45
|
* initial client side unicode support (needed for netapp filer)Andrew Tridgell2001-02-203-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.
* Opps, last one did not commit the correct changes ... Here they are.Richard Sharpe2001-02-191-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.
* Change code around and add retry to deal with the occassional loss of ↵Richard Sharpe2001-02-191-62/+73
| | | | NetBIOS datagrams responses, either via TDB or direct receive ...
* Fixes to libsmbclient so it will work when browsing real Windows systems whichRichard Sharpe2001-02-183-19/+181
| | | | | | only respond to port 138 when dealing with NetBIOS datagrams. We use the unexpected packed database.
* Excise snprintf -> slprintf.Jeremy Allison2001-02-161-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.