Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Merge of i18n password fix for smbclient. | Tim Potter | 2001-02-15 | 1 | -1/+0 | |
| | ||||||
* | Merge of i18n fixes from appliance branch. Samba can now talk to a network | Tim Potter | 2001-02-14 | 2 | -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 small | Richard Sharpe | 2001-02-12 | 1 | -3/+1 | |
| | | | | problem in libsmbclient.c where we no longer pass the workgroup. | |||||
* | Fix problems in libsmbclient with pring job struct plus add implementation | Richard Sharpe | 2001-02-06 | 1 | -0/+96 | |
| | | | | of last two print routines ... | |||||
* | Implement two printing related functions and start the remaining two. | Richard Sharpe | 2001-02-05 | 1 | -0/+63 | |
| | ||||||
* | Fix some further small bugs in libsmbclient to make it pass the | Richard Sharpe | 2001-02-04 | 1 | -7/+56 | |
| | | | | Caldera test suite and start to add the printing routines. | |||||
* | Convert netbios name to dos codepage in make_nmb_name(). This allows | Tim Potter | 2001-02-02 | 1 | -0/+1 | |
| | | | | nmblookup and smbclient to work with i18n netbios names. | |||||
* | Fix some bugs and prepare for some other bug fixes ... | Richard Sharpe | 2001-01-29 | 1 | -6/+67 | |
| | ||||||
* | Add an extra error code translation to clierror.c so that libsmbclient | Richard Sharpe | 2001-01-29 | 1 | -1/+2 | |
| | | | | gets some more error codes correct ... | |||||
* | Remove an inet_aton so that this code will compile on Solaris ... | Richard Sharpe | 2001-01-25 | 1 | -5/+3 | |
| | | | | Ahhh, the sweet smell of portability. | |||||
* | Fixes from appliance-head for pdc searches. | Jeremy Allison | 2001-01-25 | 1 | -18/+1 | |
| | | | | Jeremy. | |||||
* | Fix a problem with smbc_unlink on directories where it was returning EACCES | Richard Sharpe | 2001-01-24 | 1 | -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 Potter | 2001-01-15 | 1 | -0/+198 | |
| | | | | Added #define/#undef NEW_NTDOMAIN symbols. | |||||
* | Fixed bugs relating to Win2K and the need for a codepage so that unicode | Richard Sharpe | 2001-01-14 | 1 | -3/+12 | |
| | | | | strings can be handled correctly. | |||||
* | Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir, | Richard Sharpe | 2001-01-12 | 1 | -0/+157 | |
| | | | | | | both tested ... More later. | |||||
* | Many bug fixes to the libsmbclient.c code plus | Richard Sharpe | 2001-01-12 | 1 | -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 Allison | 2001-01-11 | 1 | -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 Potter | 2001-01-10 | 1 | -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 Potter | 2001-01-10 | 1 | -0/+325 | |
| | | | | cli_samr_open_{domain,user}() and cli_samr_query_userinfo() | |||||
* | Fixed authenticated pipe access. | Tim Potter | 2001-01-10 | 1 | -25/+102 | |
| | | | | | | Added cli_lsa_enum_trust_dom(). Misc other cosmetic changes. | |||||
* | Add support for logging to wherever smb.conf specifies. | Richard Sharpe | 2001-01-08 | 1 | -2/+8 | |
| | ||||||
* | Get rid of 10.0.0.6 and replace it with 0.0.0.0 as my_ip address prior to | Richard Sharpe | 2001-01-07 | 1 | -4/+2 | |
| | | | | sending datagrams in clidgram.c | |||||
* | More bug fixen ... | Richard Sharpe | 2001-01-07 | 1 | -2/+2 | |
| | ||||||
* | More fixes and implementation bits and pieces for libsmbclient | Richard Sharpe | 2001-01-07 | 1 | -11/+161 | |
| | ||||||
* | Fix some more bugs in libsmbclient.c and add functionality to tree.c | Richard Sharpe | 2001-01-06 | 1 | -0/+40 | |
| | ||||||
* | Fix a minor problem with listing servers in a workgroup and add a | Richard Sharpe | 2001-01-06 | 1 | -3/+11 | |
| | | | | gtk+ test application that tests out some of this stuff ... | |||||
* | The latest changes to libsmbclient ... | Richard Sharpe | 2001-01-05 | 1 | -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 Sharpe | 2001-01-05 | 1 | -2/+2 | |
| | ||||||
* | I need a callback arg for cli_NetServerEnum and cli_RNetShareEnum, so I had | Richard Sharpe | 2001-01-04 | 1 | -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 Sharpe | 2001-01-03 | 1 | -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 Potter | 2001-01-02 | 1 | -1/+1 | |
| | ||||||
* | First pass at the libsmbclient code ... | Richard Sharpe | 2000-12-26 | 1 | -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 Potter | 2000-12-21 | 1 | -2/+49 | |
| | | | | regardless of the settings negotiated in the flags2 smb field. | |||||
* | Replace magic number with constant. | Tim Potter | 2000-12-21 | 1 | -1/+1 | |
| | ||||||
* | implemented a much nicer name_status() interface. It now returns a | Andrew Tridgell | 2000-12-20 | 1 | -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 set | Jeremy Allison | 2000-12-19 | 1 | -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 Potter | 2000-12-18 | 1 | -0/+86 | |
| | ||||||
* | Streamlined exit path. | Tim Potter | 2000-12-18 | 1 | -24/+27 | |
| | | | | | Allow NULL to be passed to cli_lsa_initialise() which creates an anonymous connection to the server. | |||||
* | Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged | Jeremy Allison | 2000-12-15 | 4 | -19/+59 | |
| | | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy. | |||||
* | Lightweight rpc client library. Uses only routines in libsmb and | Tim Potter | 2000-12-13 | 1 | -0/+370 | |
| | | | | | | | rpc_client/cli_pipe.c Only cli_lsa_open_policy(), cli_lsa_close(), cli_lsa_lookup_names() and cli_lsa_lookup_sids() implemented so far. | |||||
* | exposed the broadcast name resolution routine outside namequery.c | Andrew Tridgell | 2000-12-11 | 1 | -4/+4 | |
| | ||||||
* | Removed compiler warning. | Tim Potter | 2000-12-08 | 1 | -1/+2 | |
| | ||||||
* | pass the desired access into cli_nt_create() | Andrew Tridgell | 2000-12-04 | 1 | -3/+3 | |
| | ||||||
* | fixed indentation | Andrew Tridgell | 2000-12-04 | 1 | -1/+1 | |
| | ||||||
* | removed SACL support (as it doesn't work with w2k if you ask for | Andrew Tridgell | 2000-12-04 | 1 | -2/+2 | |
| | | | | SACLs) | |||||
* | in cli_session_setup() accept usernames of the form DOMAIN/USER or | Andrew Tridgell | 2000-12-04 | 1 | -0/+9 | |
| | | | | | | DOMAIN\USER this means all our tools can now put the domain name in the -U option |