summaryrefslogtreecommitdiff
path: root/source3/include/libsmbclient.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r21132: - Fixes bug 4366. Documentation for smbc_utimes() was incorrect.Derrell Lipman1-9/+11
- Should fix bug 4115 (but needs confirmation from OP). If the kerberos use flag is set in the context, then also pass it to smbc_attr_server for use by cli_full_connection() - Should fix bug 4309 (but needs confirmation from OP). We no longer send a keepalive packet unconditionally. Instead, we assume (yes, possibly incorrectly, but it's the best guess we can make) that if the connection is on port 139, it's netbios and otherwise, it isn't. If netbios is in use, we send a keepalive packet. Otherwise, we check that the connection is alive using getpeername(). (This used to be commit 2f9be59c10ef991a51cc858ab594187b5ca61382)
2007-10-10r18013: Fix for "bug" (enhancement) 3684.Derrell Lipman1-0/+14
Provide a new option to specify the share mode to be used when opening a file. (This used to be commit 9b6fee5f6f60638ed80fdedcce4b3d29b091f7aa)
2007-10-10r16550: Fix bug 3866. Thanks for the report!Derrell Lipman1-1/+1
Although I've never met a computer or compiler that produced pointers to functions which are a different size than pointers to data, I suppose they probably exist. Assigning a pointer to a function is technically illegal in C anyway. Change casts of the option_value based on the option_name to use of variable argument lists. For binary compatibility, I've maintained but deprecated the old behavior of debug_stderr (which expected to be passed a NULL or non-NULL pointer) and added a new option debug_to_stderr which properly expects a boolean (int) parameter. Derrell (This used to be commit c1b4c510530ca3118d1eccb9615a8cad732c7373)
2007-10-10r14664: r13868@cabra: derrell | 2006-03-22 17:04:30 -0500Derrell Lipman1-10/+86
Implement enhancement request 3505. Two additional features are added here. There is now a method of saving an opaque user data handle in the smbc_ context, and there is now a way to request that the context be passed to the authentication function. See examples/libsmbclient/testbrowse.c for an example of using these features. (This used to be commit 203b4911c16bd7e10198a6f0e63960f2813025ef)
2007-10-10r11719: Remove silly #define of close -> close_fn as this borksJeremy Allison1-7/+0
any code that includes libsmbclient.h that also calls the system close() fn. Doh ! Thanks to John Terpstra for reporting this. Jeremy. (This used to be commit 6e1cb7047aae80523a53d5552a4f704cd6e62997)
2007-10-10r11573: Adding Andrew Bartlett's patch to make machine accountJeremy Allison1-0/+5
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes the auth module interface to 2 (from 1). The effect of this is that clients can access resources as a machine account if they set these flags. This is the same as Windows (think of a VPN where the vpn client authenticates itself to a VPN server using machine account credentials - the vpn server checks that the machine password was valid by performing a machine account check with the PDC in the same was as it would a user account check. I may add in a restriction (parameter) to allow this behaviour to be turned off (as it was previously). That may be on by default. Andrew Bartlett please review this change carefully. Jeremy. (This used to be commit d1caef866326346fb191f8129d13d98379f18cd8)
2007-10-10r9540: correct comments in struct smbc_dirent (fixes bug 3030)Derrell Lipman1-4/+4
(This used to be commit 1f8aff85a68569480efc543cfe1556752c35311e)
2007-10-10r8093: Next round. Now it compiles with --enable-socket-wrapper.Volker Lendecke1-1/+1
Volker (This used to be commit 25cbcfba30f534f3fb31627ba43421c42ccd5b0f)
2007-10-10r5916: Only one C++ guard is necessary, not one around each smbc function.Tim Potter1-261/+34
(This used to be commit e446f16a402bd2f2c0c0cda3db1bd0c423321230)
2007-10-10r5752: implement derrell's solution for binary compatibilty in the _SMBCCTX ↵Gerald Carter1-5/+63
structure; note that we break compat with 3.0.11 but are ok with earlier versions (This used to be commit 6e8d171551bfe480cb1a526469defc33276550f6)
2007-10-10r5735: rest of derrel's patch for BUG 2308; had to move the options ↵Gerald Carter1-1/+87
structure from the _SMBCCTX to the internals structure to maintain binary compatibility (derrel, we should talk more about this) (This used to be commit a5ea01bf15758bb2be26ba16784dc0975be783bf)
2007-10-10r4970: Fix for bug 2092, allowing fallback after kerberos and allowJeremy Allison1-0/+6
gnome vfs to prevent auto-anonymous logon. Jeremy. (This used to be commit 843e85bcd978d025964c4d45d9a3886c7cf7f63c)
2007-10-10r599: Bug #1178. Make the libsmbclient routines callable by C++ programs. AlsoRichard Sharpe1-29/+264
clean up the format of the file a bit. (This used to be commit 63c846fa1da7be563a3df8fff001324268887c1d)
2003-11-02Add prototype for smbc_remove_unused_server() to fix compiler warning.Tim Potter1-0/+11
Bug #706. (This used to be commit eaf69b1ae7883573830244664cb0a81661541d92)
2003-10-24Commit Derrell's changes to libsmbclient plus a small change to configure.inRichard Sharpe1-0/+864
to see if SGI and other platforms will build. (This used to be commit cf9311044c372695592db1b95b814b0870b8cf29)
2003-04-16Add support for the new modules system to auth/ (merge from HEAD)Jelmer Vernooij1-6/+5
(This used to be commit c7a1de090db35835be1a1623bfc80c04065c5dd9)
2003-01-13Now that I am running config.developer, I decided to get rif of some warnings:Richard Sharpe1-97/+160
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD 4.3 from system includes. 2. Added a bit of const to places. 3. Made sure internal functions were declared where needed. (This used to be commit fd847aa93690eb72f0437a8d22c03b222eb2a016)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter1-1/+1
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-14/+234
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-11-22Made a libsmbclient doxygen group and moved all the libsmbclient groupsTim Potter1-13/+21
under it. (This used to be commit 43c496598f8e1aedc9c80222e60bb8e7b3027e03)
2001-11-21Fix up libsmbclient in head.Richard Sharpe1-93/+96
Apply the patches from Tom Jansen, get rid of fprintfs and change them to DEBUGs, etc ... (This used to be commit 7ac404c85303c9c3fbd48054fc4876bd4bc1567b)
2001-05-15Updated the inplace documentation to reflect change from EUCLEAN to EINVAL.Richard Sharpe1-39/+32
(This used to be commit d090ae63aebbbbb4e1d2dbe438005742ed216e31)
2001-03-10More documentation in the header in doxygen formatRichard Sharpe1-3/+12
(This used to be commit db2e712ad3ccfceb87d36e59d5f2e18a992b3e72)
2001-03-07Fix the definition and implementation of smbc_lseekdir ...Richard Sharpe1-68/+82
(This used to be commit e628d80d1e0f6ec87b61baeaf64019b43bf7dac8)
2001-02-12Added commented/documented version of libsmbclient.h and fixed up a smallRichard Sharpe1-160/+692
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/+12
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-2/+2
(This used to be commit c19559a286c3ec6dedefbd2423aa5738edd9ba41)
2001-02-04Fix some further small bugs in libsmbclient to make it pass theRichard Sharpe1-1/+23
Caldera test suite and start to add the printing routines. (This used to be commit 838cfad404ef648ee7909f449264afa4db60fa3b)
2001-01-12Some more bug fixes plus implementations of smbc_mkdir and smbc_rmdir,Richard Sharpe1-0/+12
both tested ... More later. (This used to be commit 66bb40153a9ff38692356cadfad89cf91439032e)
2001-01-12Many bug fixes to the libsmbclient.c code plusRichard Sharpe1-2/+9
- 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-07More fixes and implementation bits and pieces for libsmbclientRichard Sharpe1-0/+4
(This used to be commit 991f6907ac200d53b95a206d65844a0c0830caae)
2001-01-05Fix a small type in libsmbclient.h ...Richard Sharpe1-1/+1
(This used to be commit 807e2e1faa23a36cd1abc07ac8a26d157099aba1)
2001-01-05The latest changes to libsmbclient ...Richard Sharpe1-2/+23
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)
2000-12-26First pass at the libsmbclient code ...Richard Sharpe1-0/+154
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. (This used to be commit 51c0436a50e9f9274cee9de043bbefc93aff8011)