summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:dsdb Don't error out if we can't get the Aggregate schema DN yetAndrew Bartlett2010-03-161-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
* s4:registry - check also for other registry value types in the generic testMatthias Dieter Wallnöfer2010-03-161-0/+16
|
* s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatypeMatthias Dieter Wallnöfer2010-03-161-0/+14
|
* s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatypeMatthias Dieter Wallnöfer2010-03-162-4/+26
| | | | It's like the normal REG_DWORD type but the byte order swapped
* s4:dsdb/kcc/*.c - fix up wrong typed countersMatthias Dieter Wallnöfer2010-03-165-20/+22
|
* s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of ↵Erick Nogueira do Nascimento2010-03-161-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>
* s4-drs: DsGetReplInfo(), infoType = DS_REPL_INFO_METADATA_2_FOR_OBJErick Nogueira do Nascimento2010-03-161-80/+284
| | | | | | Implementation of the DS_REPL_INFO_METADATA_2_FOR_OBJ infoType for DsGetReplInfo() Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Fix bug #7191 - WINS doesn't respond after > 86 #1c registrations.Craig Miskell2010-03-151-4/+115
|
* s3:registry-legacy: use talloc_stackframe() instead of NULL in ↵Michael Adam2010-03-161-2/+3
| | | | | | regkey_open_internal() Michael
* s3:smbcacls: also honour the "--sddl" flag when setting ACLs.Michael Adam2010-03-161-2/+6
| | | | Michael
* s3: Fix an uninitialized variable readVolker Lendecke2010-03-151-1/+1
| | | | | | | | Found by Laurent Gaffie <laurent.gaffie@gmail.com> Thanks for that, Volker
* Remove the bool admin_user from conn struct. We no longer look at this to ↵Jeremy Allison2010-03-154-9/+5
| | | | | | make access decisions. Jeremy.
* Fix bug #7188 - Logic error in check of total_data for call_trans2mkdir()Jeremy Allison2010-03-151-16/+13
| | | | | | Make ea data checks identical for trans2open and trans2mkdir. Jeremy.
* Remove reference to conn->admin_user in preparation for removal.Jeremy Allison2010-03-151-9/+13
| | | | | | | We use (uid_t)0 here not sec_initial_uid() as make test uses a single user context. I will revisit this when all the uid check changes are complete. Jeremy.
* Simplify processing of "admin user". If a user is an admin_user ensure their ↵Jeremy Allison2010-03-151-15/+14
| | | | | | | | | conn token is uid 0. This simplifies change_to_user() and removes special processing of the assignments we pass to set_sec_ctx(). Jeremy.
* Switch over to using get_currect_XXX() accessor functions.Jeremy Allison2010-03-155-33/+38
| | | | Jeremy.
* Pass "connection_struct *conn" into functions that currently use ↵Jeremy Allison2010-03-153-20/+22
| | | | | | | | "current_user.XXX" Will allow me to replace them with accessor functions. Jeremy.
* Add accessor functions for current uid, gid, unix token, NT token and vuid.Jeremy Allison2010-03-152-0/+48
| | | | Jeremy.
* We don't need to treat the token differently in the conn->admin_user case, ↵Jeremy Allison2010-03-151-11/+0
| | | | | | it should already be pointing to a token with uid == 0. Jeremy.
* Rever e80ceb1d7355c8c46a2ed90d5721cf367640f4e8 "Remove more uses of "extern ↵Jeremy Allison2010-03-1510-129/+78
| | | | | | | | struct current_user current_user;"." As requested by Volker, split this into smaller commits. Jeremy.
* s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER.Günther Deschner2010-03-151-1/+95
| | | | Guenther
* testprogs: add EnumPrinterData test to win32 spoolss test.Günther Deschner2010-03-152-0/+67
| | | | Guenther
* s4-smbtorture: fill PrinterDriverData with more values for consistency test.Günther Deschner2010-03-151-3/+22
| | | | Guenther
* s3:smbd: make sure we always have a valid talloc stackframeStefan Metzmacher2010-03-151-0/+3
| | | | metze
* talloc_stack: reset stackframe pointers to NULLStefan Metzmacher2010-03-151-0/+2
| | | | | | This makes it easier to debug the code in future. metze
* talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1]Stefan Metzmacher2010-03-151-1/+1
| | | | | | | | | | | In smbd there's a small gab between TALLOC_FREE(frame); before be call smbd_parent_loop() where we don't have a valid talloc stackframe. smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop. As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct the time header for the debug message we crash on some systems. metze
* s4-smbtorture: cleanup data after enumdata{ex} consistency test.Günther Deschner2010-03-151-0/+8
| | | | Guenther
* s3-spoolss: Fix _spoolss_EnumPrinterData.Günther Deschner2010-03-151-3/+5
| | | | Guenther
* s4-smbtorture: when cross checking enumdata{ex} make sure to have at least ↵Günther Deschner2010-03-151-0/+21
| | | | | | one entry. Guenther
* s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.Günther Deschner2010-03-151-72/+59
| | | | Guenther
* s4:registry - rpc - don't crash when communication partner isn't availableMatthias Dieter Wallnöfer2010-03-151-4/+4
|
* s4:registry - util.c - treat unsupported and binary values as the same in ↵Matthias Dieter Wallnöfer2010-03-151-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.
* s4:registry - util.c - move the "REG_NONE" case in the conversion functions ↵Matthias Dieter Wallnöfer2010-03-151-6/+6
| | | | | | on top of the switch (As in the "reg_value_types" structure)
* s4:registry - local testsuite - add a test for REG_QWORDMatthias Dieter Wallnöfer2010-03-151-1/+15
| | | | | Change also here to fixed-length HEX values output to test for the right representation.
* s4:registry - fix up the output of hexadecimal valuesMatthias Dieter Wallnöfer2010-03-152-14/+6
| | | | Use a fixed-length representation to avoid platform-specific issues.
* s4:registry - add support for REG_QWORD valuesMatthias Dieter Wallnöfer2010-03-152-1/+82
| | | | Basically the same as REG_DWORD but these are eight byte long.
* s4-smbtorture: fix torture_comment in RPC-SPOOLSS.Günther Deschner2010-03-151-1/+1
| | | | Guenther
* s4:tortore/libnet: fix crash bugs because of incorrect function prototypesStefan Metzmacher2010-03-156-26/+43
| | | | metze
* s4:registry - util.c - add harder checks for inputs on "reg_val_data_string"Matthias Dieter Wallnöfer2010-03-141-12/+16
| | | | ("NULL" result is error on most data types).
* Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont ↵Matthias Dieter Wallnöfer2010-03-141-5/+9
| | | | | | | | survive)." This reverts commit 40e2c04f8aba605e951810751222559ea0d32ebd. s4 should support now also the extended "SetValue" tests.
* s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD ↵Matthias Dieter Wallnöfer2010-03-141-12/+47
| | | | | | values We need to support this as gd's WINREG torture test shows.
* s4:registry - ldb.c - provide a mechansim for storing UTF8/binary ↵Matthias Dieter Wallnöfer2010-03-141-7/+39
| | | | | | REG_SZ/REG_EXPAND_SZ values We need to support this as gd's WINREG torture test shows.
* s4:registry - ldb.c - fix up a strange LDB filterMatthias Dieter Wallnöfer2010-03-141-1/+1
|
* s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value"Matthias Dieter Wallnöfer2010-03-141-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.
* s4:registry - ldb.c - check more for possible "Out of memory" circumstancesMatthias Dieter Wallnöfer2010-03-141-4/+10
|
* s4:registry - ldb.c - remove superfluous "query" variableMatthias Dieter Wallnöfer2010-03-141-4/+2
|
* s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value"Matthias Dieter Wallnöfer2010-03-141-17/+59
| | | | Break on errors and return NULL and otherwise the message pointer.
* s4:registry - ldb.c - Move the "val" structureMatthias Dieter Wallnöfer2010-03-141-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.
* s3: Remove some unused #definesVolker Lendecke2010-03-141-8/+0
|
* s3: Use a switch to implement map_nt_error_from_tdbVolker Lendecke2010-03-141-30/+47
| | | | | First, this immediately gave me the warning that TDB_ERR_NESTING was not covered and second, this saved 48 bytes in the .o :-)