summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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.
| * Merge of i18n password fix for smbclient.Tim Potter2001-02-151-1/+0
| |
| * 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...
| * 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.
| * Fix problems in libsmbclient with pring job struct plus add implementationRichard Sharpe2001-02-061-0/+96
| | | | | | | | of last two print routines ...
| * Implement two printing related functions and start the remaining two.Richard Sharpe2001-02-051-0/+63
| |
| * 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.
| * 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.
| * Fix some bugs and prepare for some other bug fixes ...Richard Sharpe2001-01-291-6/+67
| |
| * Add an extra error code translation to clierror.c so that libsmbclientRichard Sharpe2001-01-291-1/+2
| | | | | | | | gets some more error codes correct ...
| * Remove an inet_aton so that this code will compile on Solaris ...Richard Sharpe2001-01-251-5/+3
| | | | | | | | Ahhh, the sweet smell of portability.
| * Fixes from appliance-head for pdc searches.Jeremy Allison2001-01-251-18/+1
| | | | | | | | Jeremy.
| * 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.
| * Added remaining samr functions needed by winbindd.Tim Potter2001-01-151-0/+198
| | | | | | | | Added #define/#undef NEW_NTDOMAIN symbols.
| * Fixed bugs relating to Win2K and the need for a codepage so that unicodeRichard Sharpe2001-01-141-3/+12
| | | | | | | | strings can be handled correctly.
| * Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,Richard Sharpe2001-01-121-0/+157
| | | | | | | | | | | | both tested ... More later.
| * 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
| * 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.
| * 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()
| * 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()
| * Fixed authenticated pipe access.Tim Potter2001-01-101-25/+102
| | | | | | | | | | | | Added cli_lsa_enum_trust_dom(). Misc other cosmetic changes.
| * Add support for logging to wherever smb.conf specifies.Richard Sharpe2001-01-081-2/+8
| |
| * Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior toRichard Sharpe2001-01-071-4/+2
| | | | | | | | sending datagrams in clidgram.c
| * More bug fixen ...Richard Sharpe2001-01-071-2/+2
| |
| * More fixes and implementation bits and pieces for libsmbclientRichard Sharpe2001-01-071-11/+161
| |
| * Fix some more bugs in libsmbclient.c and add functionality to tree.cRichard Sharpe2001-01-061-0/+40
| |
| * Fix a minor problem with listing servers in a workgroup and add aRichard Sharpe2001-01-061-3/+11
| | | | | | | | gtk+ test application that tests out some of this stuff ...
| * The latest changes to libsmbclient ...Richard Sharpe2001-01-051-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.
| * Needed a callback arg on cli_list ...Richard Sharpe2001-01-051-2/+2
| |
| * I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I hadRichard Sharpe2001-01-041-8/+44
| | | | | | | | | | | | to modifiy any routine that calls it to pass NULL and so forth. Should have no impact. It compiles OK.
| * Add a new file clidgram with routines that are used by the libsmbclient code.Richard Sharpe2001-01-031-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.
| * Return EACCES for bad password.Tim Potter2001-01-021-1/+1
| |
| * First pass at the libsmbclient code ...Richard Sharpe2000-12-261-0/+1140
| | | | | | | | | | | | | | | | | | | | | | | | This code handles the basic stuff and compiles and links under Linux, but I do not know about any other operating systems. Now onto directory listing routines, including those that list workgroups, servers, etc. Nothing is built automatically yet, you have to make client/testsmbc to build the library and test program. Also, no make install targets are defined for libsmbclient.so as yet, either. Would be good if people test on operating systems other than Linux.
| * Added a cli_nt_create_uni() to do a ntcreate&x with a unicode filename,Tim Potter2000-12-211-2/+49
| | | | | | | | regardless of the settings negotiated in the flags2 smb field.
| * Replace magic number with constant.Tim Potter2000-12-211-1/+1
| |
| * implemented a much nicer name_status() interface. It now returns aAndrew Tridgell2000-12-201-167/+122
| | | | | | | | | | | | | | list of structures rather than the dodgy parsing code we had before this also gets smbw working correctly with no initial workgroup (using name_status_find on __MSBROWSE__ returns)
| * Fixed bug found by Gerald. If a Samba server joins a domain and is setJeremy Allison2000-12-191-2/+2
| | | | | | | | | | | | | | | | to search for a DC to authenticate to using the "*" syntax than ensure that for the first hour after the password change is searches for the PDC using the 1B name not the 1C name as domain replication may not have occured. Jeremy.
| * Added query info policy call.Tim Potter2000-12-181-0/+86
| |
| * Streamlined exit path.Tim Potter2000-12-181-24/+27
| | | | | | | | | | Allow NULL to be passed to cli_lsa_initialise() which creates an anonymous connection to the server.
* | Merge of i18n fixes from appliance-head. We need to revisit the internalJeremy Allison2001-02-151-1/+0
| | | | | | | | | | character set issue urgently for 3.0. Jeremy.
* | Merges from appliance-head for I18N fixes from Tim.Jeremy Allison2001-02-142-3/+6
| | | | | | | | Jeremy.
* | lib/debug.c: Compiler fixes.Jeremy Allison2001-02-121-0/+1
| | | | | | | | | | | | | | | | libsmb/nmblib.c: dos2unix fix. printing/nt_printing.c: Exit code fixes. printing/printing.c: debug fixes. tdb/tdbtool.c: Updates from JohnR. Jeremy.
* | smbencrypt.c: rewrote decode_pw_buffer() to generate the NT and LM hashes.Jean-François Micouleau2001-02-031-17/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That way the NT hash is not converted back and forth between unicode and ascii. srv_reg.c: added checks for the netlogon parameter key. Send a reply like NT4. Should fix the "unknown RPC call" error with a W2K joining a samba domain. srv_samr.c: don't check if smb_create_user() succed ot not. Explanation in the code. nttrans.c: changed checking of W2K in get_filename_transact(). added check on the SD. That fix the incorrect perms set on W2K profiles. J.F.