Stefan Metzmacher
674e8350b6
s4:dsdb/schema: add dsdb_syntax_DATA_BLOB_validate_ldb()
...
metze
2010-01-13 16:06:38 +01:00
Stefan Metzmacher
e2b9454d36
s4:dsdb/schema: add dsdb_syntax_NTTIME_validate_ldb()
...
metze
2010-01-13 16:06:38 +01:00
Stefan Metzmacher
eb261a9fda
s4:dsdb/schema: add dsdb_syntax_NTTIME_UTC_validate_ldb()
...
metze
2010-01-13 16:06:37 +01:00
Stefan Metzmacher
5f13a16295
s4:dsdb/schema: add dsdb_syntax_INT64_validate_ldb()
...
metze
2010-01-13 16:03:55 +01:00
Stefan Metzmacher
ece3defd15
s4:dsdb/schema: add dsdb_syntax_INT32_validate_ldb()
...
metze
2010-01-13 16:03:54 +01:00
Stefan Metzmacher
a0f2a49b8a
s4:dsdb/schema: add dsdb_syntax_BOOL_validate_ldb()
...
metze
2010-01-13 16:03:54 +01:00
Stefan Metzmacher
bf1f067b0c
s4:dsdb: add validate_update module
...
metze
2010-01-13 16:03:54 +01:00
Stefan Metzmacher
b20707c11a
s4:dsdb/schema: add inftrastructure for dsdb_validate_ldb()
...
metze
2010-01-13 16:03:54 +01:00
Stefan Metzmacher
61589085c4
s4:dsdb/schema: add dsdb_syntax_DN_STRING_* wrappers
...
metze
2010-01-13 16:03:53 +01:00
Stefan Metzmacher
24ecd19b30
s4:dsdb/resolve_oids: also resolve oid in search attribute list
...
metze
2010-01-13 16:03:53 +01:00
Stefan Metzmacher
f715414afa
s4:dsdb/schema_load: add a TODO about schema reloading
...
metze
2010-01-13 16:03:53 +01:00
Stefan Metzmacher
7d41afece7
s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ldap_schema.py
...
It seems that windows doesn't need that.
And we should think about a check for reloading the schema
at the start of each "write" operation.
metze
2010-01-13 16:03:52 +01:00
Stefan Metzmacher
92b87eb474
s4:dsdb/repl: reorder dreplsrv_op_notify* functions
...
This make the whole async dreplsrv_op_notify_send/recv()
readable.
metze
2010-01-13 16:00:20 +01:00
Stefan Metzmacher
e886b6e240
s4:dsdb/repl: change dreplsrv_op_notify_send/recv() to tevent_req
...
metze
2010-01-13 14:52:00 +01:00
Stefan Metzmacher
232197e9ab
s4:dsdb/common: fix major bug in lsa_BinaryString to ldb_val conversation.
...
In lsa_BinaryString length and size are byte counts!
TODO: we may need to do byte order conversion in this functions too...
metze
2010-01-13 14:52:00 +01:00
Stefan Metzmacher
ca9bc96b96
s4:ldb_msg: first try to decode integers as signed and then fallback to unsigned
...
LDAP only knowns about signed integers, so let
ldb_msg_find_attr_as_uint() and ldb_msg_find_attr_as_uint64() cope
with it.
metze
2010-01-13 14:52:00 +01:00
Stefan Metzmacher
5d08309204
s4:dsdb/common: let samdb_msg_add_uint() call samdb_msg_add_int()
...
This is important as LDAP servers always play with int32 values
and we have to encode 0x80000000 as "-2147483648" instead of "2147483648".
metze
2010-01-13 14:51:59 +01:00
Stefan Metzmacher
2d7ad938d0
s4:dsdb/common: let samdb_msg_add_uint64() call samdb_msg_add_int64()
...
This is important as LDAP servers always play with int64 values
and we have to encode 0x8000000000000000LL as "-9223372036854775808"
instead of "9223372036854775808".
metze
2010-01-13 14:51:59 +01:00
Stefan Metzmacher
8d4b913ce2
s4:ldb: be more strict in parsing ldb time strings
...
metze
2010-01-13 14:51:59 +01:00
Kai Blin
7147c8453e
selftest: Print reason when a test fails unexpectedly
2010-01-13 14:51:58 +01:00
Andreas Schneider
129c15c083
s4-ntp_signd: Migrate to tsocket.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-13 14:51:58 +01:00
Nadezhda Ivanova
a4eaa11134
Fixed a problem with incorrect default SD owner/group.
2010-01-13 15:16:38 +02:00
Volker Lendecke
026b23062e
s3: Fix a winbind segfault in "trusted_domains"
...
We have to initialize domain->backend by calling "get_cache" before doing a
query
Thanks to Christian Ambach to find this :-)
2010-01-13 12:22:31 +01:00
Zahari Zahariev
5d1aa4c5b7
Comparison tool for LDAP servers (using Ldb)
...
This tool is integrated with Samba4 Ldb. It provides a useful output
where you can find easy differences in objects or attributes within
naming context (Domain, Configuration or Schema).
Added functionality for two sets of credentials.
2010-01-13 12:06:17 +02:00
Nadezhda Ivanova
9b3871ed29
Merge branch 'master' of git://git.samba.org/samba
2010-01-13 12:02:31 +02:00
SASAJIMA Toshihiro
ca84795205
Fix bug #7034 - vfs_cap causes signal 11 (SIGSEGV)
2010-01-12 21:43:23 -08:00
Jeremy Allison
ed457e07b9
Fix two uses of strncat -> strlcat. Ensure proper use of strncpy when setting socket name.
...
Jeremy.
2010-01-12 21:18:36 -08:00
Jeremy Allison
33ee8b5a4e
Make file access control decisions a lot easier to debug (at level 10).
...
Jeremy.
2010-01-12 21:06:09 -08:00
Jeremy Allison
105f876eb4
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
...
Argh. Missed the second (and essential) part of the fix for the above :-(.
Jeremy
2010-01-12 16:55:31 -08:00
Jeremy Allison
ce8dcbe91b
Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete a directory.
...
There is a codepath missing to propagate back error returns from the rmdir
POSIX call inside close_directory when delete on close is set. This means doing
an rmdir on a Windows command line will always report success, even when the
directory was not deleted. This fix adds that codepath back into Samba.
Jeremy.
2010-01-12 16:50:40 -08:00
Jeremy Allison
47c1d9b39f
Fix bug #6876 - Delete of an object whose parent folder does not have delete rights fails even if the delete right is set on the object.
...
Final fix for the vfs_acl_xattr and vfs_acl_tdb code.
Ensure we can delete a file even if the underlying POSIX
permissions don't allow it, if the Windows permissions do.
Jeremy.
2010-01-12 16:04:44 -08:00
Jeremy Allison
2f30aea332
Remove the global char *LastDir.
...
This is no longer used for anything.
2010-01-12 14:48:23 -08:00
Volker Lendecke
2d4dda0688
s3: Lift the version of the scannedonly VFS module
2010-01-12 22:58:51 +01:00
Olivier Sessink
31e142854b
s3: Add the "scannedonly" vfs virus scanner interface module
2010-01-12 22:57:18 +01:00
Simo Sorce
3d184399a5
Strip trailing spaces
2010-01-12 13:50:24 -05:00
Michael Adam
3b58b2ac39
docs: fix xml tag in the pdbedit manpage
...
Michael
2010-01-12 16:19:57 +01:00
Michael Adam
444ecac2d2
s3:auth: add comment to nulling out stolen sampass
...
Adding this comment makes me think, I could also
have changed make_server_info_sam() talloc_move
instead of talloc_steal, but that would have
changed the signature... Well the comment is a
first step. :-)
Michael
2010-01-12 16:19:56 +01:00
Volker Lendecke
373dcf45cf
s3: Remove a pointless if-statement
2010-01-12 13:55:07 +01:00
Günther Deschner
3b82254903
s4-selftest: RPC-SAMR-PASSWORDS-BADPWDCOUNT fails against s4.
...
Seems like account lockout is not implemented at all yet.
Guenther
2010-01-12 12:34:55 +01:00
Günther Deschner
0ae4cc839d
testprogs: remove unused test_EachDriver from spoolss test.
...
Guenther
2010-01-12 12:12:05 +01:00
Günther Deschner
3c1b51795d
testprogs: add EnumPrinterKey test to spoolss test.
...
Guenther
2010-01-12 12:12:05 +01:00
Günther Deschner
13dad38930
s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.
...
Guenther
2010-01-12 12:12:05 +01:00
Günther Deschner
a744dbcf2b
s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.
...
This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute
in relation to password history and successfull and unsucessful netlogon
samlogons.
Michael, please check. This should help verifiying Bug #4347 .
Guenther
2010-01-12 12:09:47 +01:00
Günther Deschner
c9e84ad397
s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR family of tests.
...
Guenther
2010-01-12 12:09:25 +01:00
Giovanni Bajo
d75d14f8de
s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfo
...
Windows seems to allow this
http://lists.samba.org/archive/samba-technical/2009-November/068116.html
has a dump of this.
2010-01-11 22:24:22 +01:00
Simo Sorce
e0e255fb24
Fix comment/debug messages
2010-01-11 11:55:28 -05:00
Günther Deschner
403dc10e8f
testprogs: fix driver levels in spoolss test.
...
Guenther
2010-01-11 12:43:07 +01:00
Günther Deschner
9a1b298e3d
testprogs: test each printer, do not abort after first failure.
...
Guenther
2010-01-11 12:43:07 +01:00
Günther Deschner
3e7b7bfd27
testprogs: fix EnumPrintProcessorDatatypes spoolss test.
...
Guenther
2010-01-11 12:43:07 +01:00
Günther Deschner
4aefb33b9f
testprogs: add more error codes to spoolss test.
...
Guenther
2010-01-11 12:43:07 +01:00