summaryrefslogtreecommitdiffstats
path: root/source3/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* Implement smbc_lseekdir, but it will have to change ... because it has theRichard Sharpe2001-03-061-1/+52
| | | | | wrong interface defn. (This used to be commit 317e369c3e20206c9f8b36a91dc666ebeede68ec)
* 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 (This used to be commit 7557f9145ccdced3fcebdd20e1eb6fc5a27abda2)
* 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 :-( (This used to be commit 5f1ea70e110bd3b97a4c75b2fe0edef22847550b)
* Fixed compiler warning.Tim Potter2001-03-011-4/+4
| | | | (This used to be commit 33e5c56ab049fe5e156579dbf2f9cd54897f1dd3)
* 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 (This used to be commit 44986f397ae647aa790422737a839443efb99920)
* made some LANMAN1 wildcard progressAndrew Tridgell2001-02-262-9/+16
| | | | | it now handles -M LANMAN1 -f '.x' -m '?x' nicely (This used to be commit e7ccb9be6da9b1426eb136b4a0a1171232471768)
* fixed a bug in non-terminated unicode strings with clistr_pull()Andrew Tridgell2001-02-261-1/+1
| | | | (This used to be commit 339bcfd05d3260a123ccf3c06429da6bfe621f74)
* add cli_list_new() for forced new protocol listingAndrew Tridgell2001-02-261-8/+18
| | | | (This used to be commit a5407366b77f2bec2c21e1f36dd007813d33f75e)
* use cli_list_old() when negotiating the older protocolsAndrew Tridgell2001-02-251-0/+4
| | | | (This used to be commit 735f29319b8d81df203c8ddbcea5349b11f2195d)
* neater negprot code using the new cli_setup_bcc() callAndrew Tridgell2001-02-251-7/+2
| | | | (This used to be commit 5b1728426531785d37b4fac0684114f8a84dacb2)
* Separated reg code into interface & implementation.Jeremy Allison2001-02-251-5/+1
| | | | | | libsmb/namequery.c: Removed ununsed variables. Jeremy. (This used to be commit b857113f400551c57ac400a9cdc3c752085d107d)
* make sure we don't free non-allocated dataAndrew Tridgell2001-02-221-7/+10
| | | | (This used to be commit 4a620f7037378dc042b6388ede6356c6db5d58fb)
* cope better with broken filer expectationsAndrew Tridgell2001-02-221-2/+2
| | | | (This used to be commit 847de3b4adfb00a98032e478b2663d09e240380e)
* 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 (This used to be commit ac7529d2b69826f8214d5632c31778cc87216653)
* 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 (This used to be commit 4d59c08c5e6f54c0d6ced7650750cb987e77b6c9)
* reverted richards cli_NetServerEnum changes - they broke lots of thingsAndrew Tridgell2001-02-211-56/+12
| | | | (This used to be commit 86adbb0caf26a8c2fc4d3748b965c0ce79360c1a)
* added support for a CLISTR_ASCII flag so we can use a uniformAndrew Tridgell2001-02-211-4/+5
| | | | | interface for ascii-only fields (This used to be commit cdf0316610803e6743936b29f232b32f9ec81422)
* yipee! client unicode now works well with ntAndrew Tridgell2001-02-203-8/+15
| | | | (This used to be commit 5b2ef8a1b914265c6072c968d2dad7d26c2aeffc)
* converted a bunch more fnsAndrew Tridgell2001-02-203-40/+56
| | | | (This used to be commit f6b8d6730452522f77852af0917cb48424d4c8a9)
* converted nt_create and setatrAndrew Tridgell2001-02-201-9/+10
| | | | (This used to be commit c40a1e4ebdb379482bf6e7d4efcc9b5321a4e7c6)
* - neater setting of bccAndrew Tridgell2001-02-205-25/+29
| | | | | - converted cli_rename and cli_unlink (This used to be commit 0a8992e224b7a3d90d45b13d73fa8a6f155efa79)
* converted cli_open()Andrew Tridgell2001-02-201-7/+8
| | | | (This used to be commit db60c0c26242be0370e6459fe6f1634c97b61176)
* converted cli_chkpath()Andrew Tridgell2001-02-201-3/+4
| | | | (This used to be commit 95268f52556e5983004e594002b7e18a8656d1f0)
* converted cli_list()Andrew Tridgell2001-02-203-34/+57
| | | | (This used to be commit bdce09b77807c80281c1e169b7c4813c9238fbe3)
* converted cli_mkdir()Andrew Tridgell2001-02-201-3/+4
| | | | (This used to be commit bce3ed01a9c3c7c89cdc21b60f1122dc6b6db264)
* pipe opening now works with unicodeAndrew Tridgell2001-02-205-29/+45
| | | | (This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
* 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. (This used to be commit e1a04e621f1c28d8e6e543d43741ca0272e2237f)
* 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. (This used to be commit debb723194f903c7b3af61f93949df062985e218)
* 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 ... (This used to be commit 54b0fbe98b1cbb1d9d62606c16921dbffc3a3c6d)
* 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. (This used to be commit 620cc34015ab16d25f7ef7e13cbc3d0f669da11e)
* 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. (This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
* Merge of i18n password fix for smbclient.Tim Potter2001-02-151-1/+0
| | | | (This used to be commit ec217eb8fc2a9cf329a51c51ba08a04fa5b008c2)
* Merge of i18n fixes from appliance branch. Samba can now talk to a networkTim Potter2001-02-142-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)
* Added commented/documented version of libsmbclient.h and fixed up a smallRichard Sharpe2001-02-121-3/+1
| | | | | problem in libsmbclient.c where we no longer pass the workgroup. (This used to be commit 3c6611434601a45ba448f0313397104c7cea616c)
* Fix problems in libsmbclient with pring job struct plus add implementationRichard Sharpe2001-02-061-0/+96
| | | | | of last two print routines ... (This used to be commit 7c50af3b71eeedfef8ed0d5771c2dc578fa95741)
* Implement two printing related functions and start the remaining two.Richard Sharpe2001-02-051-0/+63
| | | | (This used to be commit c19559a286c3ec6dedefbd2423aa5738edd9ba41)
* Fix some further small bugs in libsmbclient to make it pass theRichard Sharpe2001-02-041-7/+56
| | | | | Caldera test suite and start to add the printing routines. (This used to be commit 838cfad404ef648ee7909f449264afa4db60fa3b)
* Convert netbios name to dos codepage in make_nmb_name(). This allowsTim Potter2001-02-021-0/+1
| | | | | nmblookup and smbclient to work with i18n netbios names. (This used to be commit 2eabb7c229fb8a64d47757f291b327f5b7f26b55)
* Fix some bugs and prepare for some other bug fixes ...Richard Sharpe2001-01-291-6/+67
| | | | (This used to be commit 4ae7812353c0ed088fb1ae4cd79c99daab363d1c)
* Add an extra error code translation to clierror.c so that libsmbclientRichard Sharpe2001-01-291-1/+2
| | | | | gets some more error codes correct ... (This used to be commit bca6b7dd20839a15aa97b4e6ba03c60eab9ed237)
* Remove an inet_aton so that this code will compile on Solaris ...Richard Sharpe2001-01-251-5/+3
| | | | | Ahhh, the sweet smell of portability. (This used to be commit 09902d2d4a51b134190861fbb3ddaabcae5bc1bb)
* Fixes from appliance-head for pdc searches.Jeremy Allison2001-01-251-18/+1
| | | | | Jeremy. (This used to be commit d04ed97ecab846def8467f313a71ef0e5c4005f6)
* Fix a problem with smbc_unlink on directories where it was returning EACCESRichard Sharpe2001-01-241-1/+39
| | | | | | instead of EPERM and a problem with SMBC_OPEN where it ignored an error from the underlying cli_open routine and cheerfully returned a bogus FD. (This used to be commit 68614bac5a1a4109fdfb728aeae6956b13c64d8f)
* Added remaining samr functions needed by winbindd.Tim Potter2001-01-151-0/+198
| | | | | Added #define/#undef NEW_NTDOMAIN symbols. (This used to be commit 13e4fd1d84ab1150446530b11c47c4d6617014cb)
* Fixed bugs relating to Win2K and the need for a codepage so that unicodeRichard Sharpe2001-01-141-3/+12
| | | | | strings can be handled correctly. (This used to be commit 5629b097d4f04ad45c66f270bd58f08d7c717353)
* Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,Richard Sharpe2001-01-121-0/+157
| | | | | | | both tested ... More later. (This used to be commit 66bb40153a9ff38692356cadfad89cf91439032e)
* Many bug fixes to the libsmbclient.c code plusRichard Sharpe2001-01-121-38/+137
| | | | | | | | - an implementation of smbc_readdir - extensions to tree.c to show files in a second window - changes to auth_fn to provide buffers for username, password, etc from caller rather than callee (This used to be commit 7f559c1a7307b91218d5984f48f65e7dc0ab66b9)
* rpc_server/srv_samr.c:Jeremy Allison2001-01-111-1/+3
| | | | | | | | | | | | | smbd/reply.c: Added fix needed for appliances. When using winbindd - a new user may exist (from winbind) but have no home directory. Extend add user script so it is called with a %H substitution when a user exists but their home directory does not. Thanks to Alex Win at VA Linux for finding this one and testing the fix. libsmb/clidgram.c: Fixed missing return statements. smbd/uid.c: Fixed typo in debug. Jeremy. (This used to be commit 7ba0a2192b89954604dd793c537b4a17c2d1ac07)
* Added init functions, cli_spoolss_open_printer_ex(),Tim Potter2001-01-101-0/+538
| | | | | | cli_spoolss_closeprinter(), cli_spoolss_enum_printers(), cli_spoolss_enum_ports() and cli_spoolss_getprinter() (This used to be commit 84247ba7d7048cc828edad282313bfd21bbc6b5d)
* Added init functions, cli_samr_connect(), cli_samr_close(),Tim Potter2001-01-101-0/+325
| | | | | cli_samr_open_{domain,user}() and cli_samr_query_userinfo() (This used to be commit 385860107346de26b4bcbd33d5f131a0670f6f93)