Christian Ambach
b77f241b28
fix snapshot content display with hide unreadable
...
With the hide unreadable option set, snapshots are be displayed
as empty with shadow_copy2 and a NFSv4 ACL module.
To prevent multiple conversions of the paths when the acl call
does a VFS_STAT (as the nfs4acl code does), a check was added
to convert_shadow2_name() so it will not touch paths any more
that look like they have already been converted.
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
Volker Lendecke
cc2aa855a3
s3: Fix shadow copies after the change for in-path @GMT-
...
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
Volker Lendecke
68c6e07591
s3: Fix in-path shadowcopy2 module
...
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
olivier
72cd5bcd58
make scannedonly notify the scanner if no .scanned: file was found during rename
2010-08-03 17:07:56 +02:00
Günther Deschner
64b26affe0
s3-dcerpc: fix some uninitialized variables build warnings.
...
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
bf19a5228a
s3-spoolss: fix type-punned pointer build warning.
...
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
743a2dedf4
s3-spoolss: fix uninitialized variable build warning.
...
Andreas, please check.
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
c530aa33cd
s3-printing: make sure to set NTSTATUS code before checking it.
...
Andreas, please check.
Guenther
2010-08-03 15:57:52 +02:00
Anatoliy Atanasov
bf5d88ec1c
s4/vampire: update dNSHostName for the Server object
2010-08-03 11:15:21 +03:00
Kamen Mazdrashki
f827904596
s4-schema: More verbose error log when subClassOf is not found in schema
...
Error message show failing classSchema object
but not the specific value for the failure,
which makes diagnostics by log files really hard.
2010-08-03 04:29:23 +03:00
Kamen Mazdrashki
a268e0846f
s4: fix comment typos
2010-08-03 04:29:22 +03:00
Günther Deschner
eab6d8c390
s3-spoolss: remove duplicate (and incorrect) header.
...
Guenther
2010-08-03 00:18:31 +02:00
Andreas Schneider
b6e9d8d406
idl: Fixed a possible crash bug.
2010-08-02 18:33:36 +02:00
Stefan Metzmacher
31782e5295
s4:librpc/rpc: avoid using DCERPC_NDR_REF_ALLOC for epm_Map()
...
metze
2010-08-02 17:42:50 +02:00
Stefan Metzmacher
b1a584f9dc
s4:torture/libnet: avoid dereferencing dcerpc_binding_handle internals
...
metze
2010-08-02 17:42:49 +02:00
Andreas Schneider
d3fff45904
s3-spoolss: Fixed a segfault if a value has no data.
2010-08-02 16:42:39 +02:00
Andreas Schneider
307bd439d7
s3-spoolss: Move some debug message to a higher level.
2010-08-02 16:42:39 +02:00
Andreas Schneider
4412bafa44
s3-spoolss: Fixed some C++ build warnings.
2010-08-02 16:42:39 +02:00
Andreas Schneider
772fbce9ff
s3-spoolss: Use a stackframe to allocat memory.
...
This is faster and should be more secure to use if something goes wrong.
2010-08-02 16:37:12 +02:00
Günther Deschner
6463281f36
s4-smbtorture: remove another old and now invalid s3 special case during spoolss testing.
...
Guenther
2010-08-02 16:10:06 +02:00
Günther Deschner
45952b5679
spoolss: fix potential crash bug in spoolss_PrinterEnumValues push path.
...
Guenther
2010-08-02 15:52:09 +02:00
Günther Deschner
ff1c5b37f6
s3-spoolss: remove unused MAX_OPEN_PRINTER_EXS define.
...
Guenther
2010-08-02 15:31:10 +02:00
Günther Deschner
322b524194
s3-build: fix some c++ build warnings.
...
Guenther
2010-08-02 12:05:03 +02:00
Volker Lendecke
911db76114
s3: Use cups-config --libs
2010-08-02 11:55:02 +02:00
Matthias Dieter Wallnöfer
e4b32cb0d4
s4:ldap.py - remove superflous spaces
...
Sorry, forgot to delete them in the last commit
2010-08-01 22:12:04 +02:00
Matthias Dieter Wallnöfer
e92f447823
s4:ldap.py - additional "instanceType" checks
2010-08-01 21:30:30 +02:00
Matthias Dieter Wallnöfer
c38219adfc
s4:instancetype LDB module - add checks requested by MS-ADTS 3.1.1.5.2.2
...
We've to test for the WRITE flag if we are performing an NC add. And if it
isn't an NC add then only the WRITE or no flag is allowed.
2010-08-01 21:30:29 +02:00
Matthias Dieter Wallnöfer
ba4578f98b
s4:objectclass LDB module - consider the "instanceType" when adding NCs
...
This is requested by MS-ADTS 3.1.1.5.2.2 (NC add operation).
2010-08-01 21:30:29 +02:00
Matthias Dieter Wallnöfer
89c7859006
s4:descriptor LDB module - remove the "forest DN" check
...
Also here we have to work with the default base DN.
After some reading I've discovered that this isn't really true. The forest
partition does exist on one or more DCs and is there the same as the default
base DN (which is already checked by the module).
And if we have other DCs which contain child domains then they never contain
data of the forest domain beside the schema and the configuration partition
(which are checked anyway) since a DC can always contain only one domain!
Link: http://www.informit.com/articles/article.aspx?p=26896&seqNum=5
2010-08-01 21:30:28 +02:00
Matthias Dieter Wallnöfer
f824e459f0
s4:acl LDB module - remove the "forest DN" check
...
After some reading I've discovered that this isn't really true. The forest
partition does exist on one or more DCs and is there the same as the default
base DN (which is already checked by the module).
And if we have other DCs which contain child domains then they never contain
data of the forest domain beside the schema and the configuration partition
(which are checked anyway) since a DC can always contain only one domain!
Link: http://www.informit.com/articles/article.aspx?p=26896&seqNum=5
2010-08-01 21:30:28 +02:00
Matthias Dieter Wallnöfer
149f4251c5
s4:acl LDB module - remove unused call "is_root_base_dn"
2010-08-01 21:30:27 +02:00
Matthias Dieter Wallnöfer
3f2a8d5081
s4:urgent_replication.py test - adapt the test for the harder delete restrictions
...
Otherwise we are not able to delete the "test crossRef" object which points
to the default NC anymore.
2010-08-01 18:50:57 +02:00
Matthias Dieter Wallnöfer
ea5c40428f
s4:ldap.py - perform tests on the additional delete constraint checks
2010-08-01 18:50:57 +02:00
Matthias Dieter Wallnöfer
316eda1206
s4:objectclass LDB module - implement additional delete constraint checks
...
MS-ADTS 3.1.1.5.5.3
2010-08-01 18:50:57 +02:00
Volker Lendecke
c59ab01e33
s3: Fix an uninitialized variable
2010-08-01 18:16:19 +02:00
Volker Lendecke
fb167a6028
s3: Fix a C++ warning
2010-08-01 18:16:19 +02:00
Volker Lendecke
0213cfa6af
s3: Fix some nonempty blank lines
2010-08-01 18:11:06 +02:00
Volker Lendecke
9bf2d260aa
s3: Fix an uninitialized variable
2010-08-01 17:58:01 +02:00
Matthias Dieter Wallnöfer
542396ccd9
s4:ldap.py - add a test for "CN=System" object rename behaviour
2010-08-01 14:00:10 +02:00
Matthias Dieter Wallnöfer
7ea1796fa4
s4:subtree_rename LDB module - rename "check_system_flags" into "check_constraints" and perform more checks
...
Always considering MS-ADTS 3.1.1.5.4.1.2.
2010-08-01 14:00:10 +02:00
Matthias Dieter Wallnöfer
2e66033ab9
s4:subtree_rename LDB module - introduce out of memory checks
2010-08-01 14:00:10 +02:00
Matthias Dieter Wallnöfer
f997fd299d
s4:dsdb/samdb/ldb_modules/util.c - remove unused variables
2010-08-01 11:33:37 +02:00
Stefan Metzmacher
b99a02a7d4
s4:torture/rpc/winreg: fix "strict aliasing" compiler warnings
...
metze
2010-08-01 11:18:05 +02:00
Stefan Metzmacher
c7ba3c4dcf
s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)
...
metze
2010-08-01 11:17:14 +02:00
Matthias Dieter Wallnöfer
81cc92c5af
s4:ldap.py - performs some "systemFlags" testing
2010-08-01 09:36:01 +02:00
Matthias Dieter Wallnöfer
3cdc83d4f9
s4:subtree_rename LDB module - introduce the "systemFlags" protection rules
...
This is done in a dedicated call "check_system_flags".
2010-08-01 09:35:54 +02:00
Matthias Dieter Wallnöfer
3244f6feaa
s4:dsdb/pydsdb.c - import "systemFlags" into Python
...
Needed by ldap.py tests
2010-07-31 21:43:11 +02:00
Matthias Dieter Wallnöfer
4e3afb36da
s4:subtree_rename LDB module - "subren_ctx_init" - fix the "out of memory" return
2010-07-31 21:33:33 +02:00
Matthias Dieter Wallnöfer
1b7029b47b
s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate casts
2010-07-31 20:59:02 +02:00
Matthias Dieter Wallnöfer
380b2cb4b0
s4:torture/winreg.c - remove unreachable code
2010-07-31 20:58:47 +02:00