summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-09-10s4-rpc: Added handling of fsmo role transfer to GetNCChangesNadezhda Ivanova1-0/+108
This adds support for DRSUAPI_EXOP_FSMO_REQ_ROLE, DRSUAPI_EXOP_FSMO_RID_REQ_ROLE and DRSUAPI_EXOP_FSMO_REQ_PDC. Developed in collaboration with Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2010-09-10s4-irpc: Added internal rpc call DREPL_TAKEFSMOROLENadezhda Ivanova1-1/+10
It schedules a getncchanges with extended op 6, to be used when a modify request on becomeROLEMaster atteibute on rootDSE is received.
2010-09-10s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transferNadezhda Ivanova4-2/+170
Basically the candidate owner makes a getncchanges call with extended op 6 when they want to become the new owner. The current owner then updates the corresponding fSMORoleOwner attribute in its database with the new owner, and replicates the change to the candidate, who then becomes the owner. The patch was made in cooperation with Anatoliy Atanasov <anatoliy.atanasov@postpath.com> who kindly helped to debug it.
2010-09-10s4-drs: Refactored drepl_service and send_ridalloc_request so that the ↵Nadezhda Ivanova2-27/+48
structures can be used for other extended ops
2010-09-10s4/torture: use time_mono for deltas in lock testBjörn Jacke1-22/+22
2010-09-10s3-build: only link LIBNDR_XATTR_OBJ where needed.Günther Deschner1-2/+2
Guenther
2010-09-10s3-waf: only link LIBNDR_XATTR_SRC where needed.Günther Deschner1-2/+2
Guenther
2010-09-10s3-build: link ndr_notify only where needed.Günther Deschner1-2/+2
Guenther
2010-09-10s3-waf: link ndr_notify only where needed.Günther Deschner1-2/+2
Guenther
2010-09-10s3-build: link ndr_named_pipe_auth only where needed.Günther Deschner1-2/+2
Guenther
2010-09-10s3-waf: link ndr_named_pipe_auth only where needed.Günther Deschner1-2/+2
Guenther
2010-09-10s3-spoolss: allow a short printername w/o servername.Günther Deschner1-6/+1
Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test. Guenther
2010-09-09Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder ↵Jeremy Allison5-3/+34
<andreas.moroder@gmx.net>". Jeremy.
2010-09-09More paranoia to ensure SD's can't be set on read-only shares.Jeremy Allison1-0/+4
Jeremy.
2010-09-10s3-selftest: rename printer "print4" to "lp".Günther Deschner2-2/+2
This should trigger a false error condition in our code. Guenther
2010-09-10s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵Günther Deschner1-4/+18
RPC-SPOOLSS-PRINTSERVER. Guenther
2010-09-09s3: Fix messsssagesVolker Lendecke1-5/+5
2010-09-09s3: Ensure NULL termination for "workstation" in auth_crapVolker Lendecke1-0/+2
2010-09-09s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.Günther Deschner1-1/+1
Guenther
2010-09-09s3: These assignments are overwritten immediatelyVolker Lendecke1-4/+0
Dump them
2010-09-09s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.Günther Deschner1-301/+94
Guenther
2010-09-09s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.Günther Deschner1-109/+33
Couldn't find any reproducer for a short request, so removing it for now. Guenther
2010-09-09s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.Günther Deschner1-47/+29
Guenther
2010-09-09s3-nmbd: handle source_name in one location in nmbd_process_logon().Günther Deschner1-5/+4
Guenther
2010-09-09s3-nmbd: use nbt_netlogon_packet in process_logon_packet().Günther Deschner1-5/+24
Guenther
2010-09-09libcli/netlogon: add LOGON_REQUEST handling to pull_nbt_netlogon_response().Günther Deschner1-0/+1
Guenther
2010-09-09libcli/netlogon: add LOGON_RESPONSE2 to pull_nbt_netlogon_response().Günther Deschner1-0/+9
Guenther
2010-09-09libcli/netlogon: add NETLOGON_RESPONSE2 to push_nbt_netlogon_response().Günther Deschner2-1/+12
Guenther
2010-09-09s4:client/cifsdd.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer1-11/+10
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09s4:torture/rpc/winreg.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer1-71/+72
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09s4:libcli/security/*.c - fix some wrong typed countersMatthias Dieter Wallnöfer3-10/+7
According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
2010-09-09s4-dreplsrv: Do allocations on long-living context so that callback gets calledKamen Mazdrashki1-1/+1
2010-09-09s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefsKamen Mazdrashki1-4/+28
At first I got the impression we are not handling those cases, but after those tests surprisingly passed I saw that we have correct behavior implemented in a helper function. So I decided to commit those tests in case someone change the strange-looking check for DRSUAPI_DRS_ADD_REF flag in a function that handles delete operation :)
2010-09-09s4-dreplsrv: Call dreplsrv_out_operation::callback in case we fail to even ↵Kamen Mazdrashki1-0/+8
run the operation Operation was scheduled already, so we need to call the callback function for it to be able to do its job. For instance, if we are blocking an rpc call until an operation is completed and there is no memory, then client will be blocked without knowing what is going on with the server.
2010-09-09s4-dsdb/repl/drepl_out_pull.c: Remove unused codeKamen Mazdrashki1-43/+0
2010-09-09s4-drepl_service.c: Update (C)Kamen Mazdrashki1-9/+10
and remove few trailing white spaces
2010-09-09s4-drepsrv: Dump more info when drepl_replica_sync() failsKamen Mazdrashki1-24/+28
There are many spots where this function may fail and I find it very useful to know where exactly function fails and what are the input parameters during testing. REPLICA_SYNC_FAIL() macro now dumps an error message so we may remove extra DEBUG() dump in implementation.
2010-09-09s3-printing: Make missing auth_serversupplied_info const.Andreas Schneider1-3/+3
2010-09-09s3-spoolss: Use systerm server_info for winreg connection.Andreas Schneider1-88/+162
This will ensure that we have the rights we need to access the regsitry.
2010-09-09s3-spoolss: Make auth_serversupplied_info const.Andreas Schneider3-63/+63
2010-09-09s3-printing: Make auth_serversupplied_info const.Andreas Schneider4-30/+30
2010-09-09s3-msdfs: Make auth_serversupplied_info const.Andreas Schneider2-2/+2
2010-09-09s3-rpcint: Make auth_serversupplied_info const.Andreas Schneider2-5/+5
2010-09-09s3-auth: Added get_server_info_system function.Andreas Schneider2-0/+6
2010-09-09s3-spoolss: Fixed some build warnings.Andreas Schneider1-7/+11
2010-09-09s4-rodc: cope with missing searchFlagsAndrew Tridgell1-3/+4
this can be missing after the schema tests
2010-09-09s4-dsdb Change debug levels for startup messagesAndrew Bartlett2-10/+10
We should make the 'common' error not show up, but the unusal case fatal. Andrew Bartlett
2010-09-09s4-setup Make krb5.conf use DNS by defaultAndrew Bartlett1-2/+2
We set up our DNS pretty well these days, and I think the previous setting was only there because Andrew Kroeger copied this out of our selftest code in bf3f3af92677bce8f03b0dd2be552d6c8c730ca1. Andrew Bartlett
2010-09-09s4-test: added a RODC test using rpcechoAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-09s4-test: added a RODC to our testingAndrew Tridgell1-0/+90
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>