1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

33 Commits

Author SHA1 Message Date
Derrell Lipman
765daab643 r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500
1. Fix a crash bug which should have reared its ugly head ages ago, but for
    some reason, remained dormant until recently.  The bug pertained to
    libsmbclient doing a structure assignment of a cli after having opened a
    pipe.  The pipe open code makes a copy of the cli pointer that was passed
    to it.  If the cli is later copied (and that cli pointer that was saved
    is no longer valid), the pipe code will cause a crash during shutdown or
    when the copied cli is closed.

 2. The 'type' field in enumerated shares was not being set correctly with
    the new RPC-based mechanism for enumerating shares.
(This used to be commit 62a02b8f2a1fcb66881a9c9636e0b27e3049c5a1)
2007-10-10 11:05:50 -05:00
Derrell Lipman
44293df2ae r12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500
fixed another memory leak and reverted an (incorrect) fix from yesterday
(This used to be commit 8a86d7bddc291da094d060fbe185f071ffdbddd8)
2007-10-10 11:05:44 -05:00
Derrell Lipman
a54f9eddce r12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500
Correct some memory and file descriptor leaks.

 This should fix bugs 3257, 3267 and 3273.
(This used to be commit c5781c9cf5f1f8297e084fbe2c4a22257420a447)
2007-10-10 11:05:44 -05:00
Derrell Lipman
97351bc5fc r11130: r10092@cabra: derrell | 2005-10-17 15:29:03 -0400
let's now actually add the new test file
(This used to be commit b58237f98d924752a45f689d7a9fd2e8e447c100)
2007-10-10 11:05:01 -05:00
Derrell Lipman
f398183555 r11129: r10090@cabra: derrell | 2005-10-17 15:26:27 -0400
added example to read a file and test download time
(This used to be commit 4fad0c49b5bf7819d0f9782b60369c5d078c5854)
2007-10-10 11:05:01 -05:00
Derrell Lipman
e317034997 r7168: Updating file times from libsmbclient was not working for win98. Although
the function that was being used to set attributes is a core protocol
function (SMBsetatr = 0x09), it does not appear to work on win98.  As a
temporary measure, when file times are to be set, this version opens the
file and uses SMBsetattrE = 0x22 instead.  (The other advantage of this
function over the original one is that it supports setting access time as
well as modification time.)

The next step, the proper solution if it can be made to work, is to write
functions that use TRANS2_SET_PATH_INFO instead.
(This used to be commit bab0bf7f4f9d2a4b6fcee4429094349302bbeb33)
2007-10-10 10:57:04 -05:00
Derrell Lipman
38c5136ce1 r7156: file was missing; svn isn't smart enough to even notify me. sigh.
(This used to be commit fce48fa1b462ded1453520355bf2dce0f607b8dc)
2007-10-10 10:57:03 -05:00
Derrell Lipman
432878c80e r7153: add better test facilities to testutime
(This used to be commit d763c739a63894d5f458f61de28b90d840bb8fe4)
2007-10-10 10:57:03 -05:00
Derrell Lipman
7a8ee79925 r6501: correct deprecated lvalue casts in testsuite/libsmbclient
(This used to be commit 6d22c3c3434812d3a6ab7f216bec34cdb3b622a0)
2007-10-10 10:56:43 -05:00
Derrell Lipman
eefc6f0ab4 r6157: 'editorial changes' to example code
(This used to be commit fa0294ddbf7c93c24fca670b7ed52821a0507174)
2007-10-10 10:56:25 -05:00
Derrell Lipman
8e6b4b9867 r6151: additional examples/tests for libsmbclient
(This used to be commit a3bd496c921dc775b59be4ff2941f4824ffbec03)
2007-10-10 10:56:25 -05:00
Derrell Lipman
9840db418b r6149: Fixes bugs #2498 and 2484.
1. using smbc_getxattr() et al, one may now request all access control
   entities in the ACL without getting all other NT attributes.
2. added the ability to exclude specified attributes from the result set
   provided by smbc_getxattr() et al, when requesting all attributes,
   all NT attributes, or all DOS attributes.
3. eliminated all compiler warnings, including when --enable-developer
   compiler flags are in use.  removed -Wcast-qual flag from list, as that
   is specifically to force warnings in the case of casting away qualifiers.

Note: In the process of eliminating compiler warnings, a few nasties were
      discovered.  In the file libads/sasl.c, PRIVATE kerberos interfaces
      are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED
      kerberos interfaces are being used.  Someone who knows kerberos
      should look at these and determine if there is an alternate method
      of accomplishing the task.
(This used to be commit 994694f7f26da5099f071e1381271a70407f33bb)
2007-10-10 10:56:24 -05:00
Derrell Lipman
7387dab585 r6126: added utility for testing smbc_stat()
(This used to be commit e1df648ea13651e1df3d209937034b351a7f1c2b)
2007-10-10 10:56:23 -05:00
Derrell Lipman
fbc611f431 r6108: Added smbsh/smbwrapper for Linux to example/libsmbclient tree; provided more complete libsmbclient testbrowse utility
(This used to be commit 15736b97c837a16d9c009b8bff18b31429ccbe83)
2007-10-10 10:56:22 -05:00
Gerald Carter
fd312721ea missed some of Derrel's changes
(This used to be commit 3aac1e549eaf4693ded84be432a2c94b6331ef6d)
2004-03-19 17:48:08 +00:00
cvs2svn Import User
07ad7b0e3b This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 73ffc394b58fa951bca444506cd9d75a159e7f11) 2004-03-19 17:36:57 +00:00
Richard Sharpe
8d976560e0 Apply some more of Derrell Lipman's changes.
(This used to be commit a6457e1c817663cf5f3e77e4dd431ac0d9184dc7)
2004-03-19 17:36:56 +00:00
Gerald Carter
2e2b654820 merge from 3.0
(This used to be commit 309a9a4cafc3c892840e28198a41973b236a528e)
2004-02-09 18:48:44 +00:00
Richard Sharpe
716dd32809 Update Makefile ...
(This used to be commit b92fd87b2461dff0e05ad4a7b0a475539c21d4c0)
2003-11-13 21:42:07 +00:00
Richard Sharpe
d3d4c7446e Add this to samba-head.
(This used to be commit d761175f131f80ae24549adca6ffc629f84a9803)
2003-11-13 21:40:27 +00:00
Richard Sharpe
19aff105aa Add testacl.c ... from Derrell Lipman.
(This used to be commit af42af75a45d6e6538009694704e11eb83c88457)
2003-11-12 21:46:39 +00:00
Richard Sharpe
018a3cc508 Apply the changes that Derrell Lipman supplied ...
(This used to be commit 600e056a33bd658a8e0eb41af9c83d32b9e2e082)
2003-11-05 16:58:25 +00:00
Richard Sharpe
966a448f93 Apply these patches as well ... not sure if they all build. They don't on
FreeBSD 4.3. They might on Linux.
(This used to be commit 1f115c95d635377a36c0a3a1f56b4b8def04fd7e)
2003-10-24 20:24:05 +00:00
Gerald Carter
4a090ba06a trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
(This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-07-16 05:34:56 +00:00
Richard Sharpe
60cf0f28ce Fix some uncleanness with testsmbc.c
(This used to be commit 73ef6d35bbadc3ea549309119857effe3c1bc7ef)
2003-03-28 21:12:11 +00:00
Tim Potter
a30e390227 Sync with HEAD. The -L/usr/local/lib bit looks a bit dodgy though.
(This used to be commit 81bfd9a4d9c80b87b020b998e9722750339c422d)
2003-01-22 23:51:39 +00:00
Tim Potter
3bff6c4f98 Sync with HEAD.
(This used to be commit db3901827fe776041fa38900e80ab2fab94c28a6)
2003-01-22 23:50:14 +00:00
Richard Sharpe
7b581a60d2 One more small fix in tree.c
(This used to be commit 0674d5a2b0f7ee621940c93b3b58960efd91a763)
2002-11-15 22:55:15 +00:00
Richard Sharpe
b45c92f31e Fix some problems with tree.c reported by users.
(This used to be commit b0772a1a0531896d5b343863434622d4d0ff437f)
2002-11-15 22:51:03 +00:00
Jelmer Vernooij
0bd559ad1d testsmbc should only be in examples
(This used to be commit 7aad086c9a20c4c700dfce3f81d89ab982702198)
2002-11-04 17:10:08 +00:00
Richard Sharpe
9178d7591b Make sure we compile with gcc by default.
(This used to be commit 93c45024cdbbf51322106e2a5961db8c09618833)
2001-06-30 11:08:06 +00:00
Richard Sharpe
89cf219717 Add a static linking target to the examples Makefile so I can test out static linking ...
(This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
2001-06-30 04:01:51 +00:00
Richard Sharpe
49177b07c8 Adding an examples directory for libsmbclient to the head branch along with
a simple Makefile and a small README ...
(This used to be commit 950821d69cb6dcc723f8610584718c6217136d55)
2001-05-17 02:29:00 +00:00