1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

21 Commits

Author SHA1 Message Date
Jeremy Allison
4e0a6bd9a7 r22154: Make struct smbdb_ctx an opaque pointer so users of the API
don't need to have tdb.h.
Jeremy.
(This used to be commit 512542c90a78006bda3470eed7fb6d3f6e708eed)
2007-10-10 12:19:17 -05:00
Jeremy Allison
1ff60ed7bc r22012: Ensure we use the same technique to pull the share mode
data out that locking/locking.c does.
Jeremy.
(This used to be commit 1fec4da6d6267289bf93f930de4cb5e21c450e15)
2007-10-10 12:19:01 -05:00
Stefan Metzmacher
bc2b6436d0 r22009: change TDB_DATA from char * to unsigned char *
and fix all compiler warnings in the users

metze
(This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10 12:19:00 -05:00
Jeremy Allison
7a5fa7f12e r21191: Add in the POSIX open/mkdir/unlink calls.
Move more error code returns to NTSTATUS.
Client test code to follow... See if this
passes the build-farm before I add it into
3.0.25.
Jeremy.
(This used to be commit 83dbbdff345fa9e427c9579183f4380004bf3dd7)
2007-10-10 12:17:47 -05:00
Jeremy Allison
c9a14ea19f r20883: W00t! I now understand how "delete on close" really
works - even with the strange "initial delete on close"
semantics. The "initial delete on close" flag isn't
committed to the share mode db until the handle is
closed, and is discarded if any real "delete on close"
was set. This allows me to remove the "initial_delete_on_close"
flag from the share db, and move it into a BOOL in files_struct.
Warning ! You must do a make clean after this. Cope with
the wrinkle in directory delete on close which is done
differently from files. We now pass all Samba4 smbtortute
BASE-DELETE tests except for the one checking that files
can't be created in a directory which has the delete on
close set (possibly expensive to fix).
Jeremy.
(This used to be commit f2df77a1497958c1ea791f1d2f4446b5fc3389b3)
2007-10-10 12:17:18 -05:00
Herb Lewis
e59e787b48 r20269: merge -r20264:20267 from SAMBA_3_0_24
more no previous prototype warnings
(This used to be commit 41be182f78762372ae13759ede5d2bd40a71d7f5)
2007-10-10 12:16:38 -05:00
Volker Lendecke
467ec2a32b r17363: Some C++ warnings
(This used to be commit fd82f185a2e0f94bfb75f4eee072556ad94bf27d)
2007-10-10 11:38:28 -05:00
Jeremy Allison
54ea3c23e3 r16435: Add in the uid info that Jerry needs into the
share_mode struct. Allows us to know the unix
uid of the opener of the file/directory. Needed
for info level queries on open files.
Jeremy.
(This used to be commit d929323d6f513902381369d77bcd7b714346d713)
2007-10-10 11:18:54 -05:00
Jeremy Allison
7f5e36df8d r13331: No I didn't have to change the interface version...
Jeremy.
(This used to be commit 2aed5b36409e05ac25b4492669f47d50be988f2c)
2007-10-10 11:06:25 -05:00
Jeremy Allison
40d3c7ebb2 r13329: Fix libsmbsharemodes.so to work with the stored delete token.
Less trouble than I thought plus it didn't need an interface
change (thank goodness !).
Jeremy.
(This used to be commit dbe2572d1c713f46b0d1d0c405f88456c9336297)
2007-10-10 11:06:25 -05:00
Jeremy Allison
86c9bac4c3 r13274: Fix for bug #3467. Not a show stopper.
jason qian <jason@infrant.com> was a *fantastic*
help in tracking this down.
Jeremy.
(This used to be commit 9f4a9c70fa232047868e5d8a3f132a2dd6bfee82)
2007-10-10 11:06:20 -05:00
Jeremy Allison
7d2771e758 r12203: Add the share path into the sharemode db. This involves
revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
(This used to be commit 9d93af713f8520ca506730dd32aa2b994937eaba)
2007-10-10 11:05:49 -05:00
Jeremy Allison
a04dd5f4ad r11379: Remove external dependencies from sharemodes library.
Jeremy.
(This used to be commit 7fb05872612c9e1816ac24d25a020073e3b41950)
2007-10-10 11:05:14 -05:00
Gerald Carter
54abd2aa66 r10656: BIG merge from trunk. Features not copied over
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10 11:04:48 -05:00
Jeremy Allison
f94d982646 r10217: Remember to exit correctly when we find a matching entry to change.
Jeremy.
(This used to be commit 142c84eb31a4f2577d5f4bb0f541440d84eb607f)
2007-10-10 11:03:38 -05:00
Jeremy Allison
6a8ce7487b r10215: Fix several memory corruption bugs now we're testing this.
Jeremy.
(This used to be commit 3d1207aaf66bafd84935b21dbe1a0fd8efeb661d)
2007-10-10 11:03:38 -05:00
Jeremy Allison
c2f9fdcb46 r10204: I love valgrind :-). Found stupid missing parantheses :-).
Jeremy.
(This used to be commit b406a202128c1ba9800784ab8c571584b37c746b)
2007-10-10 11:03:36 -05:00
Jeremy Allison
b03137d568 r10150: Fix from Steve Williams <steve@celineandsteve.com> to make the args
consistent (uint64_t).
Jeremy.
(This used to be commit 08de7261720f7bfd72396ea7c9777dc0734c4593)
2007-10-10 11:03:34 -05:00
Jeremy Allison
1ff0de8b6d r10135: Remove external dependencies for libsmbsharemodes.so
Jeremy.
(This used to be commit 2521ae826f1a0344c882090832646d56f248488f)
2007-10-10 11:03:33 -05:00
Jeremy Allison
dcf4bc5e7f r10054: Actually use the given db path (:-)
Jeremy.
(This used to be commit ac7cf320dfa2fd980188e72c9b8baa726c5cdaa1)
2007-10-10 11:03:31 -05:00
Jeremy Allison
34721ad233 r10042: Add in external LGPL library for accessing the share mode db. Allow
others to examine & test. May not end up here eventually...
Jeremy.
(This used to be commit 7cc70ae63399eacd55bd0bf51ac2c7b004d761bf)
2007-10-10 11:03:31 -05:00