summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-01-29Add an extra error code translation to clierror.c so that libsmbclientRichard Sharpe1-1/+2
gets some more error codes correct ... (This used to be commit bca6b7dd20839a15aa97b4e6ba03c60eab9ed237)
2001-01-25Remove an inet_aton so that this code will compile on Solaris ...Richard Sharpe1-5/+3
Ahhh, the sweet smell of portability. (This used to be commit 09902d2d4a51b134190861fbb3ddaabcae5bc1bb)
2001-01-25Fixes from appliance-head for pdc searches.Jeremy Allison1-18/+1
Jeremy. (This used to be commit d04ed97ecab846def8467f313a71ef0e5c4005f6)
2001-01-24Fix a problem with smbc_unlink on directories where it was returning EACCESRichard Sharpe1-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)
2001-01-15Added remaining samr functions needed by winbindd.Tim Potter1-0/+198
Added #define/#undef NEW_NTDOMAIN symbols. (This used to be commit 13e4fd1d84ab1150446530b11c47c4d6617014cb)
2001-01-14Fixed bugs relating to Win2K and the need for a codepage so that unicodeRichard Sharpe1-3/+12
strings can be handled correctly. (This used to be commit 5629b097d4f04ad45c66f270bd58f08d7c717353)
2001-01-12Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,Richard Sharpe1-0/+157
both tested ... More later. (This used to be commit 66bb40153a9ff38692356cadfad89cf91439032e)
2001-01-12Many bug fixes to the libsmbclient.c code plusRichard Sharpe1-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)
2001-01-11rpc_server/srv_samr.c:Jeremy Allison1-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)
2001-01-10Added init functions, cli_spoolss_open_printer_ex(),Tim Potter1-0/+538
cli_spoolss_closeprinter(), cli_spoolss_enum_printers(), cli_spoolss_enum_ports() and cli_spoolss_getprinter() (This used to be commit 84247ba7d7048cc828edad282313bfd21bbc6b5d)
2001-01-10Added init functions, cli_samr_connect(), cli_samr_close(),Tim Potter1-0/+325
cli_samr_open_{domain,user}() and cli_samr_query_userinfo() (This used to be commit 385860107346de26b4bcbd33d5f131a0670f6f93)
2001-01-10Fixed authenticated pipe access.Tim Potter1-25/+102
Added cli_lsa_enum_trust_dom(). Misc other cosmetic changes. (This used to be commit 751483a155723581f987d46605b59cdeba34ad72)
2001-01-08Add support for logging to wherever smb.conf specifies.Richard Sharpe1-2/+8
(This used to be commit cc5a2db8a0c195b328b93fff566bc1120aeef54a)
2001-01-07Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior toRichard Sharpe1-4/+2
sending datagrams in clidgram.c (This used to be commit 4c540393b33a5c49adafcc9320f591490b97192a)
2001-01-07More bug fixen ...Richard Sharpe1-2/+2
(This used to be commit a13b5ef7bba86d42df98b4f493aa2ea9e1caa6c3)
2001-01-07More fixes and implementation bits and pieces for libsmbclientRichard Sharpe1-11/+161
(This used to be commit 991f6907ac200d53b95a206d65844a0c0830caae)
2001-01-06Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe1-0/+40
(This used to be commit d6cef8877a7ed80329b3ba67231a94601fcfd060)
2001-01-06Fix a minor problem with listing servers in a workgroup and add aRichard Sharpe1-3/+11
gtk+ test application that tests out some of this stuff ... (This used to be commit 606c4aeceac0bd1823ec6376df3ca5016007ab38)
2001-01-05The latest changes to libsmbclient ...Richard Sharpe1-21/+455
It can now do a directory listing for workgroups, servers, and shares, and, with a bit more effort, it will be able to list directories and files. I also does not request a username and password for the IPC$ share, but it should if the first attempt to connect fails. (This used to be commit 38ff91c5059a32c7ad2fd6074697c7c7f68a878c)
2001-01-05Needed a callback arg on cli_list ...Richard Sharpe1-2/+2
(This used to be commit d45e667a74fc2fcbf69c4819d480269c03dbfae4)
2001-01-04I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe1-8/+44
to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK. (This used to be commit 7f862e387f935a2125481338eee850afcb8d82ba)
2001-01-03Add a new file clidgram with routines that are used by the libsmbclient code.Richard Sharpe1-0/+239
These routines handle the sending of dgrams in ways that don't bind us to the nmbd code, but we may merge the two routines at some stage. Also fix Makefile.in so the new code is compiled ... Let's see whether or not it compiles on other architectures ... Seems OK under Linux. (This used to be commit f7466ba67cb6f863ee495e6de884e9b7a2e49430)