Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-16 | s4:idl change level to type in lsa_ForestTrustRecord. | Simo Sorce | 1 | -2/+2 | |
2010-03-16 | s4-smbtorture: avoid printf calls in RPC-WINREG test. | Günther Deschner | 1 | -41/+33 | |
Guenther | |||||
2010-03-16 | Added a net acl ds command for modification of ACLs on directory objects | Nadezhda Ivanova | 6 | -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-16 | s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names. | Günther Deschner | 1 | -8/+4 | |
Guenther | |||||
2010-03-16 | s4:dsdb - fix up warnings | Matthias Dieter Wallnöfer | 2 | -4/+8 | |
2010-03-16 | s4:registry - use a macro for reverse byte order | Matthias Dieter Wallnöfer | 2 | -10/+4 | |
2010-03-16 | s4:dsdb Show more detail in failure to compute the aggregate DN. | Andrew Bartlett | 1 | -1/+1 | |
Andrew Bartlett | |||||
2010-03-16 | s4:dsdb Change dsdb_get_schema() callers to use new talloc argument | Andrew Bartlett | 22 | -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-16 | s4:dsdb Fix warnings in DEBUG() by casting to unsigned long int | Andrew Bartlett | 1 | -4/+4 | |
2010-03-16 | s4:dsdb/acl Reduce calls to dsdb_get_schema() and add memory context | Andrew Bartlett | 1 | -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-16 | s4:dsdb Add a memory context for dsdb_get_schema() | Andrew Bartlett | 1 | -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-16 | s4:dsdb Don't error out if we can't get the Aggregate schema DN yet | Andrew Bartlett | 1 | -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-16 | s4:registry - check also for other registry value types in the generic test | Matthias Dieter Wallnöfer | 1 | -0/+16 | |
2010-03-16 | s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatype | Matthias Dieter Wallnöfer | 1 | -0/+14 | |
2010-03-16 | s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatype | Matthias Dieter Wallnöfer | 2 | -4/+26 | |
It's like the normal REG_DWORD type but the byte order swapped | |||||
2010-03-16 | s4:dsdb/kcc/*.c - fix up wrong typed counters | Matthias Dieter Wallnöfer | 5 | -20/+22 | |
2010-03-16 | s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of ↵ | Erick Nogueira do Nascimento | 1 | -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-16 | s4-drs: DsGetReplInfo(), infoType = DS_REPL_INFO_METADATA_2_FOR_OBJ | Erick Nogueira do Nascimento | 1 | -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-15 | s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER. | Günther Deschner | 1 | -1/+95 | |
Guenther | |||||
2010-03-15 | s4-smbtorture: fill PrinterDriverData with more values for consistency test. | Günther Deschner | 1 | -3/+22 | |
Guenther | |||||
2010-03-15 | s4-smbtorture: cleanup data after enumdata{ex} consistency test. | Günther Deschner | 1 | -0/+8 | |
Guenther | |||||
2010-03-15 | s4-smbtorture: when cross checking enumdata{ex} make sure to have at least ↵ | Günther Deschner | 1 | -0/+21 | |
one entry. Guenther | |||||
2010-03-15 | s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS. | Günther Deschner | 1 | -72/+59 | |
Guenther | |||||
2010-03-15 | s4:registry - rpc - don't crash when communication partner isn't available | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
2010-03-15 | s4:registry - util.c - treat unsupported and binary values as the same in ↵ | Matthias Dieter Wallnöfer | 1 | -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-15 | s4:registry - util.c - move the "REG_NONE" case in the conversion functions ↵ | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
on top of the switch (As in the "reg_value_types" structure) | |||||
2010-03-15 | s4:registry - local testsuite - add a test for REG_QWORD | Matthias Dieter Wallnöfer | 1 | -1/+15 | |
Change also here to fixed-length HEX values output to test for the right representation. | |||||
2010-03-15 | s4:registry - fix up the output of hexadecimal values | Matthias Dieter Wallnöfer | 2 | -14/+6 | |
Use a fixed-length representation to avoid platform-specific issues. | |||||
2010-03-15 | s4:registry - add support for REG_QWORD values | Matthias Dieter Wallnöfer | 2 | -1/+82 | |
Basically the same as REG_DWORD but these are eight byte long. | |||||
2010-03-15 | s4-smbtorture: fix torture_comment in RPC-SPOOLSS. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-03-15 | s4:tortore/libnet: fix crash bugs because of incorrect function prototypes | Stefan Metzmacher | 6 | -26/+43 | |
metze | |||||
2010-03-14 | s4:registry - util.c - add harder checks for inputs on "reg_val_data_string" | Matthias Dieter Wallnöfer | 1 | -12/+16 | |
("NULL" result is error on most data types). | |||||
2010-03-14 | Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont ↵ | Matthias Dieter Wallnöfer | 1 | -5/+9 | |
survive)." This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd. s4 should support now also the extended "SetValue" tests. | |||||
2010-03-14 | s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD ↵ | Matthias Dieter Wallnöfer | 1 | -12/+47 | |
values We need to support this as gd's WINREG torture test shows. | |||||
2010-03-14 | s4:registry - ldb.c - provide a mechansim for storing UTF8/binary ↵ | Matthias Dieter Wallnöfer | 1 | -7/+39 | |
REG_SZ/REG_EXPAND_SZ values We need to support this as gd's WINREG torture test shows. | |||||
2010-03-14 | s4:registry - ldb.c - fix up a strange LDB filter | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-14 | s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value" | Matthias Dieter Wallnöfer | 1 | -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-14 | s4:registry - ldb.c - check more for possible "Out of memory" circumstances | Matthias Dieter Wallnöfer | 1 | -4/+10 | |
2010-03-14 | s4:registry - ldb.c - remove superfluous "query" variable | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2010-03-14 | s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value" | Matthias Dieter Wallnöfer | 1 | -17/+59 | |
Break on errors and return NULL and otherwise the message pointer. | |||||
2010-03-14 | s4:registry - ldb.c - Move the "val" structure | Matthias Dieter Wallnöfer | 1 | -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-14 | Reintroduce "s4:provision Improve the handling of provision errors"" | Matthias Dieter Wallnöfer | 1 | -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-13 | Revert "s4:provision Improve the handling of provision errors" | Matthias Dieter Wallnöfer | 1 | -25/+18 | |
This reverts partially commit 027123199e13cc02ae4edadd8f0dd0f0660e1193. Andrew, this is not Python 2.4+ compatible | |||||
2010-03-13 | s4:torture/rpc/spoolss.c: fix compiler warnings | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2010-03-13 | s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: send even more random data in extended winreg SetValue test. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: fix build and handle in spoolss test. | Günther Deschner | 1 | -1/+1 | |
it's friday night... Guenther | |||||
2010-03-13 | s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency ↵ | Günther Deschner | 1 | -0/+89 | |
test. Guenther | |||||
2010-03-13 | s4-smbtorture: refactor spoolss EnumPrinterData test. | Günther Deschner | 1 | -39/+76 | |
Guenther | |||||
2010-03-13 | s4-smbtorture: refactor SetPrinterData() calls a little more. | Günther Deschner | 1 | -129/+179 | |
Guenther |