summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba ↵Stefan Metzmacher1-9/+5
(both dont survive)."" This reverts commit 508c218eb2f4bf8c45dc9d481576c87ed4fecbd3. This lets make test fail. Matthias: please make sure make test still passes when you change things like this...(maybe add something to knownfail or so) metze
2010-03-16s4:torture/rpc/dsgetinfo.c: fix name resolving for ldap_urlStefan Metzmacher1-1/+6
metze
2010-03-16s4:resolve_oids LDB module - not really a change but a nicer method to call ↵Matthias Dieter Wallnöfer1-1/+2
"talloc_reference"
2010-03-16s4:idl change level to type in lsa_ForestTrustRecord.Simo Sorce1-2/+2
2010-03-16s4-smbtorture: avoid printf calls in RPC-WINREG test.Günther Deschner1-41/+33
Guenther
2010-03-16Added a net acl ds command for modification of ACLs on directory objectsNadezhda Ivanova6-2/+242
At present the command supports only addition of control access rigts, done so DRS access checks can be tested. It will be expanded to deal with most ways to modify and view a DS ACL. Shifted commands a bit. What used to be net acl is now "net acl nt" as apposed to this, which is "net acl ds" ./bin/net acl ds set --help Usage: set --objectdn=objectdn --car=control right --action=[deny|allow] --trusteedn=trustee-dn Options: -h, --help show this help message and exit --host=HOST LDB URL for database or target server --car=CAR The access control right to allow or deny --action=ACTION Deny or allow access --objectdn=OBJECTDN DN of the object whose SD to modify --trusteedn=TRUSTEEDN DN of the entity that gets access Samba Common Options: -s FILE, --configfile=FILE Configuration file Credentials Options: --simple-bind-dn=DN DN to use for a simple bind --password=PASSWORD Password -U USERNAME, --username=USERNAME Username -W WORKGROUP, --workgroup=WORKGROUP Workgroup -N, --no-pass Don't ask for a password -k KERBEROS, --kerberos=KERBEROS Use Kerberos
2010-03-16s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names.Günther Deschner1-8/+4
Guenther
2010-03-16s4:dsdb - fix up warningsMatthias Dieter Wallnöfer2-4/+8
2010-03-16s4:registry - use a macro for reverse byte orderMatthias Dieter Wallnöfer2-10/+4
2010-03-16s4:dsdb Show more detail in failure to compute the aggregate DN.Andrew Bartlett1-1/+1
Andrew Bartlett
2010-03-16s4:dsdb Change dsdb_get_schema() callers to use new talloc argumentAndrew Bartlett22-52/+125
This choses an appropriate talloc context to attach the schema too, long enough lived to ensure it does not go away before the operation compleates. Andrew Bartlett
2010-03-16s4:dsdb Fix warnings in DEBUG() by casting to unsigned long intAndrew Bartlett1-4/+4
2010-03-16s4:dsdb/acl Reduce calls to dsdb_get_schema() and add memory contextAndrew Bartlett1-24/+46
dsdb_get_schema() isn't a very cheap call, due to the use of LDB opaque pointers. We need to call it less, and instead pass it as a parameter where possible. This also changes to the new API with a talloc context. Andrew Bartlett
2010-03-16s4:dsdb Add a memory context for dsdb_get_schema()Andrew Bartlett1-3/+9
When specified, we talloc_reference onto this context to ensure that pointers found in it are valid for the life of the objects they are placed into. (Such as the string form of LDAP attributes). Andrew Bartlett
2010-03-16s4:dsdb Don't error out if we can't get the Aggregate schema DN yetAndrew Bartlett1-9/+16
It's easier to just set it up when we can, then to deal with the ordering issues in ldb startup. As long as we have it ready if a real client ever asks for it, then we should be happy. Andrew Bartlett
2010-03-16s4:registry - check also for other registry value types in the generic testMatthias Dieter Wallnöfer1-0/+16
2010-03-16s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatypeMatthias Dieter Wallnöfer1-0/+14
2010-03-16s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatypeMatthias Dieter Wallnöfer2-4/+26
It's like the normal REG_DWORD type but the byte order swapped
2010-03-16s4:dsdb/kcc/*.c - fix up wrong typed countersMatthias Dieter Wallnöfer5-20/+22
2010-03-16s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of ↵Erick Nogueira do Nascimento1-46/+104
DsGetReplInfo() This torture testcase considers both cases for this infoType: when the flag DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is enabled and when not. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-03-16s4-drs: DsGetReplInfo(), infoType = DS_REPL_INFO_METADATA_2_FOR_OBJErick Nogueira do Nascimento1-80/+284
Implementation of the DS_REPL_INFO_METADATA_2_FOR_OBJ infoType for DsGetReplInfo() Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-03-15s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER.Günther Deschner1-1/+95
Guenther
2010-03-15s4-smbtorture: fill PrinterDriverData with more values for consistency test.Günther Deschner1-3/+22
Guenther
2010-03-15s4-smbtorture: cleanup data after enumdata{ex} consistency test.Günther Deschner1-0/+8
Guenther
2010-03-15s4-smbtorture: when cross checking enumdata{ex} make sure to have at least ↵Günther Deschner1-0/+21
one entry. Guenther
2010-03-15s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.Günther Deschner1-72/+59
Guenther
2010-03-15s4:registry - rpc - don't crash when communication partner isn't availableMatthias Dieter Wallnöfer1-4/+4
2010-03-15s4:registry - util.c - treat unsupported and binary values as the same in ↵Matthias Dieter Wallnöfer1-17/+5
the conversion functions We don't need to provide an extra representation for all available registry types. But if we treat all unsupported types as binary we also get our tools (regtree, regshell, regdiff...) working with them in a basic manner.
2010-03-15s4:registry - util.c - move the "REG_NONE" case in the conversion functions ↵Matthias Dieter Wallnöfer1-6/+6
on top of the switch (As in the "reg_value_types" structure)
2010-03-15s4:registry - local testsuite - add a test for REG_QWORDMatthias Dieter Wallnöfer1-1/+15
Change also here to fixed-length HEX values output to test for the right representation.
2010-03-15s4:registry - fix up the output of hexadecimal valuesMatthias Dieter Wallnöfer2-14/+6
Use a fixed-length representation to avoid platform-specific issues.
2010-03-15s4:registry - add support for REG_QWORD valuesMatthias Dieter Wallnöfer2-1/+82
Basically the same as REG_DWORD but these are eight byte long.
2010-03-15s4-smbtorture: fix torture_comment in RPC-SPOOLSS.Günther Deschner1-1/+1
Guenther
2010-03-15s4:tortore/libnet: fix crash bugs because of incorrect function prototypesStefan Metzmacher6-26/+43
metze
2010-03-14s4:registry - util.c - add harder checks for inputs on "reg_val_data_string"Matthias Dieter Wallnöfer1-12/+16
("NULL" result is error on most data types).
2010-03-14Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont ↵Matthias Dieter Wallnöfer1-5/+9
survive)." This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd. s4 should support now also the extended "SetValue" tests.
2010-03-14s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD ↵Matthias Dieter Wallnöfer1-12/+47
values We need to support this as gd's WINREG torture test shows.
2010-03-14s4:registry - ldb.c - provide a mechansim for storing UTF8/binary ↵Matthias Dieter Wallnöfer1-7/+39
REG_SZ/REG_EXPAND_SZ values We need to support this as gd's WINREG torture test shows.
2010-03-14s4:registry - ldb.c - fix up a strange LDB filterMatthias Dieter Wallnöfer1-1/+1
2010-03-14s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value"Matthias Dieter Wallnöfer1-3/+8
Don't substitute existing data blobs with new ones and make sure, that the result objects in the data blob don't have memory dependencies of the LDB value input.
2010-03-14s4:registry - ldb.c - check more for possible "Out of memory" circumstancesMatthias Dieter Wallnöfer1-4/+10
2010-03-14s4:registry - ldb.c - remove superfluous "query" variableMatthias Dieter Wallnöfer1-4/+2
2010-03-14s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value"Matthias Dieter Wallnöfer1-17/+59
Break on errors and return NULL and otherwise the message pointer.
2010-03-14s4:registry - ldb.c - Move the "val" structureMatthias Dieter Wallnöfer1-3/+5
Move it into the REG_SZ/REG_EXPAND_SZ case block since it's used only there. Plus convert it from static into dynamic talloc'ed.
2010-03-14Reintroduce "s4:provision Improve the handling of provision errors""Matthias Dieter Wallnöfer1-18/+23
This mainly reverts commit f0bc02d74c16bc013e9fdab46ef271cf45873453. Jelmer pointed out a way how we can achieve the same error handling with an older syntax also on Python 2.4+.
2010-03-13Revert "s4:provision Improve the handling of provision errors"Matthias Dieter Wallnöfer1-25/+18
This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193. Andrew, this is not Python 2.4+ compatible
2010-03-13s4:torture/rpc/spoolss.c: fix compiler warningsStefan Metzmacher1-2/+0
metze
2010-03-13s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.Günther Deschner1-2/+2
Guenther
2010-03-13s4-smbtorture: send even more random data in extended winreg SetValue test.Günther Deschner1-5/+5
Guenther
2010-03-13s4-smbtorture: fix build and handle in spoolss test.Günther Deschner1-1/+1
it's friday night... Guenther