summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-spoolss: Use a single structure for all the back channel data.Simo Sorce2010-09-101-14/+18
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Rename Printer_entry to struct printer_handle.Simo Sorce2010-09-101-53/+53
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Move Printer_entry to srv_spoolss_nt.cSimo Sorce2010-09-102-40/+44
| | | | | | | It is used only there, and it is a good idea to make this one private and opaque to the rest of the code. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Allocate printer entries on the pipe struct.Simo Sorce2010-09-101-1/+2
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Rename session counter structure and use talloc.Simo Sorce2010-09-101-8/+7
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-dsgetdcname: cleanup receive_getdc_response a little.Günther Deschner2010-09-101-14/+18
| | | | Guenther
* s3-build: use proper RPC_X_OBJ target names.Günther Deschner2010-09-102-32/+35
| | | | Guenther
* s3-waf: use proper RPC_X_SRC names.Günther Deschner2010-09-101-20/+15
| | | | | | | This allows to build using waf without --enable-developer and should also fix support for rpc server modules. Guenther
* s4/fsmo: Change return type from NTSTATUS to WERROR for drepl_takeFSMOroleAnatoliy Atanasov2010-09-103-4/+5
| | | | | This removed an unnecessary conversion of the return type in drepl_take_FSMO_role.
* s4/fsmo: Fix callback declarationAnatoliy Atanasov2010-09-101-1/+2
|
* s4-drs: return DRSUAPI_EXOP_ERR_SUCCESS in extended_retKamen Mazdrashki2010-09-101-0/+1
| | | | | | | | in case we are handling extended operation. It seems that windows accept both DRSUAPI_EXOP_ERR_SUCCESS and DRSUAPI_EXOP_ERR_NONE, but Samba is a little bit more picky on this.
* s4-drs: Hanlde extended operations only onceKamen Mazdrashki2010-09-101-40/+45
| | | | | | | | | Most of extended operations I know of work like: 1. do extended operation 2. collect a set of objects to return and start replication cycle 3. continue returning object as we have no more to give This way we ensure we are doing 1. only once
* s4-dreplsrv: fix 'dn' for partition object being createdKamen Mazdrashki2010-09-101-1/+9
|
* s4-drs-fsmo: try to dispatch ops in queue as soon as possibleKamen Mazdrashki2010-09-101-1/+9
| | | | | In most cases this will transfer of schema master role to look like a synchronous operation.
* s4/fsmo: Added python tests for schema master transfer opAnatoliy Atanasov2010-09-102-0/+153
|
* s4-fsmo: update FSMO changes for recent IRPC workAndrew Tridgell2010-09-102-7/+13
| | | | | | the IRPC API has changed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4/drs: update repsFrom only when we are not in getncchanges extended opAnatoliy Atanasov2010-09-101-4/+4
|
* s4-ldap: Added support for FSMO role transfer via LDAP by modify on rootDSENadezhda Ivanova2010-09-101-1/+46
| | | | | | | GetNCChanges with the corresponding extended operation is initiated and added to the queue when a modify request is received on becomeSchemaMaster, becomeRidMaster, becomeNamingMaster, becomeInfrastructureMaster and becomePDC attributes in rootDSE.
* s4-rpc: Added handling of fsmo role transfer to GetNCChangesNadezhda Ivanova2010-09-101-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>
* s4-irpc: Added internal rpc call DREPL_TAKEFSMOROLENadezhda Ivanova2010-09-101-1/+10
| | | | | It schedules a getncchanges with extended op 6, to be used when a modify request on becomeROLEMaster atteibute on rootDSE is received.
* s4-drs: Implementation of GetNCChanges extended op 6 - fsmo role transferNadezhda Ivanova2010-09-104-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.
* s4-drs: Refactored drepl_service and send_ridalloc_request so that the ↵Nadezhda Ivanova2010-09-102-27/+48
| | | | structures can be used for other extended ops
* s4/torture: use time_mono for deltas in lock testBjörn Jacke2010-09-101-22/+22
|
* s3-build: only link LIBNDR_XATTR_OBJ where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-waf: only link LIBNDR_XATTR_SRC where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-build: link ndr_notify only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-waf: link ndr_notify only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-build: link ndr_named_pipe_auth only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-waf: link ndr_named_pipe_auth only where needed.Günther Deschner2010-09-101-2/+2
| | | | Guenther
* s3-spoolss: allow a short printername w/o servername.Günther Deschner2010-09-101-6/+1
| | | | | | Verified with RPC-SPOOLSS-PRINTSERVER-enumprinters_old test. Guenther
* Fox missing SMB_MALLOC return checks noticed by "Andreas Moroder ↵Jeremy Allison2010-09-095-3/+34
| | | | | | <andreas.moroder@gmx.net>". Jeremy.
* More paranoia to ensure SD's can't be set on read-only shares.Jeremy Allison2010-09-091-0/+4
| | | | Jeremy.
* s3-selftest: rename printer "print4" to "lp".Günther Deschner2010-09-102-2/+2
| | | | | | This should trigger a false error condition in our code. Guenther
* s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵Günther Deschner2010-09-101-4/+18
| | | | | | RPC-SPOOLSS-PRINTSERVER. Guenther
* s3: Fix messsssagesVolker Lendecke2010-09-091-5/+5
|
* s3: Ensure NULL termination for "workstation" in auth_crapVolker Lendecke2010-09-091-0/+2
|
* s3-nmbd: use NETLOGON_NT_VERSION_1 in LOGON_PRIMARY_RESPONSE.Günther Deschner2010-09-091-1/+1
| | | | Guenther
* s3: These assignments are overwritten immediatelyVolker Lendecke2010-09-091-4/+0
| | | | Dump them
* s3-nmbd: use autogenerated marshalling for LOGON_SAM_LOGON_REQUEST.Günther Deschner2010-09-091-301/+94
| | | | Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_PRIMARY_QUERY.Günther Deschner2010-09-091-109/+33
| | | | | | Couldn't find any reproducer for a short request, so removing it for now. Guenther
* s3-nmbd: use autogenerated marshalling for LOGON_REQUEST.Günther Deschner2010-09-091-47/+29
| | | | Guenther
* s3-nmbd: handle source_name in one location in nmbd_process_logon().Günther Deschner2010-09-091-5/+4
| | | | Guenther
* s3-nmbd: use nbt_netlogon_packet in process_logon_packet().Günther Deschner2010-09-091-5/+24
| | | | Guenther
* libcli/netlogon: add LOGON_REQUEST handling to pull_nbt_netlogon_response().Günther Deschner2010-09-091-0/+1
| | | | Guenther
* libcli/netlogon: add LOGON_RESPONSE2 to pull_nbt_netlogon_response().Günther Deschner2010-09-091-0/+9
| | | | Guenther
* libcli/netlogon: add NETLOGON_RESPONSE2 to push_nbt_netlogon_response().Günther Deschner2010-09-092-1/+12
| | | | Guenther
* s4:client/cifsdd.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer2010-09-091-11/+10
| | | | "static const struct"s need to be global in order to work with Solaris cc.
* s4:torture/rpc/winreg.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer2010-09-091-71/+72
| | | | "static const struct"s need to be global in order to work with Solaris cc.
* s4:libcli/security/*.c - fix some wrong typed countersMatthias Dieter Wallnöfer2010-09-093-10/+7
| | | | According to "librpc/gen_ndr/security.h" they need to be "uint32_t".
* s4-dreplsrv: Do allocations on long-living context so that callback gets calledKamen Mazdrashki2010-09-091-1/+1
|