1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

79860 Commits

Author SHA1 Message Date
Volker Lendecke
1bb7d25176 s4-torture: Use 2 client connections for raw.notify.recursive
This makes the test more interesting in a cluster
2012-04-18 18:16:27 +02:00
Volker Lendecke
0021fc17e4 s3-dbwrap: Fix an unused var warning 2012-04-18 18:16:27 +02:00
Michael Adam
2085c20bb1 s4:torture:smb2: add a session.reauth2 test.
* open a file,
* reauth anonymously
* try to access file via handle
* reauth as user
* try to access file again

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Apr 18 16:53:35 CEST 2012 on sn-devel-104
2012-04-18 16:53:35 +02:00
Michael Adam
f3ac212d8b s4:torture:smb2: rename the file in the session-reauth1 test more systematically
The original name seems to have come in via copy and paste.
2012-04-18 15:17:36 +02:00
Michael Adam
361deb856b s4:torture:smb2: rename the session_reauth test to session_reauth1
More tests reauth? will follow...
2012-04-18 15:17:36 +02:00
Volker Lendecke
26b9ab2780 s4-torture: notify all is empty now
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 15:16:13 CEST 2012 on sn-devel-104
2012-04-18 15:16:12 +02:00
Volker Lendecke
bd3ceb8792 s4-torture: Separate out the notify alignment subtest 2012-04-18 13:42:14 +02:00
Volker Lendecke
6b445cdfc6 s4-torture: Separate out the notify basedir subtest 2012-04-18 13:42:14 +02:00
Volker Lendecke
98f8f4236c s4-torture: Separate out the notify overflow subtest 2012-04-18 13:42:14 +02:00
Volker Lendecke
a7cff2b72e s4-torture: Separate out the notify tree subtest 2012-04-18 13:42:14 +02:00
Volker Lendecke
d1a898a76b s4-torture: Separate out the notify double subtest 2012-04-18 13:42:14 +02:00
Volker Lendecke
c180cd0468 s4-torture: Separate out the notify tcp_dis subtest 2012-04-18 13:42:14 +02:00
Volker Lendecke
e5181d0460 s4-torture: Separate out the notify ulogoff subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
07def3221e s4-torture: Separate out the notify exit subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
f864b93b31 s4-torture: Separate out the notify tdis subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
b570668f55 s4-torture: Separate out the notify file subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
6f6192b998 s4-torture: Separate out the notify mask_change subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
5429593eed s4-torture: Separate out the notify recursive subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
87e2a549e9 s4-torture: Separate out the notify mask subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
74f134df72 s4-torture: Separate out the notify dir subtest 2012-04-18 13:42:13 +02:00
Volker Lendecke
13666857f2 s4-torture: Separate out the notify tcon subtest 2012-04-18 13:42:12 +02:00
Volker Lendecke
8e41c2f81c s4-torture: Make notify a suite 2012-04-18 13:42:12 +02:00
Volker Lendecke
536c4a41a1 libsmb: Actually use an introduced variable
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104
2012-04-18 13:39:53 +02:00
Volker Lendecke
c4c8845930 Talloc doc: Fix a cut&paste error
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed Apr 18 11:59:49 CEST 2012 on sn-devel-104
2012-04-18 11:59:49 +02:00
Pavel Březina
64fdcda0c7 Talloc doc: talloc_pool() when not enough memory in the pool 2012-04-18 10:27:17 +02:00
Pavel Březina
75bcb28a95 Talloc doc: TALLOC_FREE_FILL 2012-04-18 10:27:16 +02:00
Pavel Březina
f8b589b793 Talloc doc: talloc_set_log_stderr()
Documents this function.
2012-04-18 10:27:16 +02:00
Pavel Březina
cf7f4612b5 Talloc doc: talloc_set_log_fn()
Documents this function.
2012-04-18 10:27:16 +02:00
Pavel Březina
73b0ed650a Talloc doc: talloc_set_abort_fn()
Documents this function.
2012-04-18 10:27:16 +02:00
Pavel Březina
30ca3915e5 Talloc doc: talloc_asprintf_append_buffer()
Explains the difference between _append and _append_buffer.
2012-04-18 10:27:16 +02:00
Pavel Březina
50689aee38 Talloc doc: talloc_strndup_append_buffer()
Explains the difference between _append and _append_buffer.
2012-04-18 10:27:16 +02:00
Pavel Březina
c5243a499f Talloc doc: talloc_strndup_append()
The destination string is reallocated instead of duplicating the result.
2012-04-18 10:27:15 +02:00
Pavel Březina
3502371a34 Talloc doc: talloc_strdup_append_buffer()
Explains the difference between _append and _append_buffer.
2012-04-18 10:27:15 +02:00
Pavel Březina
b233173f85 Talloc doc: talloc_strdup_append()
The destination string is reallocated instead of duplicating the result.
2012-04-18 10:27:15 +02:00
Andrew Tridgell
c69c07efec dbcheck: added fix for incorrect RMD_FLAGS
this fixes the case where a DN link has RMD_FLAGS=0 for a link inside
a deleted object

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Apr 18 09:19:41 CEST 2012 on sn-devel-104
2012-04-18 09:19:41 +02:00
Andrew Tridgell
997a22e7bf dsdb: added SHOW_DELETED to samldb_member_check()
when dbcheck is fixing DNs, it will sometimes operated on a deleted DN
link

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-04-18 07:48:05 +02:00
Andrew Tridgell
2eb899de6a replace: added ENOATTR define if undefined
this fixes the build of the tdb xattr wrapper code on systems without
xattr headers

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2012-04-18 07:48:05 +02:00
Matthias Dieter Wallnöfer
8c9c6f869d s4:dbchecker.py - integrate the "objectClass" fixing code
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-04-18 07:48:05 +02:00
Matthias Dieter Wallnöfer
a2a9c334c1 s4:dsdb/pydsdb.c - call the "objectClass" normalisation code from Python
This allows the dbchecker to fix ordering/inconsistency problems with
the mentioned attribute.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-04-18 07:48:05 +02:00
Matthias Dieter Wallnöfer
27bcf7a0b6 LDB:ldb_tdb/ldb_tdb.c - allow LDB modify replaces with different value ordering
This is essential for fixing up wrong ordered "objectClass" attributes.

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2012-04-18 07:48:05 +02:00
Andrew Tridgell
9deb650fa2 ldb: added ldb_msg_element_equal_ordered()
this gives us a order sensitive msg element comparison. We need this
to allow dbcheck to fix the order of objectClass attributes.
2012-04-18 07:48:05 +02:00
Jeremy Allison
010f2b89e2 Add docs for aio_linux vfs module.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Apr 18 07:20:19 CEST 2012 on sn-devel-104
2012-04-18 07:20:19 +02:00
Andrew Bartlett
538893d183 s3fs: Use xattr_tdb format for xattr storage
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
2012-04-18 05:39:01 +02:00
Andrew Bartlett
628a24172f s4-python: Add python wrapper for xattr_tdb format xattr storage
This uses the format used by the vfs_xattr_tdb module.  The s4
posix:eadb format is kept, just in a new file and module.

Andrew Bartlett
2012-04-18 12:05:00 +10:00
Andrew Bartlett
44b6bf9130 s3-xattr_tdb: Use talloc_stackframe() more to allow calling from common code 2012-04-18 12:05:00 +10:00
Andrew Bartlett
492942a66a s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob
In this case, the blob is already in memory, so it is easier to return the full
blob to the caller, and let the caller decide if some interface restriction
stops the full blob from being passed all the way up the stack.

This allows us to quickly write a python wrapper for this xattr storage
mechanism.

Andrew Bartlett
2012-04-18 12:05:00 +10:00
Andrew Bartlett
351c78fc67 s3-xattr_tdb: make xattr_tdb a private library, for use outside vfs_xattr_tdb 2012-04-18 12:05:00 +10:00
Andrew Bartlett
ce9676839b s3-lib: Add file_id_string() 2012-04-18 12:05:00 +10:00
Andrew Bartlett
ea5a9b21fb s3-build: move file_id.c into samba3-util and create a private header 2012-04-18 12:05:00 +10:00
Andrew Bartlett
19fb796960 dbwrap: Add dbwrap_tdb to private dbwrap library
Andrew Bartlett
2012-04-18 12:05:00 +10:00