summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-13s3-dcerpc: Use dcerpc_set_frag_length()Simo Sorce3-18/+14
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: link against ../librpc/rpc/dcerpc_util.cGünther Deschner2-0/+7
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s4-dcerpc: move some util functions up to main librpc directory.Günther Deschner3-31/+54
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused prototypeSimo Sorce1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Fix ntlmssp sign/seal.Simo Sorce1-15/+29
Header calculation was misplaced. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Fix auth_length in auth3 responseSimo Sorce1-3/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-12s3-dcerpc: Fix miscalculation of buffer start addressSimo Sorce1-1/+3
This was breaking schannel
2010-07-11tsocket: Fix some unreachable codeVolker Lendecke1-2/+1
2010-07-11s3: [ug]id_to_unix_... can not failVolker Lendecke4-20/+19
Remove some silly failure checks
2010-07-10README.Coding: fix typosStefan Metzmacher1-5/+6
Thanks to Michael Wood <esiotrot@gmail.com> for the review. metze
2010-07-10README.Coding: add examples for good and bad commentsStefan Metzmacher1-1/+72
metze
2010-07-10s4:provision: remove --policy-guid and --policy-guid-dc cmdline optionsStefan Metzmacher1-5/+0
metze
2010-07-10s4:provision: also use fixed GUID names of the default group policies for ↵Stefan Metzmacher1-2/+3
domain and domain controllers in tests metze
2010-07-10s4 provision: use correct GUID for default policiesMatthieu Patou1-2/+7
The value of GUID for policy is not random for default policies, it is described here ("How Core Group Policy Works"): http://technet.microsoft.com/en-us/library/cc784268%28WS.10%29.aspx at paragraph System\Policies Container. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-10s4 unittests: remove the provision directory before (re)generatingMatthieu Patou3-0/+3
2010-07-10s4 net: Add spn module to list/add/remove spn on objectsMatthieu Patou4-0/+253
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-07-10testprogs/blackbox/subunit.sh: initialize failed to 0Stefan Metzmacher1-0/+3
This is a short-term workarround for broken scripts, which use "exit $failed", without initializing failed. We need a discussion on the mailing list how to handle this in a nicer way. This should fix some random failures in the blackbox tests. metze
2010-07-10s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole bufferStefan Metzmacher1-0/+1
We should not send uninitialized bytes to the winbind pipe, this makes also makes valgrind very unhappy. metze
2010-07-10s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher1-1/+2
metze
2010-07-10s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIESStefan Metzmacher1-1/+2
metze
2010-07-10s4:libnet_GroupList: allocate children strings on the correct talloc parentStefan Metzmacher1-2/+2
Otherwise the _recv() function won't move the children strings to the callers memory context and let the callers crash. metze
2010-07-10s4:libnet_UserList: allocate children strings on the correct talloc parentStefan Metzmacher1-2/+2
Otherwise the _recv() function won't move the children strings to the callers memory context and let the callers crash. metze
2010-07-10s4:buildtools: add 'make show_waf_options'Stefan Metzmacher1-0/+3
metze
2010-07-10s4:buildtools: make it possible to use advanced test options via the make ↵Stefan Metzmacher1-3/+3
waf wrapper You can to do thinks like this now: make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo metze
2010-07-09s3: Cleanup of the initial SMB2 counters patch.Ira Cooper2-99/+191
This reorganizes smbd_smb2_request_dispatch to have a central exit point, and use the normal profiling macros. Signed-off-by: Jeremy Allison <jra@samba.org>
2010-07-09s4:drepl_notify: hide some bugs from the make test outputStefan Metzmacher1-1/+12
It's useless to get messages like this every few seconds: dreplsrv_notify: Failed to send DsReplicaSync to edbf4745-2966-49a7-8653-99200f1c9430._msdcs.samba2003.example.com for CN=Configuration,DC=samba2003,DC=example,DC=com - NT_STATUS_OBJECT_NAME_NOT_FOUND : WERR_BADFILE We have a non bug regarding non-linked DN attributes and changes of the target DN. metze
2010-07-09s4:drsuapi: don't return all linked attributes at the same timeStefan Metzmacher1-8/+51
Windows gives them in chunks, but I don't know the correct rule to calculate the chunk size. For now I'll use 1500 as the max size. Windows isn't happy when it gets ~ 100000 linked attributes in one response. It corrupts its directory index and later moves some objects to the LostAndFound folder. metze
2010-07-09s3-build: Add a gdbtestenv environment for Samba3.Andreas Schneider1-0/+6
This will open 3 xterms; smbd with gdb, winbind with gdb and a window to run client commands. Example: make gdbtestenv SMBD_OPTIONS="-d2"
2010-07-09s4:selftest: run RPC-SAMR-LARGE-DC against the vampire_dc to test the rid ↵Stefan Metzmacher1-0/+5
alloc code metze
2010-07-09selftest/Samba4: set dreplsrv:periodic_startup_interval = 0Stefan Metzmacher1-0/+1
metze
2010-07-09s4:dsdb/repl: expose drsuapi_DsExtendedError to the caller (e.g. the ↵Stefan Metzmacher4-6/+13
ridalloc client) metze
2010-07-09s4:drepl_out_helpers: don't return NT_STATUS_OK, if an extended operation ↵Stefan Metzmacher1-1/+14
doesn't return success metze
2010-07-09s4:drepl_ridalloc: only ask the rid master for a new rid pool if we need to.Stefan Metzmacher1-9/+38
if we are at least half-exhausted then ask for a new pool. This fixes a bug where we're sending unintialized alloc_pool variable as exop->fsmo_info to the rid master and get back DRSUAPI_EXOP_ERR_PARAM_ERROR. metze
2010-07-09s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ↵Stefan Metzmacher1-74/+56
ridalloc_allocate_rid_pool_fsmo() metze
2010-07-09s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ↵Stefan Metzmacher1-80/+102
ridalloc_allocate_rid() metze
2010-07-09s4:dsdb:ridalloc: use ridalloc_ridset_values infrastructure in ↵Stefan Metzmacher1-19/+14
ridalloc_create_rid_set_ntds() metze
2010-07-09s4:dsdb:ridalloc: add ridalloc_ridset_values infrastructureStefan Metzmacher1-0/+83
metze
2010-07-09s4:dsdb:ridalloc: use dsdb_module_constrainted_update_uint64() to update ↵Stefan Metzmacher1-2/+2
rIDAvailablePool metze
2010-07-09s4:dsdb:ridalloc.c: fix C++ warningStefan Metzmacher1-1/+2
metze
2010-07-09s4:dsdb: add dsdb_module_constrainted_update_uint32/64() wrapper functionsStefan Metzmacher1-0/+22
metze
2010-07-09s4:dsdb: add dsdb_msg_constrainted_update_uint32/64() wrapper functionsStefan Metzmacher1-0/+22
metze
2010-07-09s4:dsdb: add dsdb_module_constrainted_update_int32/64() functionsStefan Metzmacher1-0/+58
metze
2010-07-09s4:dsdb: add dsdb_msg_constrainted_update_int32/64() functionsStefan Metzmacher1-0/+96
metze
2010-07-09ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DNMatthias Dieter Wallnöfer1-6/+0
Since the parent DN is a duplication of the passed DN parameter.
2010-07-09s3: Optimize the write cache for sequential writesVolker Lendecke1-0/+20
In case of the one-byte allocating writes we don't work work optimally because we start the write cache at the current offset. This patch tries to avoid this case.
2010-07-09s4: fix warning: unused variable ‘i’Kamen Mazdrashki1-1/+0
2010-07-08s3-dcerpc: Use dcerpc_pull_dcerpc_auth in api_pipe_bind_auth3()Simo Sorce1-19/+13
2010-07-08s3-dcerpc: Use dcerpc_auth in api_pipe_bind_req()Simo Sorce1-82/+85
2010-07-08s3-dcerpc: make dcerpc_pull_dcerpc_auth() publicSimo Sorce2-3/+6
2010-07-08s3-dcerpc: make dceprc_push_dcerpc_auth publicSimo Sorce2-7/+15