Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | More memory leaks fixed courtesy of Insure ... | Richard Sharpe | 2001-03-28 | 1 | -11/+44 | |
| | ||||||
* | merge from 2.2. | Gerald Carter | 2001-03-27 | 1 | -3/+3 | |
| | ||||||
* | One small Insure fix for a memory leak. More fixes to come perhaps ... | Richard Sharpe | 2001-03-27 | 1 | -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 Carter | 2001-03-19 | 1 | -1/+1 | |
| | ||||||
* | fixed some compilation errors with IRIX cc | Andrew Tridgell | 2001-03-18 | 1 | -2/+2 | |
| | ||||||
* | added STR_ASCII support to clistr_pull() | Andrew Tridgell | 2001-03-16 | 2 | -5/+6 | |
| | ||||||
* | addprinter and adddriver are working now :-) | Gerald Carter | 2001-03-15 | 1 | -0/+106 | |
| | ||||||
* | added getdriverdir and cleaned up the PRINTER_DRIVER_CTR struct | Gerald Carter | 2001-03-15 | 1 | -2/+94 | |
| | ||||||
* | added getdriver and enumdrivers commands. Also fixed | Gerald Carter | 2001-03-15 | 1 | -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 placeholders | Gerald Carter | 2001-03-15 | 1 | -1/+1 | |
| | | | | to be filled in one at a time. | |||||
* | set of changes in the beginning of bringing rpcclient changes | Gerald Carter | 2001-03-14 | 3 | -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 having | Andrew Tridgell | 2001-03-14 | 4 | -60/+18 | |
| | | | | unicode bit set differently to capabilities | |||||
* | Ok - everything now compiles in HEAD (at least the default stuff). We | Jeremy Allison | 2001-03-11 | 1 | -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 SAMR | Jeremy Allison | 2001-03-11 | 1 | -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 Tridgell | 2001-03-10 | 7 | -74/+74 | |
| | | | | macros to STR_ | |||||
* | Missed some prs_inits. | Jeremy Allison | 2001-03-09 | 2 | -29/+29 | |
| | | | | Jeremy. | |||||
* | Serious (and I *mean* serious) attempt to fix little/bigendian RPC issues. | Jeremy Allison | 2001-03-09 | 2 | -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 Sharpe | 2001-03-09 | 1 | -5/+7 | |
| | ||||||
* | Fix the definition and implementation of smbc_lseekdir ... | Richard Sharpe | 2001-03-07 | 1 | -6/+7 | |
| | ||||||
* | Implement smbc_lseekdir, but it will have to change ... because it has the | Richard Sharpe | 2001-03-06 | 1 | -1/+52 | |
| | | | | wrong interface defn. | |||||
* | smb.h: add one error code for no such printer job | Richard Sharpe | 2001-03-05 | 1 | -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 one | Richard Sharpe | 2001-03-01 | 1 | -3/+61 | |
| | | | | where I was indexing through a NULL pointer :-( | |||||
* | Fixed compiler warning. | Tim Potter | 2001-03-01 | 1 | -4/+4 | |
| | ||||||
* | Fix some errors uncovered in libsmbclient by the test suite | Richard Sharpe | 2001-02-26 | 2 | -120/+57 | |
| | | | | | Fix some problems with unused variables and reaching the end of a nonvoid function | |||||
* | made some LANMAN1 wildcard progress | Andrew Tridgell | 2001-02-26 | 2 | -9/+16 | |
| | | | | it now handles -M LANMAN1 -f '.x' -m '?x' nicely | |||||
* | fixed a bug in non-terminated unicode strings with clistr_pull() | Andrew Tridgell | 2001-02-26 | 1 | -1/+1 | |
| | ||||||
* | add cli_list_new() for forced new protocol listing | Andrew Tridgell | 2001-02-26 | 1 | -8/+18 | |
| | ||||||
* | use cli_list_old() when negotiating the older protocols | Andrew Tridgell | 2001-02-25 | 1 | -0/+4 | |
| | ||||||
* | neater negprot code using the new cli_setup_bcc() call | Andrew Tridgell | 2001-02-25 | 1 | -7/+2 | |
| | ||||||
* | Separated reg code into interface & implementation. | Jeremy Allison | 2001-02-25 | 1 | -5/+1 | |
| | | | | | libsmb/namequery.c: Removed ununsed variables. Jeremy. | |||||
* | make sure we don't free non-allocated data | Andrew Tridgell | 2001-02-22 | 1 | -7/+10 | |
| | ||||||
* | cope better with broken filer expectations | Andrew Tridgell | 2001-02-22 | 1 | -2/+2 | |
| | ||||||
* | converted the last couple of functions in libsmb to be unicode | Andrew Tridgell | 2001-02-21 | 2 | -14/+18 | |
| | | | | the whole of libsmb should now do unicode where appropriate | |||||
* | the unicode conversion of our client code is complete enough to be | Andrew Tridgell | 2001-02-21 | 6 | -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 things | Andrew Tridgell | 2001-02-21 | 1 | -56/+12 | |
| | ||||||
* | added support for a CLISTR_ASCII flag so we can use a uniform | Andrew Tridgell | 2001-02-21 | 1 | -4/+5 | |
| | | | | interface for ascii-only fields | |||||
* | yipee! client unicode now works well with nt | Andrew Tridgell | 2001-02-20 | 3 | -8/+15 | |
| | ||||||
* | converted a bunch more fns | Andrew Tridgell | 2001-02-20 | 3 | -40/+56 | |
| | ||||||
* | converted nt_create and setatr | Andrew Tridgell | 2001-02-20 | 1 | -9/+10 | |
| | ||||||
* | - neater setting of bcc | Andrew Tridgell | 2001-02-20 | 5 | -25/+29 | |
| | | | | - converted cli_rename and cli_unlink | |||||
* | converted cli_open() | Andrew Tridgell | 2001-02-20 | 1 | -7/+8 | |
| | ||||||
* | converted cli_chkpath() | Andrew Tridgell | 2001-02-20 | 1 | -3/+4 | |
| | ||||||
* | converted cli_list() | Andrew Tridgell | 2001-02-20 | 3 | -34/+57 | |
| | ||||||
* | converted cli_mkdir() | Andrew Tridgell | 2001-02-20 | 1 | -3/+4 | |
| | ||||||
* | pipe opening now works with unicode | Andrew Tridgell | 2001-02-20 | 5 | -29/+45 | |
| | ||||||
* | initial client side unicode support (needed for netapp filer) | Andrew Tridgell | 2001-02-20 | 3 | -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 Sharpe | 2001-02-19 | 1 | -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 Sharpe | 2001-02-19 | 1 | -62/+73 | |
| | | | | NetBIOS datagrams responses, either via TDB or direct receive ... | |||||
* | Fixes to libsmbclient so it will work when browsing real Windows systems which | Richard Sharpe | 2001-02-18 | 3 | -19/+181 | |
| | | | | | | only respond to port 138 when dealing with NetBIOS datagrams. We use the unexpected packed database. | |||||
* | Excise snprintf -> slprintf. | Jeremy Allison | 2001-02-16 | 1 | -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. |