Andrew Tridgell
2b0537143c
r14947: add support for file truncate events
...
(This used to be commit ed1b90407d
)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
8be91f2d0f
r14946: added a smbcli_ftruncate() call, useful for torture testing
...
(This used to be commit b8b9acc600
)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
fa91368fb4
r14945: allow the notify backend to be specified per share
...
(This used to be commit 467027e773
)
2007-10-10 14:00:21 -05:00
Stefan Metzmacher
6c0daa4bde
r14944: pass any error of build/smb_build/main.pl to the caller of ./config.status
...
metze
(This used to be commit 977df5f443
)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
ee2fb760af
r14943: bring the inotify backend up to date with all the strange rename
...
semantics
(This used to be commit 74c274ea07
)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
ce25ec56f3
r14942: make the RAW-NOTIFY test check the strange file rename semantics. Also
...
be more forgiving of matching on extra bits (inotify cannot match on
minimal bits for all events).
(This used to be commit 29de884737
)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
4abf299e0c
r14941: a rename of a file (but not a directory) triggers 3 events. The first
...
two are the rename (FROM and TO) then the 3rd event is a modify event
of both attributes and creation time.
(This used to be commit 010a1b14a5
)
2007-10-10 14:00:20 -05:00
Stefan Metzmacher
115acb5dd0
r14939: don't use a void pointer
...
metze
(This used to be commit 03906b2b13
)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
fd25c10284
r14938: add smbcli_fsetatr() as a convenient interface to a setfileinfo for
...
torture testing. Used by RAW-NOTIFY.
(This used to be commit 517db1b1b0
)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
09a6f728a3
r14937: fix a crash that can be caused by a notify triggering during a share
...
disconnect
(This used to be commit 85d70f1c15
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
825579c36e
r14936: remove a duplicate line
...
(This used to be commit fc11201ad1
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
0dce9b003c
r14935: try to avoid a race condition in the recursion test
...
(This used to be commit 659576806f
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
51a5b79ec0
r14934: greatly expand the RAW-NOTIFY testing of completion filters. We now
...
try each bit in the completion filter separately for a wide range of
file operations.
(This used to be commit 81f8b24526
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
e54abee4e1
r14933: fix the handling of notify filters to be much closer to the behaviour
...
of w2k3. The behaviour is particularly tricky for rename.
(This used to be commit 4d3b8d9549
)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
fe071da009
r14932: ensure that we send a NOTIFY_ACTION_OLD_NAME and
...
NOTIFY_ACTION_NEW_NAME together to the client.
(This used to be commit d58011b0f3
)
2007-10-10 14:00:18 -05:00
James Peach
c5792dbbb5
r14930: Coalesce the "feature enabled" tests so that the config summary always
...
emits a yes or a no.
(This used to be commit c31e233a09
)
2007-10-10 14:00:18 -05:00
Stefan Metzmacher
c35f146d66
r14929: add some comments
...
metze
(This used to be commit 5d40e10d8e
)
2007-10-10 14:00:18 -05:00
Andrew Tridgell
e221db7a39
r14928: demonstrate that the completion filter is only set on the first notify
...
on a directory handle
(This used to be commit b6e40d9b08
)
2007-10-10 14:00:18 -05:00
Andrew Tridgell
d8544db317
r14927: expand the RAW-NOTIFY test to test recursive and rename handling
...
(This used to be commit e6abb1ecba
)
2007-10-10 14:00:18 -05:00
Andrew Tridgell
1dee94c333
r14926: change the inotify backend to implement the rather unusual semantics
...
for rename. The cookies in inotify tell us (indirectly!) if its a
rename between directories or not
(This used to be commit 13574a8d0c
)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
930e247d56
r14925: trigger NOTIFY_ACTION_OLD_NAME and NOTIFY_ACTION_NEW_NAME events for
...
renames, if in the same directory. For renames between directories
generate NOTIFY_ACTION_REMOVED and NOTIFY_ACTION_ADDED
(This used to be commit 2ac248edf0
)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
22c1c78b1d
r14924: when handling recursive change notify, the client expects a windows
...
path name back
(This used to be commit ceb85d12f7
)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
27e7c68763
r14921: I forgot to commit the IDL change for the subdir_filter
...
(This used to be commit af92520097
)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
416d7b4210
r14920: allow a notify backend to separately specify if it has handled the
...
given mask for the current directory and sub-directories. This allows
us to setup the less efficient internal handling for subdirectories,
while using the kernel inotify service for the current directory if
available. It also allows inotify to handle only some of the filter
bits, leaving the other filter bits for the user space handler.
(This used to be commit 7c3d989fa4
)
2007-10-10 14:00:17 -05:00
Andrew Tridgell
bacf1152fc
r14919: disable the BASE-DEFER_OPEN test until it gets fixed (it sleeps for
...
way too long). Jeremy, whats the idea behind those long sleeps?
its also redundent, as the RAW-MUX test already tests the sharing
violation open delay
(This used to be commit d63d113c8a
)
2007-10-10 14:00:16 -05:00
Andrew Tridgell
a9cb173f76
r14918: cleaner handling of systems without inotify
...
(This used to be commit cf17ff15b1
)
2007-10-10 14:00:16 -05:00
Andrew Tridgell
66a0d69256
r14917: fixed length strings don't count any trailing nulls in the length
...
(This used to be commit 28d9a4d1a7
)
2007-10-10 14:00:16 -05:00
Andrew Tridgell
b9ccb39c48
r14916: print errno so I can work out why OpenBSD is failing the test for tdb
...
in the build farm. msync() is failing.
(This used to be commit 4c3f3c4141
)
2007-10-10 14:00:16 -05:00
Tim Potter
9956009a41
r14915: Work in progress - getting ldb_add() working.
...
(This used to be commit d50661ed4e
)
2007-10-10 14:00:16 -05:00
Jelmer Vernooij
1385cd968b
r14914: Remove printf statement I accidently committed.
...
(This used to be commit ca4d1b4c0e
)
2007-10-10 14:00:15 -05:00
Stefan Metzmacher
953f3c7418
r14913: readd --with-selftest-prefix as it's needed
...
to workarround the 108 char limitation on unix socket paths.
make test fails when I try to use ./st
in /home/People/metze/devel/samba/4.0/samba4-ci/source/
metze
(This used to be commit 2bef820820
)
2007-10-10 14:00:15 -05:00
Stefan Metzmacher
770edafbf2
r14912: don't crash if inotify isn't present...
...
metze
(This used to be commit 953aa7887b
)
2007-10-10 14:00:15 -05:00
Jelmer Vernooij
192240634e
r14911: Allow easy modification of selftest subdirectory name
...
(This used to be commit 3de7b7fca1
)
2007-10-10 14:00:15 -05:00
Jelmer Vernooij
2054c7228a
r14910: Remove unused configure options
...
(This used to be commit 3063e5311e
)
2007-10-10 14:00:15 -05:00
Jelmer Vernooij
97fe71c1f5
r14909: Add lp_modulesdir() smb.conf option
...
(This used to be commit eaa68826d3
)
2007-10-10 14:00:14 -05:00
Jelmer Vernooij
ccae1c47f0
r14908: Fix LD_LIBRARY_PATH
...
(This used to be commit c4668192f9
)
2007-10-10 14:00:14 -05:00
Jelmer Vernooij
d4dfc5de66
r14907: Another attempt at fixing partially generated tables.c files
...
(This used to be commit 902d90bcb1
)
2007-10-10 14:00:14 -05:00
Jelmer Vernooij
6ad6506cb1
r14906: Move SWIG-specific files to scripting/swig/
...
(This used to be commit 222723e443
)
2007-10-10 14:00:14 -05:00
Jelmer Vernooij
7d53fb50f7
r14905: Prevent partly generated files when building using heavy parallel make.
...
(This used to be commit 5446ccc20d
)
2007-10-10 14:00:14 -05:00
Andrew Tridgell
c1a9486faf
r14904: fixed LIBNDR_FLAG_STR_CHARLEN (thanks to Metze for noticing this)
...
(This used to be commit 9569bf5374
)
2007-10-10 14:00:13 -05:00
Andrew Tridgell
6312201a43
r14903: rewrote ndr_push_string() to be much simpler, and correctly handle
...
UTF8 strings. This should fix the german umlaut problem reported by
michael@drueing.de
(This used to be commit 73ba1215e0
)
2007-10-10 14:00:13 -05:00
Andrew Tridgell
64485f8761
r14902: change charcnv code to fail the conversion when it hits bad
...
characters, rather than silently truncating the string. This makes the
code much omre conservative, making it easier to test. It might mean
users hit problems initially, but at least we'll hear about them, and
thus can fix them.
(This used to be commit bb99cbf069
)
2007-10-10 14:00:13 -05:00
Tim Potter
b93e9b50ab
r14901: More work on ldb swig interface. Wrap some more functions.
...
(This used to be commit 5b722fcd4b
)
2007-10-10 14:00:13 -05:00
Tim Potter
6705f888d5
r14897: Do more error checking of tdb function returns and raise IOError or
...
KeyError exceptions as appropriate.
Add a close() function to the wrapper as we can't rely on the
Python garbage collector destroying the object and closing the tdb file
at any particular time.
(This used to be commit a40d6c7922
)
2007-10-10 14:00:13 -05:00
Stefan Metzmacher
1ac990ddcf
r14894: - add some 'const'
...
- remove sid_active_in_token() was the same as security_token_has_sid()
- rename some functions
metze
(This used to be commit 81390dcda5
)
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
5559f5e3e5
r14891: fix a bug found by the ibm checker
...
the problem was that we shift with <<= (privilege-1)
and we called the function with privilege=0
add some checks to catch invalid privilege values
and hide the mask representation in privilege.c
metze
(This used to be commit a69f000324
)
2007-10-10 14:00:12 -05:00
Stefan Metzmacher
ed56a2c147
r14890: fix the usage of popt...
...
I don't know why this causes problems on my laptop today...
anyway we have done this change in smbtorture month ago...
metze
(This used to be commit ad84a69db2
)
2007-10-10 14:00:12 -05:00
Tim Potter
dd8b8dc98a
r14881: Unpack ldb_message_element and ldb_val arrays. Python can now access
...
all parts of a ldb_result:
@BASEINFO has 2 elements
elt[0]: val[0]: sequenceNumber = 2
elt[1]: val[0]: distinguishedName = @BASEINFO
name=foo has 2 elements
elt[0]: val[0]: foo = bar
elt[1]: val[0]: distinguishedName = name=foo
Cleanup some swig junk that was only necessary when including config.h
and function prototypes that used the PRINTF_ATTRIBUTE() macro.
Add some more comments.
(This used to be commit 9327fd07d6
)
2007-10-10 14:00:12 -05:00
Tim Potter
fab7e6605f
r14880: Doc.
...
(This used to be commit 73b233ee1b
)
2007-10-10 14:00:12 -05:00
Tim Potter
aae53f673f
r14879: Fix bug unpacking ldb_messages.
...
Start decoding more of ldb_message and ldb_message_result.
(This used to be commit 60f7f14baa
)
2007-10-10 14:00:11 -05:00