summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4/pvfs: use monotonic time for this timeoutBjörn Jacke2010-09-102-4/+4
|
* s4/ldap: use time_mono for reconnect timeoutBjörn Jacke2010-09-101-2/+2
|
* s4/torture: use time_mono for timeoutsBjörn Jacke2010-09-101-2/+2
|
* s4/torture: use time_mono for delta timeBjörn Jacke2010-09-101-2/+2
|
* s3-selftest: add print_test_extended (as called from RPC-PRINTER) to ↵Günther Deschner2010-09-101-0/+1
| | | | | | knownfail list. Guenther
* s4:client/client.c - fix wrong return codes in "do_connect"Matthias Dieter Wallnöfer2010-09-101-2/+2
| | | | Detected by the Solaris cc compiler.
* s4:lib/policy/gp_filesys.c - remove dead codeMatthias Dieter Wallnöfer2010-09-101-2/+0
| | | | Found out by Solaris cc
* s4:torture/locktest.c - add a cast in order to quiet a warning on Solaris ccMatthias Dieter Wallnöfer2010-09-101-1/+1
|
* s4:libcli/wrepl/winsrepl.c - add more "char *" casts in order to suppress ↵Matthias Dieter Wallnöfer2010-09-101-1/+1
| | | | Solaris warnings
* s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris ↵Matthias Dieter Wallnöfer2010-09-102-14/+14
| | | | warnings
* s4:torture/ntp/ntp_signd.c - add more "char *" casts in order to suppress ↵Matthias Dieter Wallnöfer2010-09-101-2/+2
| | | | Solaris warnings
* s3-printing: fix non-ads build after prototype changes.Günther Deschner2010-09-101-1/+1
| | | | Guenther
* s3: Simplify generate_krb5_ccache slightlyVolker Lendecke2010-09-101-4/+0
| | | | strequal deals with a NULL string input just fine
* Check all SMB_MALLOC returns correctly. Found by Andreas Moroder ↵Jeremy Allison2010-09-102-3/+18
| | | | | | <andreas.moroder@gmx.net>. Jeremy
* s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the ↵Matthias Dieter Wallnöfer2010-09-101-27/+10
| | | | | | | buildfarm The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than it looks like.
* s4:getncchanges_change_master - also in this call "i" needs to be unsignedMatthias Dieter Wallnöfer2010-09-101-1/+2
|
* s3: auth.krb5ccname and auth.unix_username are both fstringsVolker Lendecke2010-09-101-4/+2
| | | | There's no point in checking for != NULL
* selftest/s3-selftest.sh: knownfailure filtering for non-build-farm make testStefan Metzmacher2010-09-101-2/+1
| | | | metze
* s3:torture: fix printf output, lines can't start with lower case "test"Stefan Metzmacher2010-09-101-31/+30
| | | | metze
* s3:torture: fix run_uid_regression_testStefan Metzmacher2010-09-101-8/+20
| | | | metze
* s3-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher2010-09-101-0/+2
| | | | metze
* s4-errormap: map ERRSRV/ERRbaduid to NT_STATUS_USER_SESSION_DELETEDStefan Metzmacher2010-09-101-0/+1
| | | | metze
* s4:provision: remember the setup directory if it wasn't the defaultStefan Metzmacher2010-09-104-0/+11
| | | | | | This fixes make test without a make install. metze
* s3-spoolss: Fix _spoolss_GetPrinter().Günther Deschner2010-09-101-1/+2
| | | | | | In the error case, we need to TALLOC_FREE(r->out.info), don't ask :-) Guenther
* s3-spoolss: Don't leak memory on the session counter list.Andreas Schneider2010-09-103-1/+21
| | | | Thanks Günther, please check.
* s3-spoolss: Allow multiple client backchannels.Simo Sorce2010-09-101-77/+116
| | | | | | When we run spoolssd we need to support multiple clients connecting. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-spoolss: Split function to send notification.Simo Sorce2010-09-101-127/+162
| | | | | | More digestible this way. Signed-off-by: Andreas Schneider <asn@samba.org>
* 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
|